*{
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    cursor: default;
    font-family: 'Secular One', sans-serif;
    background-color: black;
    position: relative;
}
/* ---------------------------------> B ARROW  */
.arrow{
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: skyblue;
    border-radius:100%;
    filter: opacity(0.3);
    z-index: 1;
}

.arrow img{
    width: 40px;
    margin: 2px;
    transform: rotate(-90deg);
}

.arrow:hover{
    transition: 0.5s all;
    filter: opacity(1);
}
/* ---------------------------------> E ARROW  */
/* ---------------------------------> B NAV  */
nav a{
    text-decoration: none;
    color: currentColor;
}

nav #nav{
    margin-top: -3.55px;
    padding: 5px;
    background-color:skyblue;
    display: flex;
    position: relative;
}

#nav img{
    border-radius: 5px;
}

#nav ul{
    width: 100%;
    padding: 0px 10px;
    margin: 10px 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    list-style: none;
}

nav ul li{
    border-bottom: solid rgba(255, 255, 0, 0);
    border-top: solid rgba(255, 255, 0, 0);
    transition: 0.2s ease-in;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
}

nav ul .hover:hover{
    border-bottom: solid yellow;
    border-top: solid yellow;
    cursor: pointer;
    transform: scale(1.1);
}

 nav .mobile-nav{
    display: none;
} 
/* ---------------------------------> E NAV  */
.title{
    display: flex;
    justify-content: center;
}

hr{
    width: 50px;
    height: 0px;
    margin: auto 0px;
}

h1{
    font-family: 'Pacifico', cursive;
    margin: 20px 5px;
    text-align: center;
    color: wheat;
}

.page2{
    padding: 20px; 
    display: none;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    grid-auto-rows: minmax(200px,auto);
    gap: 5px;
    grid-auto-flow: dense;
}

.galery{
    padding: 20px; 
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    grid-auto-rows: minmax(200px,auto);
    gap: 5px;
    grid-auto-flow: dense;
}

.galery .image{
    background-position: center;
    background-size: cover;
    border: solid 3px whitesmoke;
    border-radius: 2px;
    filter: grayscale(0.8);
    transition: 0.7s;
    cursor: pointer;
}
.galery .image:hover{
    transform: scale(0.95);
    filter: grayscale(0);
    transition: 0.7s;
}

.galery .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wide{
    grid-column: span 2;
}

.special{
    grid-column: span 2;
    grid-row: span 2;
}

.tall{
    grid-row: span 2;
}  

.image_look{
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.796);
    position: fixed;
    top: 0px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.image_look .image_container{
    width: 90%;
    height:90% ;
    position: relative;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image_look .image_container img{
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.image_look .image_container p{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
    transition: 0.5s all;
}
.image_container p:hover{
    color: lightcoral;
}


@media only screen and (max-width:600px){
    nav #nav {
        display: none;
    }

    .arrow{
        display: none;
    }

    nav .mobile-nav{
        display: block;
        position: fixed;
        top: 15px;
        left: 5px;
        z-index: 1;
    }
    
    .bg-nav ul{
        display: none;
        background-color: skyblue;
        border-radius: 10px;
        list-style: none;
        padding: 5px;
        position: absolute;
        top: 50px;
        white-space: nowrap;
    }

    .bg-nav i{
        position: absolute;
        top: 15px;
        margin-left: 10px;
        background-color: skyblue;
        padding: 10px;
        border-radius: 50%;
    } 

    .bg-nav i:nth-of-type(2){
       display: none;
    }
}
