* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.icon {

    position: fixed;
    color: #fff;
    font-size: 35px;
    top: 20px;
    right: -35px;
    background-color: grey;
    transition: .2s;



}

.fab {
    font-size: 40px;
    margin-left: 60px;
    text-decoration: none;
    color: #fff;

}

.fa-facebook-square:hover {
    color: #3b5998;
    cursor: pointer;
}



.fa-instagram:hover {

    background: linear-gradient(to top, #FFDC80, #FD1D1D, #405DE6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.icon.active {
    display: block;
    color: #fff;
    font-size: 35px;
    top: 20px;
    right: 35px;

    opacity: 1;

}

body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    align-content: center;

}

i.fas {
    position: fixed;
}

i.fa-bars {

    opacity: 0;
}

i.fa-times {

    opacity: 0;
}

i.fas.active {
    opacity: 1;


}


.navBars {
    box-sizing: border-box;
    position: fixed;
    background-color: rgba(0, 0, 0, .9);
    width: 160px;
    padding: 0 5px;
    height: 85vh;
    top: 5vh;
    left: -170px;
    border: 5px solid #000;
    border-radius: 10px 10px 10px 10px;
    transition: .4s linear;
    z-index: 2;
}

.navBars.active {

    left: 0;
}

.navBars nav ul {
    width: 100%;
}

.navBars nav ul li a {

    font-size: 20px;
    text-align: left;
    width: 100%;
    margin: 15px 0;
    padding: 20px 0;

    text-align: center;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: block;

    height: 20px;

    transition: 0.2s linear;

    line-height: 100%;
    font-size: 20px;

}

nav.navTop ul {
    display: flex;
    width: 100%;
    margin-top: 5px;
    flex-direction: column;
    align-items: center;
}


nav.navTop ul li {

    list-style: none;

    width: 60%;


}



nav.navTop ul li a {
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 20px 5px;
    height: 20px;
    width: 100%;
    transition: 0.2s linear;
    margin: 19px 0;
    box-shadow: 0px 0px 4px 4px black,
        0px 0px 10px 8px rgb(28, 255, 39);
    line-height: 100%;
    font-size: 20px;
    text-align: center;
}

nav.navTop ul li:nth-child(5) a {
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 10px 5px;
    height: 40px;
    width: 100%;
    transition: 0.2s linear;
    margin: 19px 0;
    box-shadow: 0px 0px 4px 4px black,
        0px 0px 10px 8px rgb(28, 255, 39);

    font-size: 20px;
    text-align: center;
}

.logo {
    text-align: center;
    width: 100%;
    overflow: hidden;

}

.logo img {
    width: 100%;
}

section h2 {
    text-align: center;
    margin: 30px 0;
    text-transform: uppercase;
    color: #fff;
}

section p {
    font-family: 'Poppins', sans-serif;

    line-height: 30px;
    color: #fff;

}

section.about p {
    line-height: 35px;
    text-align: left;

}

section.offer ul li {
    margin-top: 20px;
}




section .glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    display: block;
    pointer-events: none;
}

section {
    margin: 40px 40px;
    padding: 20px 10px;
    position: relative;

    transform: translateX(-100vw);
    box-shadow: 0 0 10px #04d939,
        0 0 20px #04d939,
        0 0 50px #04d939;
    background-color: #000;
    transition: .3s linear;
    border: 3px solid #000;
}

section.gallery {
    display: flex;
    flex-wrap: wrap;
    min-height: 500vh;
    align-content: space-around;
    justify-content: space-around;
}

section.gallery .photo {
    flex-basis: 100%;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    transform: scale(0);
    border: 4px solid white;
    transition: .4s linear .4s;
}

section.gallery .photo.active {
    transform: scale(1);
}

section.gallery div.photo img {
    width: 100%;
}

section.gallery h2 {
    flex-basis: 100%;
}


section ul {

    color: #fff;
    font-family: arial;
    line-height: 30px;
    margin: 35px 20px;
}

section.active {
    transform: translateX(0);
}


section.contact p {
    margin-top: 20px;
}

section.zoological ul li {
    margin-top: 20px;
}

footer {

    position: relative;
    height: 30vh;

}

footer p {
    color: #fff;
    display: block;
    padding: 20px;
    text-align: center;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

@media(orientation:portrait) and (min-width:350px) {
    nav.navTop ul li:nth-child(5) a {
        padding: 20px 5px;
        height: 20px;
        line-height: 100%;
    }

}

@media(orientation:portrait) and (min-height:640px) {
    .navBars {
        height: 65vh;
    }


}


@media(orientation:portrait) and (min-height:730px) {
    .navBars {
        height: 60vh;
    }


}

@media(orientation:portrait) and (min-height:810px) {
    .navBars {
        height: 50vh;
    }


}

@media(orientation:portrait) and (min-height:900px) {
    .navBars {
        height: 48vh;
    }

    footer {
        position: relative;
        margin-top: 100px;

    }

    footer p {
        color: #fff;
        width: 100%;
        text-align: center;
        position: absolute;

        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

    }


}

@media(orientation:landscape) {
    .logo img {
        width: 60%;
        max-width: 400px;
    }

    nav.navTop ul li:nth-child(5) a {
        padding: 20px 5px;
        height: 20px;
        line-height: 100%;
    }

    .navBars {
        position: fixed;
        background-color: rgba(0, 0, 0, .9);
        width: 160px;
        padding: 0 5px;
        height: 95vh;
        top: 2.5vh;
        left: -170px;
        border: 5px solid #000;
        border-radius: 10px 10px 10px 10px;
        transition: .4s linear;
        z-index: 2;
    }


    .navBars nav ul li a {

        font-size: 20px;
        text-align: left;
        width: 100%;
        margin: 22px 0;
        padding: 5px 0;
        box-shadow: 0 0 0 0,
            0 0 0 0;
        text-align: center;
        background-color: transparent;
    }

    section.gallery {
        display: flex;
        flex-wrap: wrap;
        min-height: 200vh;
        justify-content: space-around;
    }



    section.gallery .photo {
        flex-basis: 30%;
        z-index: 1;
        margin: 20px;
        flex-grow: 1;
        display: flex;
        transform: scale(0);
        border: 4px solid white;
        transition: .4s linear .4s;
    }
}



@media(orientation:landscape) and (min-height:360px) {
    .navBars {
        height: 92vh;
        top: 4vh
    }

    .navBars nav ul li a {
        margin: 28px 0;
    }


}

@media(orientation:landscape) and (min-height:410px) {


    .logo img {
        width: 60%;
        max-width: 400px;
    }

    .navBars nav ul li a {
        margin: 32px 0;
    }

}

@media(orientation:landscape) and (min-height:768px) {
    .navBars {
        height: 50vh;
        top: 2.5vh
    }

    .navBars nav ul li a {
        margin: 32px 0;
    }




}

@media (min-width:1024px) {
    .logo img {
        width: 60%;
        max-width: 613px;
    }

    nav.navTop {
        width: 100%;
        position: sticky;
        top: 0px;
        z-index: 6;

        background-color: rgba(1, 1, 1, .9);

    }

    section.gallery .photo {
        flex-basis: 30%;
        z-index: 1;
        margin: 20px;
        flex-grow: 1;
        display: flex;
        transform: scale(0);
        border: 4px solid white;
        transition: .4s linear .4s;
    }


    nav.navTop ul {
        display: flex;
        width: 100%;
        margin: 0 0;
        transition: .4s;
        flex-direction: row;

    }

    nav.navTop ul.active {
        box-shadow: 0 1px 1px #04d939,
            0 2px 8px #04d939,
            0 5px 15px #04d939;

    }



    nav.navTop.active ul li a:hover {
        color: #000;
        background-color: #04d939;
        box-shadow: 0 0 10px #04d939,
            0 0 40px #04d939,
            0 0 80px #04d939;

        transition-delay: 0s;



    }

    nav.navTop.active ul li a span {
        position: absolute;
        display: none;
    }




    nav.navTop ul li {

        list-style: none;
        width: 20%;
        margin: 0px 10px;

    }





    nav.navTop ul li:nth-child(5) a {
        color: #04d939;
        font-weight: bold;
        padding: 5px 2px;
        text-decoration: none;
        text-transform: uppercase;
        display: inline-block;

        height: 85px;
        position: relative;
        letter-spacing: 1px;
        transition: 0.2s linear;
        box-shadow: none;
        line-height: 85px;
        font-size: 24px;
        text-align: center;
        overflow: hidden;
    }

    nav.navTop ul li a {
        color: #04d939;
        font-weight: bold;
        padding: 5px 2px;
        text-decoration: none;
        text-transform: uppercase;
        display: inline-block;

        height: 85px;
        position: relative;
        letter-spacing: 1px;
        transition: 0.2s linear;
        box-shadow: none;
        line-height: 85px;
        font-size: 24px;
        text-align: center;
        overflow: hidden;
    }


    nav.navTop ul li a:hover {
        color: #000;
        background-color: #04d939;
        box-shadow: 0 0 10px #04d939,
            0 0 40px #04d939,
            0 0 80px #04d939;

        transition-delay: 1s;



    }

    nav.navTop ul li a span {
        position: absolute;
        display: block;
    }

    nav.navTop ul li a span:nth-child(1) {
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;

        background: linear-gradient(90deg, transparent, #04d939);
    }

    nav.navTop ul li a:hover span:nth-child(1) {
        left: 100%;
        transition: 1s;

    }

    nav.navTop ul li a span:nth-child(3) {
        bottom: 0;

        right: -100%;
        width: 100%;
        height: 2px;

        background: linear-gradient(270deg, transparent, #04d939);
    }

    nav.navTop ul li a:hover span:nth-child(3) {
        right: 100%;
        transition: 1s .5s;


    }

    nav.navTop ul li a span:nth-child(2) {
        top: -100%;

        right: 0;
        width: 2px;
        height: 100%;

        background: linear-gradient(180deg, transparent, #04d939);
    }

    nav.navTop ul li a:hover span:nth-child(2) {
        top: 100%;
        transition: 1s .25s;


    }

    nav.navTop ul li a span:nth-child(4) {
        bottom: -100%;

        left: 0;
        width: 2px;
        height: 100%;

        background: linear-gradient(360deg, transparent, #04d939);
    }

    nav.navTop ul li a:hover span:nth-child(4) {
        bottom: 100%;
        transition: 1s .75s;


    }

    section {
        margin: 40px 140px;
        padding: 120px 110px;
        position: relative;
        background-color: #000;
        transition: .9s;
        font-size: 32px;
    }

    section.offer {
        margin: 40px 140px;
        padding: 120px 110px;
        background-color: #000;
        font-size: 32px;
    }



    section h2 {
        text-align: center;
        margin: 30px 0;
        text-transform: uppercase;
        color: #fff;
        font-size: 32px;
    }

    section p {
        line-height: 75px;
        font-size: 32px;
    }

    section.about p {
        line-height: 75px;
        text-align: left;
        font-size: 28px;

    }

    section.offer ul li {
        margin-top: 20px;
        line-height: 75px;
    }

    .icon.active {
        display: none;
    }

    nav.navTop ul {
        margin-top: 0;
    }

    nav.navTop ul li a {
        padding: 5px 2px;

        width: 100%;
        transition: 0.2s linear;
        margin: 10px 0
    }

    .fab {

        font-size: 90px;
        margin-left: 60px;
        text-decoration: none;

    }

    section.gallery .photo {

        z-index: 1;
        flex-grow: 1;
        display: flex;
        transform: scale(0);
        border: 4px solid white;
        transition: .7s .9s;
    }
}