@import url('https://fonts.googleapis.com/css2?family=Oregano:ital@0;1&display=swap');

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #F5F5F5;
    padding: 0;
    margin: -0.5px 0 0 0;
}

a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.navbar {
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 90px;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
    z-index: 100;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar.finished {
    background-color: rgba(255, 255, 255, 1);
}

.navbar-logo {
    margin-top: 7px;
    height: 55px;
    width: 138px;
    color: white;
    cursor: pointer;
}

.navbar-logo a img {
    height: 100%;
    width: 100%;
}

.logo {
    transition: filter 0.8s;
}

.navbar__links {
    display: none;
}

.navbar__button {
    display: none;
}

.navbar-burger {
    background-color: #395439;
    border: none;
    color: white;
    padding: .3rem .6rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.5rem;
}

@media (min-width: 1080px) {
    .navbar__links {
        list-style: none;
        display: flex;
        gap: 2rem;
        margin: 0;
        padding: 0;
        flex-grow: 1;
        justify-content: center;
    }

    .navbar__links li a {
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.3s ease;
        cursor: pointer;
    }

    .navbar__button a {
        font-size: 1rem;
        color: white;
        position: relative;
        z-index: 3;
    }

    .navbar__button {
        background-color: #395439;
        border: none;
        color: white;
        padding: 0.6rem 1.2rem;
        border-radius: 12px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: block;
        position: relative;
        z-index: 2;
        overflow: hidden;
    }

    .navbar__button::before {
        content: '';
        position: absolute;
        z-index: 1;
        bottom: 0;
        width: 0;
        height: 100%;
        right: 0;
        margin-right: -10%;
        margin-left: 0;
        background-color: #416941;
        transition: width 0.4s ease;
        border-radius: 20% 20% 20% 20% / 45% 45% 45% 45%;
    }

    .navbar__button:hover::before {
        left: 0;
        margin-right: 0;
        margin-left: -10%;
        width: 120%;
    }

    .navbar-link.active::before {
        margin-bottom: 0;
    }

    .navbar-burger {
        display: none;
    }

    .navbar-link {
        color: white;
        height: 30px;
        padding: 5px 15px;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 20px 20px 20px 20px;
        transition: color 0.8s ease;
    }

    .navbar-link.scrolled {
        color: black;
    }

    .navbar-link::before {
        content: var(--label, 'Error');
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-bottom: -100%;
        background-color: #395439;
        color: white;
        border-radius: 20px 20px 20px 20px;
        transition: margin-bottom 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .navbar-link:hover::before {
        margin-bottom: 0;
    }
}

.dropdown {
    position: fixed;
    display: flex;
    top: 90px;
    left: 50%;
    transform: translate(calc(-50% - 55px), -240px);
    z-index: 50;
    width: 250px;
    height: 150px;
    background-color: rgba(255, 255, 255, 1);
    transition: all 0.8s;
    border-radius: 15% / 20% ;
    justify-content: center;
    align-items: center;
}

.dropdown.active {
    transform: translate(calc(-50% - 55px), 0);
}

.dropdown ul {
    margin: 0;
    padding: 0;
    text-align: center;
    list-style: none;
}

.dropdown ul li {
    padding: 3px;
}

.dropdown ul li a {
    color: black;
}

.dropdown.scrolled {
    border-radius: 0 0 15% 15% / 0 0 20% 20%;
    background-color: rgba(255, 255, 255, 0.8);
}

.dropdown.finished {
    background-color: rgba(255, 255, 255, 1);
}

.relative {
    position: relative;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 400px;
    height: 100vh;
    background-color: #395439;
    color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 150;
    overflow-x: hidden;
}

.side-nav.open {
    transform: translateX(0);
}

.sidenav-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 55px;
    width: 138px;
    padding-left: 2rem;
    color: white;
    cursor: pointer;
}

.sidenav-logo a img {
    height: 100%;
    width: 100%;
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1rem 0 1rem;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 60;
}

.sidenav-links {
    list-style: none;
    padding: 6rem 1rem 0 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.sidenav-links li {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(54, 112, 54, 0.5);
}

.sidenav-links li:hover {
    transform: translateX(1rem) ;
}

.sidenav-links li.disabled:hover {
    transform: translateX(0) ;
}

.sidenav-links li::before {
    content: "→";
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidenav-links li:hover::before {
    opacity: 1;
}

.sidenav-links li:hover.disabled::before {
    opacity: 0;
}

.sidenav-links li.active {
    transform: translateX(1rem);
}

.sidenav-links li.active::before {
    opacity: 1;
}

.sidenav-links ul {
    list-style: none;
    margin-top: 1rem;
    li {
        margin-bottom: 1rem;
    }
}

.footer {
    background-color: #395439;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
    width: 100vw;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

.footer-links {
    width: 50%;
    text-align: right;
    color: white;

}

@media (min-width: 768px) {
    .footer-links a {
        margin-left: 15px;
    }
}

.footer-copyright {
    width: 50%;
    text-align: left;
    color: white;
}

.mail-link {
    color: white;
    text-decoration: none;
}

.mail-link:hover {
    text-decoration: underline;
}

.scroll {
    opacity: 0;
    transition: all .8s;
    transform: translateY(10px);
}

.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    transition: opacity .8s !important;
    opacity: 0;
}

.picture-container {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 4rem;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
}

.content-container {
    position: relative;
    z-index: 5;
    box-sizing: border-box;
    width: 70vw;
    margin: 0 auto 40px auto;
}

@media screen and (min-width: 1200px) {
    .content-container {
        width: 50vw;
    }
}

.hero-container {
    margin: 0;
    position: relative;
    height: 75svh;
    width: 100vw;
}

.hero {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    height: 75svh;
    width: 100vw;
    object-fit: cover;
}

.hero img {
    height: 75svh;
    width: 100vw;
    object-fit: cover;
}

.image-overlay {
    background-color: rgba(0, 0, 0, .1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    height: 75svh;
    width: 100vw;
}

.text-container {
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100vw;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease;
    gap: 2rem;
}

.title {
    font-family: "Oregano", cursive;
    font-weight: 400;
    font-style: normal;
    z-index: 10;
    font-size: 2.2rem;
    cursor: pointer;
}

.text-title {
    text-align: center;
    font-family: "Oregano", cursive;
    font-weight: 400;
    font-style: normal;
    z-index: 10;
    font-size: 1.8rem;
    cursor: pointer;
}

.subtitle {
    z-index: 10;
    font-size: 1rem;
    cursor: pointer;
    margin-top: -4rem
}

.title-grow {
    transform: scale(1);
    transition: transform .8s ease-in-out;
}

.title-grow:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .title {
        font-size: 3.5rem;
    }

    .text-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1536px) {
    .title {
        font-size: 5rem;
    }

    .text-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 2rem;
        max-width: 50%;
    }
}

.opacity-100 {
    opacity: 100;
}

.grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 1rem;
    justify-items: center;
}

.grid img {
    width: 90vw;
    transition: transform .3s ease-in-out;
}

.grid img:hover {
    transform: scale(1.05);
}

.grid-1 {
    grid-row: 1;
}

.grid-2 {
    grid-row: 2;
}

.grid-3 {
    grid-row: 3;
}

.grid div img {
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .grid img {
        width: 25vw;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
    }

    .grid-1 {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .grid-2 {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .grid-3 {
        grid-column: 3 / 4;
        grid-row: 1;
    }
}