head,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow-x: hidden;
}

#navbar {
    display: flex;
    width: 100%;
    height: 175px;
    background-color: #4f4f4f;
    justify-content: center;
    font-size: 15px;
}

#navlist {
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: center;
    list-style-type: none;
}

#navlist li {
    margin: 20px;
    margin-top: 120px;
    margin-right: 20px;
}



a:link {
    font-weight: bold;
    text-decoration: none;
    color: white;
}

a:visited {
    font-weight: bold;
    text-decoration: none;
    color: white;
}

a:hover {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.712);
}

a:active {
    font-weight: bold;
    color: white;
}

#email:link {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

#email:visited {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

#email:hover {
    color: rgba(0, 0, 0, 0.712);
}

#email:active {
    color: rgb(0, 0, 0);
}



#socials {
    display: flex;
    position: absolute;
    right: 0px;
    list-style-type: none;
    justify-content: center;
}

#socials li {
    margin: 20px;
    margin-top: 0px;
    margin-left: 0px;

}

#logo {
    width: 255px;
    height: 97.8px;
    display: flex;
    position: absolute;
    top: 15px;
}



#background {
    background-image: url("../../img/IMG_9039-scaled.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 120vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#welcome-text {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position: relative;
    z-index: 0;
    color: white;
    text-align: center;
    padding-top: 100px;

    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

#welcome-text ul {
    list-style-type: none;
    padding: 0;
}



#welcome-text ul li button {
    margin-top: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #464646;
    border: white 2px solid;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    scale: 1.3;
    box-shadow: 3px 2px 8px 5px #525252d3;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

#welcome-text ul li button span {
    display: inline-block;
    transition: transform 0.3s ease;
}


#welcome-text ul li button::after {
    content: "➜";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    font-size: 20px;
    transition: all 0.3s ease;
}

#welcome-text ul li button:hover span {
    transform: translateX(-10px);
}

#welcome-text ul li button:hover::after {
    right: 10px;
    opacity: 1;
}

#pictures {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position: relative;
    z-index: 99;
    background-color: #4f4f4f;
    text-align: center;
    width: 100%;
    margin-top: 250px;
    max-height: 1100px;
    overflow: hidden;
}





#pictures ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

#pictures ul li {
    max-height: 1100px;
    min-width: 100%;
    box-sizing: border-box;
    align-content: center;
}

#pictures ul li img {

    width: 80%;
    height: 50%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}



.arrow {
    position: absolute;
    background-color: transparent;
    border: none;
    scale: 2;
    bottom: 50%;
    z-index: 100;
}



.arrow:hover {
    cursor: pointer;
}


@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0%);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateY(-50%) translateX(0%);
    }
    to {
        opacity: 0;
        transform: translateY(-50%) translateX(-20%);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0%);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateY(-50%) translateX(0%);
    }
    to {
        opacity: 0;
        transform: translateY(-50%) translateX(20%);
    }
}

#left-arrow,
#right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(0%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: white;
}

#left-arrow {
    left: 15%;
}

#right-arrow {
    right: 15%;
}


#pictures:hover #left-arrow {
    animation: slideInFromLeft 0.45s ease-out forwards;
    pointer-events: auto;  
}

#pictures:hover #right-arrow {
    animation: slideInFromRight 0.45s ease-out forwards;
    pointer-events: auto;
}


#pictures:not(:hover) #left-arrow {

    animation: slideOutToLeft 0.35s ease-in forwards;
    animation-delay: 0s;
    pointer-events: none;
}

#pictures:not(:hover) #right-arrow {
    animation: slideOutToRight 0.35s ease-in forwards;
    animation-delay: 0s;
    pointer-events: none;
}



#info-section {
    display: flex;
    width: 100%;
    height: 800px;
    background-color: #4f4f4f;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

#info-section ul {
    list-style-type: none;
    padding: 0;
    margin-left: 150px;
    margin-bottom: 200px;
}

#info-section ul li {
    color: white;
    font-size: 20px;
}

#info-section ul li h1 {
    margin-bottom: 75px;
    font-size: 50px;
}

#info-section ul li h2 {

    font-size: 25px;
}

#info-section ul li h3 {
    margin-bottom: 75px;
    margin-top: -20px;
    font-size: 25px;
}

#map {
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: 150px;
    margin-bottom: 200px;
}



#footer {
    display: flex;
    width: 100%;
    height: 200px;
    background-color: #3d3d3d;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    bottom: 0;
    left: 0;
}

#footer ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;

}

#footer ul li {
    margin: 20px;
    margin-left: 100px;
    margin-right: 100px;
    color: white;
}

#footer ul li h1 {
    font-size: 20px;
}

#footer ul li h2 {
    font-size: 12px;
    margin-left: 10%;
}

#information {
    width: 100%;
    display: flex;
    position: absolute;

    list-style-type: none;
    justify-content: left;

    padding: 0;
}

#information li {
    margin: 15px;
    margin-top: 0px;
    margin-left: 10px;
}

#mobile-nav {
    display: flex;
    flex-wrap: wrap;
    height: 90%;
    width: 100%;
    align-content: flex-end;
    justify-content: center;
}

#dropdown {
    height: 15%;
    width: 80%;
    background-color: #3d3d3d;

    justify-content: flex-end;
    border-radius: 5px;

}

.mobile-dropdown-list {
    max-height: 0;
    overflow: hidden;
    position: relative;
    border-top: 3px solid #2ea3f2;
    background-color: #4f4f4f;
    width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 24px;
    margin-right: 15px;
    transition: max-height 2s ease, opacity 1s ease;
    opacity: 0;
    z-index: 100;
}


.mobile-dropdown-list.active {
    max-height: 600px;
    opacity: 1;
}



.mobile-dropdown-list a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

#mobile-btn {
    position: absolute;
    background-color: transparent;
    border: none;
    margin-right: 10px;
    margin-bottom: 3px;
    margin-top: 6px;
    scale: 1.2;

}

@media (min-width: 771px) {
    #mobile-nav {
        display: none;
    }

}


@media (max-width: 1270px) {

    #footer ul li {
        margin: 0;
        margin-right: 50px;
    }

    #info-section {
        display: block;
        height: 1200px;
        text-align: center;
    }

    #info-section ul {
        margin-bottom: 0;
        margin-left: 0;
        margin-top: 0;
        padding: 100px;
        justify-items: center;
    }

    #info-section ul li h1 {
        margin-top: 0;
    }

    #map {
        margin-bottom: 0;
        margin-left: 0;
    }
}


@media (max-width: 1055px) {
    #information {
        display: block;
    }

    #information li {
        margin: 15px;
        margin-top: 0px;
        margin-left: 0px;
    }

    #footer ul li {
        margin: 0;
        margin-right: 25px;
    }

}

@media (max-width: 830px) {
    #information {
        font-size: 12px;
    }

    #footer ul li {
        margin: 0;
        margin-right: 15px;
    }

}

@media (max-width: 770px) {
    #logo {
        scale: 0.7;
        margin-top: 20px;
    }

    #information {
        display: flex;
        justify-content: center;
    }

    #navlist {
        display: none;
    }

    #dropdown {
        display: flex;
        align-items: flex-start;
    }

    #footer ul li {
        margin: 0;
        margin-right: 0;
    }

}

@media (max-width: 700px) {
    #pictures ul li img {
        height: 95%;
        width: 95%;
    }
}

@media (max-width: 601px) {
    #map {

        width: 95%;
    }
    #socials {
        display: none;
    }
}