/*
Atermon blue --> #055d75;
Atermon green --> #a4b13b;
*/
html, body {
    height: 100%;
    margin: 0;
}

/* Base Styles for Atermon Branding */
header {
    & #atermon_logo {
        margin-left: 10%;
    }
    & ul {
        margin-left: 50%;
    }

    & ul .dropdown-menu {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        margin-left: 2%;
        padding: 0%;
    }

    & ul .dropdown-menu li:active {
        background-color: #055d75; /* Atermon blue */
        color: white;
        border-radius: 5px;
    }

    & ul .dropdown-menu button {
        text-align: start;
        width: 100%;
    }

    & ul .dropdown-menu hr {
        padding: 0%;
        margin: 0%;
    }

    & #dropdown {
        background-color: transparent;
    }

    & li button:active {
        border: transparent;
    }

    & button {
        background-color: transparent;
        border: none;
        padding: 2%;
    }

    & button:active {
        border: transparent;
    }

    & #languageSelection{
        padding-top:1%;
        background-color:light-gray;
        text-align:center;
        width: 100%;
        & #lang {
            width: 150px;
            border-radius: 5px;
            text-align:start;
        }
    }

}
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto; /* Makes the main content expand to take available space */
}
footer{
    flex-shrink: 0;
    padding:2%;
    background-color:#055d75;
    & .nav .nav-item .nav-link {
        text-decoration: none;
        color: white;
    }
    & #span{
        color:white;
    }
    & a{
        color:white;
    }
    .col-4, .col-6 {
        text-align:center;
        margin-top:2px;
        justify-content: center;
        width:100%;
    }
}


/* Mobile First: Adjust styles for small screens */
@media (max-width: 991.4px) {
    header{
        & #atermon_logo {
            display: flex;
            justify-content: center;
            margin-left: 0; /* Reset margin for centering */
            margin-right: 0; /* Ensure no margin on the right */
            margin-top:2%;
            margin-bottom:2%;
            text-align: center; /* Center the logo */
            width: 100%; /* Ensure the logo container takes full width */
            }
        & #atermon_logo img {
            margin: 0 auto; /* Center the logo image */
            width: 150px; /* Adjust size for small screens */
            height: auto; /* Keep aspect ratio */
        }
        & ul {
            margin-left: 0;
            text-align: center;
            margin-top: 10px;
        }

        & ul .dropdown-menu {
            margin-left: 0;
            width: 100%;
        }

        & ul .dropdown-menu li {
            text-align: center;
        }

        & ul .dropdown-menu button {
            text-align: center;
        }

        & #navbarNav {
            padding-left: 0;
        }

        & #dropdown {
            width: 100%;
            text-align: center;
        }

        & li button {
            width: 100%;
        }

        /* Improve button styles for small screens */
        & button {
            padding: 5px;
            width: 100%;
        }
        & #horBar{
            display: none;
        }
    }
    footer{
        .nav .nav-item {
            text-align:center;
            width:100%;
        }
    }
}
/* For Larger Screens (Desktops and up) */
@media (min-width: 991.6px) and (max-width: 1391px) {
    header{
        & ul {
           margin-left: 25%;
           text-align: center;
        }
        & ul .dropdown-menu {
           margin-left: 0;
           width: 100%;
        }
        & ul .dropdown-menu li {
           text-align: center;
        }

        & ul .dropdown-menu button {
            text-align: center;
        }
        & #dropdown {
            width: 100%;
            text-align: center;
        }
    }
}
@media (min-width: 1392px){
    header{
        & #atermon_logo {
            margin-left: 10%;
        }

        & ul {
            margin-left: 50%;
        }

        & ul .dropdown-menu {
            margin-left: 2%;
        }

        & #navbarNav {
            padding-left: 0;
        }

        & li button {
            width: 100%;
        }

        & button {
            width: auto;
        }
    }
}
