html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body > div {
    flex: 1;
}

.base-back {
    background: #f8f8f8;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}


.top-left-logo {
    max-height: 175px;
    margin-top: 10%;
}

@media (max-width: 768px) {
    .top-left-logo {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .top-left-logo {
        max-height: 150px;
    }
}

.container {
    margin-top: 2%;
    margin-bottom: 1.5%;
}

.mac-img {
    width: 100%; /* Set the initial width to 100% */
    height: auto; /* Make the height adjust proportionally */
    object-fit: cover; /* Added object-fit property */

}

/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
    .mac-img {
        width: 100%; /* Set the width to 100% for smaller screens */
        height: auto; /* Make the height adjust proportionally */
    }
}


.navbar {
    margin-top: -5%;
}

.navbar-nav {
    background-color: #fff;
    border-radius: 6px;
    padding: 0 10px;
    margin-bottom: 0;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2), 0px 6px 20px 0px rgba(0, 0, 0, 0.19);

}

.navbar-nav li {
    border-right: 1px solid rgba(26, 30, 33, 0.5);
}

.navbar-nav li:last-child {
    border-right: none;
}


/*--------- Translator Start ---------*/

.flag {
    width: 40px;
    border-radius: 50%;
}

.navdrop {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: relative;
    margin-right: 1.5%;
}

.dropdown-item {
    margin-left: 5%;
    display: none;
}


.dropdown-item.active {
    display: block;
}

.navdrop:hover .dropdown-item {
    display: block;
}

/* Small screens (S3) - dropdown direction changes */
@media (max-width: 576px) {
    .navdrop {
        display: flex;
        flex-direction: column;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        align-items: flex-end;
        z-index: 9999;
        background-color: transparent;
        border-radius: 10px;
        padding: 8px;
    }
    
    .navdrop:hover .dropdown-item {
        display: block;
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .dropdown.navdrop {
        margin-left: 5%;
        margin-bottom: 2%;
    }

    .navdrop:hover .dropdown-item {
        margin-right: -2%;
    }
}


/*--------- Translator End ---------*/
.maindrop {

    margin-right: 1.5%;
}


@media (max-width: 768px) {
    .maindrop {
        margin-left: auto;
        margin-right: 8%;
        margin-top: 3%;
    }
}


/*--------- Footer Start ---------*/
@media (max-width: 768px) {
    #main-footer {
        padding-bottom: 5%;
    }
}

.bottom-router {
    margin-bottom: 3%;
}


#footer-links {
    display: none;
}

.footer-links a {
    text-decoration: none;
    color: white;
}

.footer-links a:hover {
    color: yellow;
}


.footer-link {
    margin: 2%;
}


.black-background {
    background-color: #383838;
    color: white;
    padding-top: 2%;
}

.white-arrow {
    color: white;
}

.footer-fluid-logo {
    max-width: 75%;
    height: auto;
}

.content {
    padding: 10px;
}

.content a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.content a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}

.content a:hover::after {
    width: 100%;
    transition: width 0.5s ease-in-out;
}

.divider {
    height: 10px;
    border-left: 0.5px solid #ffffff;
    margin: 0 5px;
}

.social-icons a {
    margin-right: 10px; /* Adjust the gap as needed */
    color: white; /* Set the color to white */
    display: inline-block; /* Ensure the icons are inline */
    text-decoration: none; /* Remove underline */
}

.social-icons a:last-child {
    margin-right: 0; /* Remove the margin from the last item */
}

.social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.social-icons svg {
    vertical-align: middle;
    height: 1em;
    width: 1em;
}

.no-right-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/*--------- Footer End ---------*/


/*Cookie Modal*/
.cookies-card {
    position: fixed !important;
    bottom: 60px !important;
    left: 20px !important;
    width: 400px;
    max-width: 90%;
    z-index: 9999 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .mobile-cookies-card {
        position: fixed !important;
        bottom: 5px !important;
        left: 5% !important;
        width: 90%;
        margin: 0;
        border-radius: 6px;
        z-index: 9999 !important;
    }
}

.card-footer {
    background-color: #f7f7f7 !important;
    color: #ffffff !important;
}

/*--------- Cookie Modal End ---------*/
.badge-new {
    position: absolute;
    top: -12px;
    right: -15px;
    background: #fb2871;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Utility class for language-sensitive content hiding */
.hidden-important {
    display: none !important;
}
