@import "variables.css";

body {
    color: var(--custom-blue-color);
    background-color: var(--Bg-grey-4);
    padding: 0;
    margin: 0;
}


main {
    background-color: var(--Bg-grey-4);
    min-height: 100vh;
    padding: 60px 0 0 0;
    box-sizing: border-box;
}

span, p {
    font-family: 'Manrope', sans-serif;
}


h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.shadow {
    box-shadow: 0px 0px 20px rgba(83, 88, 93, 0.15);
}



/* ----------- HEADER ----------- */

header {
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: var(--custom-blue-color);
    z-index: 1000;
}

header nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-container {
    width: 176px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo-container a {
    width: 96px;
    height: 32px;
    border-radius: var(--Popupcorner);
    box-shadow: 0px 0px 8px 0px #60ADE480;
}

header .logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .title {
    font-family: 'Bahnschrift', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    text-align: left;
    text-decoration-skip-ink: none;
    color: #fff;
    background-color: var(--custom-dark-blue-color);
    padding: 4px 8px;
    border-radius: var(--Inputcorner);
}

header .buttons {
    display: flex;
    height: 100%;
    color: #fff;
}

header .buttons > div {
    border-left: 1px solid #D4D4D433;
    display: flex;
    padding: 0 24px;
    align-items: center;
    font-family: 'Manrope';
}

header .button-with-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
}

header .button-with-arrow img {
    transition: transform 0.3s ease;
}

header .active .button-with-arrow img {
    transform: rotate(180deg);
}

header .dropdown {
    position: relative;
}

header .dropdown-toggle {
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

header .dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;

    padding: 8px;
    margin: 0;
    gap: 4px;
    background-color: #fff;
    box-shadow: 0px 10px 15px 0px #0000001A;
    z-index: 1000;
    list-style: none;
    border-radius: var(--Popupcorner);
}

header .dropdown.active .dropdown-menu {
    display: flex;
}

header .dropdown-item {
    font-family: 'Manrope';
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-black);
    display: block;
    border-radius: var(--Buttoncorner);
    cursor: pointer;
}

header .dropdown-item:hover,
header .dropdown-item.active {
    background-color: var(--custom-lite-blue-color);
    color: var(--custom-blue-color);
}

header .profile .dropdown-toggle {
    text-transform: none;
}

header .profile .dropdown-menu {
    right: 0;
    left: auto;
    top: 42px;
}

/* -------------------------------- */

/* ----------- FOOTER ----------- */

footer {
    background-color: var(--custom-blue-color);
    min-height: 10vw;
    height: auto;
    padding: 2% 3% 0 3%;
    color: #fff;
    display: grid;
    grid-template-rows: 0.75fr 1.5fr;
    gap: 20px;
}

footer .footer-logo-container {
    display: flex;
    align-items: center;
}

footer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--Popupcorner);
    box-shadow: 0px 0px 8px 0px #60ADE480;
}

footer .footer-info-container h3 {
    border-bottom: 1px solid #fff;
}

footer .footer-text-list {
    padding: 0;
    margin: 0;
    list-style: none;
    height: min-content;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-gap: 10px;
}

footer .footer-text-list span{
    margin-right: 20px;
}
footer .footer-links-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
    margin: 10px 0;
}

footer .footer-links-list li {
    margin-right: 20px;
}

footer .footer-links-list li:last-of-type {
    margin-right: 0;
}


footer .footer-links-list a {
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    font-size: 0.875rem;
    opacity: 0.8;
}

footer .footer-links-list a:hover{
    color: #ea110c;
}

footer .footer-text-list p {
    margin-top: 0;
}

.footer-line {
    opacity: 0.2;
    height: 1px;
    background: #fff;
}

@media (max-width: 1000px) and (min-width: 451px) {
    .footer-logo-container img {
        height: 40px;
    }
    footer .footer-text-list span {
        margin-right: 10px;
    }
}

@media (max-width: 550px) {
    footer .footer-text-list span{
        font-size: 14px;
    }
    footer .footer-text-list span {
        margin-right: 6px;
    }
}

@media (max-width: 450px) {
    header .logo-container {
        width: 120px;
    }
    header .buttons > div  {
        padding: 0 8px;
    }
    footer .footer-info-container ul{
        grid-gap: 5px;
        overflow-wrap: break-word;
    }
    footer .footer-text-list span{
        font-size: 10px;
    }
    .footer-logo-container img {
        height: 30px;
    }
    footer {
        grid-template-rows: 0.74fr 1.5fr;
        gap: 5px;
    }
}