* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("../../images/crosshair.png"), auto;
    font-family: 'Inria Sans', sans-serif;
}

body {
    background-color: #177d89;
}

.nav {
    text-align: right;
    padding: 1%;
}

.nav ul {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav ul li {
    margin-right: 50px;
    margin-bottom: 10px;
}

.nav ul li a {
    text-decoration: none;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.597);
}

.nav ul li a:hover {
    color: white;
}

.nav ul li a.active {
    color: #ffca5c;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2%;
    color: white;
}

.header img {
    width: 12%;
}

.section {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0 auto 2%;
}

.section img {
    width: 0;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: width 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}

.section img:hover {
    width: 800px;
    opacity: 1;
    filter: contrast(120%);
}

.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/curtain.png) center / cover;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
    pointer-events: none;
}

@media (max-width: 575px) {
    .nav ul li {
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .nav ul li a {
        font-size: 16px;
    }

    .header img {
        width: 30%;
    }

    .section {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .section img {
        width: 100%;
        height: auto;
        opacity: 0.8;
    }

    .section img:hover {
        width: 100%;
        opacity: 1;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .nav ul li {
        margin-right: 25px;
        margin-bottom: 10px;
    }

    .nav ul li a {
        font-size: 18px;
    }

    .header img {
        width: 20%;
    }

    .section {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .section img {
        width: 100%;
        height: auto;
    }

    .section img:hover {
        width: 100%;
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav ul li {
        margin-right: 40px;
    }

    .nav ul li a {
        font-size: 20px;
    }

    .header img {
        width: 15%;
    }

    .section {
        height: 450px;
    }

    .section img:hover {
        width: 700px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .nav ul li {
        margin-right: 50px;
    }

    .nav ul li a {
        font-size: 20px;
    }

    .header img {
        width: 12%;
    }

    .section {
        width: 1000px;
    }

    .section img:hover {
        width: 800px;
    }
}

@media (min-width: 1200px) {
    .nav ul li {
        margin-right: 60px;
    }

    .nav ul li a {
        font-size: 22px;
    }

    .header img {
        width: 10%;
    }

    .section {
        width: 1200px;
        height: 500px;
    }

    .section img {
        transition: width 0.3s ease;
    }

    .section img:hover {
        width: 900px;
        opacity: 1;
    }
}