/* Navbar */
.navbar {
    min-height: 80px;
    height: 80px;
    background: var(--secondary);
}

.navbar a {
    color: var(--text-white);
}

.navbar img {
    max-width: 40vw;
    max-height: 50px;
}

.navbar-dropdown-menu {
    background-color: var(--secondary);
}

.dropdown-language {
    color: white !important;
}

.dropdown-language:hover {
    background-color: var(--primary) !important;
}

@media (max-width: 768px) {
    .navbar-collapse.collapse.show {
        position: absolute;
        z-index: 1001;
        background-color: var(--secondary);
        padding: 1rem;
    }
}

/* Front page */
.our-team {
    background-color: var(--primary);
}

.grid-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.grid-cell img {
    max-height: 80%;
}

.grid-cell h2 {
    font-weight: 800;
    color: var(--primary);
}

.grid-cell p {
    font-weight: 600;
    font-size: 25px;
    color: var(--secondary);
}

.front-page-title {
    position: relative;
    z-index: 1000;
    /* Manteniamo il z-index del titolo inferiore a quello della navbar-collapse */
    padding-bottom: 50px;
}

.front-page-title h1 {
    font-weight: 800;
}

.front-page-description p {
    font-weight: 500;
}

.front-page-image {
    max-width: 100%;
}

.front-page-image img {
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--text-white);
    min-height: 200px;
}

.footer-row {
    padding-top: 40px;
}

@media (max-width:768px) {
    .footer-removal {
        display: none;
    }

    .footer-removal ul {
        display: none;
    }
}

.footer-logo img {
    padding-top: 20px;
    max-width: 100%;
    object-fit: contain;
}

.footer-text {
    max-height: 30px;
}

@media (max-width: 768px) {
    .footer-text {
        padding-top: 30px;
    }
}

.footer-text img {
    max-height: 20px;
    object-fit: contain;
}

.footer li {
    padding: 2px;
    list-style-type: none;
}

.footer-credits {
    padding-top: 50px;
    padding-bottom: 10px;
}

/* Adjustments */
@media (min-width:0px) {
    .grid-cell h2 {
        font-size: 40px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 70px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 18px;
    }
}

@media (min-width:576px) {
    .grid-cell h2 {
        font-size: 40px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 70px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 20px;
    }
}

@media (min-width:768px) {
    .grid-cell h2 {
        font-size: 40px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 60px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 17px;
    }
}

@media (min-width:992px) {
    .grid-cell h2 {
        font-size: 55px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 64px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 19px;
    }
}

@media (min-width:1200px) {
    .grid-cell h2 {
        font-size: 60px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 66px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 20px;
    }
}

@media (min-width:1400px) {
    .grid-cell h2 {
        font-size: 70px;
    }

    .front-page-title h1 {
        font-weight: 800;
        font-size: 70px;
    }

    .front-page-description p {
        font-weight: 500;
        font-size: 23px;
    }
}