@font-face {
    font-family: 'UEFA Euro Medium Narrow';
    src: url('fonts/UEFAEuro-MediumNarrow.eot');
    src: url('fonts/UEFAEuro-MediumNarrow.eot?#iefix') format('embedded-opentype'),
        url('fonts/UEFAEuro-MediumNarrow.woff2') format('woff2'),
        url('fonts/UEFAEuro-MediumNarrow.woff') format('woff'),
        url('fonts/UEFAEuro-MediumNarrow.ttf') format('truetype'),
        url('fonts/UEFAEuro-MediumNarrow.svg#UEFAEuro-MediumNarrow') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UEFA Euro Book';
    src: url('fonts/UEFAEuro-Book.eot');
    src: url('fonts/UEFAEuro-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/UEFAEuro-Book.woff2') format('woff2'),
        url('fonts/UEFAEuro-Book.woff') format('woff'),
        url('fonts/UEFAEuro-Book.ttf') format('truetype'),
        url('fonts/UEFAEuro-Book.svg#UEFAEuro-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UEFA Euro Heavy Extended';
    src: url('fonts/UEFAEuro-HeavyExtended.eot');
    src: url('fonts/UEFAEuro-HeavyExtended.eot?#iefix') format('embedded-opentype'),
        url('fonts/UEFAEuro-HeavyExtended.woff2') format('woff2'),
        url('fonts/UEFAEuro-HeavyExtended.woff') format('woff'),
        url('fonts/UEFAEuro-HeavyExtended.ttf') format('truetype'),
        url('fonts/UEFAEuro-HeavyExtended.svg#UEFAEuro-HeavyExtended') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UEFA Euro';
    src: url('fonts/UEFAEuro-Bold.eot');
    src: url('fonts/UEFAEuro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/UEFAEuro-Bold.woff2') format('woff2'),
        url('fonts/UEFAEuro-Bold.woff') format('woff'),
        url('fonts/UEFAEuro-Bold.ttf') format('truetype'),
        url('fonts/UEFAEuro-Bold.svg#UEFAEuro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body, html {
  height: 100%;
}

body {
    font-family: 'UEFA Euro Book', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    background-color: #005AAA; /* Set background color */
    color: #F1EF9A;
}

@media (max-width: 768px) {
    html {
        font-size: 14px; 
    }
}

@media (min-width: 769px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    html {
        font-size: 18px;
    }
}

h4, h5 {
    font-family: 'UEFA Euro', sans-serif;
}

.navbar-nav .nav-item a {
    color: #F1EF9A;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    font-family: 'UEFA Euro Medium Narrow', sans-serif;
}

.navbar-nav a:hover, .navbar-nav a:active, .navbar-nav a:visited, .navbar-nav a:link  {
    color: #F1EF9A; /* text on hover */
}

.navbar-nav .nav-item a:not(.navbar-brand):before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F1EF9A;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item.nav-item-hr a:before {
    content: none;
}

.navbar-nav .nav-item a:not(.navbar-brand):hover:before {
    visibility: visible;
    width: 100%;
}

.navbar-nav .nav-item.dropdown .dropdown-item:hover {
    background-color: transparent; /* Or set to your desired color */
}

.soccer-icon {
    display: inline-block;
    width: 60px; /* Adjust size as needed */
    height: 60px; /* Adjust size as needed */
    background-image: url('../img/soccer-ball-1.svg'); /* Path to your outline heart icon */
    background-size: cover;
    transition: background-image 0.3s ease-in-out;
    
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

#axenagradna {
    max-width: 100%;
    text-align: center; /* This will center the child img element */
    overflow: hidden;
}

@media (min-width: 768px) { /* Bootstrap's medium breakpoint */
    #axenagradna {
        margin-top: -22em;
    }
}


@media (max-width: 767px) { /* Targets devices smaller than 768px, which is typical for mobile */
    #axenagradna img {
        transform: scale(1.5); /* Scales the image */
        transform-origin: center center; /* Ensures the scaling happens from the center */
        margin-bottom: 3em;
    }
}

h1 {
    font-family: 'UEFA Euro Heavy Extended', sans-serif;
    font-size: 3rem;
    position: relative;
    text-align: center; /* center the text */
    color: transparent; /* make the text color transparent */
    background: linear-gradient(to bottom, #F1EF9A, #FBB04C); /* gradient background */
    -webkit-background-clip: text; /* Clip the background to the text (WebKit browsers) */
    background-clip: text; /* Standard syntax */
    display: inline-block; /* Required for background-clip to work */
    margin: 0 auto; /* Center the h1 if needed */
}

h1 img.img-fluid {
    max-width: 10em; /* Adjust this value based on your design */
    height: auto; /* Maintain aspect ratio */
    padding-bottom: 0.3em;
}

h2 {
    color: #005AAA;
    font-family: 'UEFA Euro', sans-serif;
    letter-spacing: 10px; /* Adds 2 pixels of spacing between characters */

}

.highlight {
    color: transparent; /* make the text color transparent */
    background: linear-gradient(to bottom, #F1EF9A, #FBB04C); /* gradient background */
    -webkit-background-clip: text; /* Clip the background to the text (WebKit browsers) */
    background-clip: text; /* Standard syntax */
    display: inline-block; /* Required for background-clip to work */
}

.highlight2 {
    font-family: 'UEFA Euro Book', sans-serif;
    color: #FFF;
    letter-spacing: 16px; /* Adds 2 pixels of spacing between characters */
}

.supersize {
    font-size: 6rem; /* Default size for larger screens */
    line-height: 5rem; /* Default line height for larger screens */
}

.supersize2 {
    font-family: 'UEFA Euro Heavy Extended', sans-serif;
    font-size: 2rem;
    line-height: 2rem;
}

/* Responsive adjustments for smaller screens (e.g., mobile devices) */
@media (max-width: 576px) { /* Adjusts for devices with width less than 768px */
    .supersize {
        font-size: 4rem; /* Smaller font size on mobile devices */
        line-height: 3rem; /* Adjust line height accordingly */
    }
}

.subtitle {
    font-size: 1.5rem;
}

.contained {
    max-width: 60vw;
}

.official {
    background: linear-gradient(to right, #FBB04C, #F1EF9A); /* Left to right gradient */
}

.fans {
    position: relative;
    background-image: url('../img/fans-si.jpg');
    background-size: cover; /* or contain based on your need */
    padding-top: 50%; /* This depends on the aspect ratio of your image */
}

#prijava {
    font-size: 1rem;
    margin: 0 auto;
}

footer {
    color: #172a52;
    background: linear-gradient(to right, #FBB04C, #F1EF9A); /* Left to right gradient */
    border: none;
}

/* Style the links in the footer specifically */
footer .nav-link {
    color: #005AAA !important; /* Ensure footer links are white */
    text-decoration: none; /* Remove default underline */
    position: relative; /* Enable absolute positioning for ::after pseudo-element */
}

/* Add the underline effect specifically for footer links */
footer .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #005AAA; /* Set underline color */
    transition: all 0.3s ease-in-out; /* Animate the width */
}

/* Show the underline when the footer link is hovered over */
footer .nav-link:hover::after {
    width: 100%; /* Extend underline across the link */
}

/* Show the underline when the footer link is hovered over */
footer .nav-link:hover {
    color: #005AAA !important; /* Ensure footer links are white */
}

/* Style the links */
.nav-link {
    color: #F1EF9A !important;
    text-decoration: none; /* Remove the default underline */
    position: relative; /* Enable absolute positioning for child elements */
}

/* Add the underline effect */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FBB04C;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Show the underline when the link is hovered over */
.nav-link:hover::after {
    visibility: visible;
    width: 100%;
}

/* Set the hover color */
.nav-link:hover, .nav-link:active, .nav-link:visited, .nav-link:link  {
    color: #FBB04C;
}

a {
    color: #FBB04C;
    text-decoration: underline;
}

a:hover {
    color: #FBB04C !important;
    text-decoration: underline;
}

label {
    color: black;
}

.form-control {
	border: 1px solid #F1EF9A;
}

.form-control:focus { 
	box-shadow: none;
	border: 1px solid #FBB04C;
}

input:focus {
  border-color: #FBB04C !important;
}

.help-block.with-errors {
    color: #FBB04C;
    margin-top: 5px;
}

.custom-control-label::before {
    background: #FFFFFF;
    border: 1px solid #3659a7;
}

.btn {
  border-radius: 50px;
  color: #005AAA;
  font-family: 'UEFA Euro Medium Narrow', sans-serif;
  font-weight: bold;
  height: 3em;
  background: #F1EF9A;
  border: none;
  box-shadow: none;
}

.btn:hover {
  background: #FBB04C;
}

.btn:focus,
.btn:active,
.btn:disabled,
.btn:visited {
  outline: none;
}

.btn-send {
    text-align: center; /* Center text horizontally */
    text-decoration: none !important; /* Remove underline */
    color: #005AAA; /* Text color */
    background-color: #F1EF9A; /* Background color */
    border-color: #F1EF9A; /* Border color */
    padding: 0.8rem 1rem; /* Top and Bottom, Left and Right padding */
    line-height: 1.5; /* Adjust line height for vertical centering */
    display: inline-block; /* Use inline-block for proper alignment */
    vertical-align: middle; /* Align inline elements vertically */
}

.btn-send:hover, .btn-send:focus {
    color: #005AAA !important; /* Text color on hover/focus */
    background-color: #FBB04C; /* Slightly darker background on hover for effect */
    text-decoration: none !important; /* No underline on hover */
}

.proizvodi {
  background: #f6e9b5;
  font-family: 'UEFA Euro Medium Narrow', sans-serif;
  font-weight: normal; 
}

/* On smaller screens */
.product-border {
    border-bottom: 1px solid white;
    border-right: 1px solid transparent; /* Transparent border */
    margin: 20px 0 20px 0;
}

/* On larger screens */
@media (min-width: 768px) {
    .product-border {
        border-right: 1px solid white;
        border-bottom: 1px solid transparent; /* Transparent border */
        margin: 0 0 0 0;
    }
}

.nagradna, .dobitnici, .pravila {
    text-align: center;
}

.pravila h3 {
    color: #f6d200;
}

.btn {
    text-transform: uppercase;
}

.controls, .messages {
    font-family: 'UEFA Euro Medium Narrow';
    font-weight: normal;
    font-style: normal;
    text-transform: none;
    text-shadow: none;
}

label, .text-muted {
    color: #F1EF9A !important;
}

/* Slidenav 4.1.0-alpha.2 ( https://github.com/tightcode/slidenav ) */
.dropdown-menu.collapsing {
  display: block;
}
@media (max-width: 767.98px) {
  .dropdown-menu {
    padding: 0;
    margin-top: 0!important;
    border: 0!important;
  }
  .dropdown-menu:before {
    content: "";
    display: block;
    padding-top: .5rem;
  }
  .dropdown-menu:after {
    content: "";
    display: block;
    padding-bottom: .5rem;
  }
}
@media (min-width: 768px) {
  .dropdown>div {
    position: absolute;
    clip: rect(0.5rem, 9999px, 9999px, -9999px);
  }
  .dropdown-menu {
    height: auto!important;
    transition: transform .35s ease!important;
  }
  .dropdown-menu.collapse, .dropdown-menu.sliding {
    transform: translate(0, -100%);
  }
  .dropdown-menu.collapse:not(.show) {
    display: block;
  }
  .dropdown-menu.collapse.show {
    transform: translate(0, 0);
  }
}

.dropdown-menu a {
  color: #F1EF9A !important;
}

.dropdown-menu a:hover {
  text-decoration: underline !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #FBB04C;
}

.oversized-image {
    width: 120%; /* You can adjust this value based on how oversized you want the image to be */
    margin-left: -10%; /* This is half the added width to center the image. In this case, it's half of 10% which is 5% */
}

/* First, remove the underline effect on hover for the dropdown-toggle class */
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:hover::after {
    visibility: hidden;
    width: 0;
}

/* Specifically target the HR item */
.navbar-nav .nav-item.nav-item-hr .nav-link.dropdown-toggle:hover::after {
    visibility: hidden !important;
    width: 0;
}

.dropdown-menu {
    background: transparent;
    border: none;
}