@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
    margin: 0;
    padding: 0;

}

:root {
    --first-color: #272727;
    --second-color: rgb(146, 115, 101);
    --third-color: #EFD09E;
    --font-family: 'Roboto', sans-serif;


}


/* HEADER */

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}
header {
    height: 70vh;
    background-image: url(/images/gallery_header.jpg);
    background-size: cover;
    background-position: top;
    width: auto;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #272727;
    font-family: var(--font-family);
    position: fixed;
    top: 0;
    width: 100vw;
    transition: all 1s ease;
    height: 5rem;
    z-index: 5;
}
.nav-bar.scroll {
    background-color: var(--second-color);
}
img.logo {
    height: 7rem;
    width: 7rem;
    justify-self: flex-start;
    margin-left: 2rem;
}
ul li {
    list-style: none;
    padding: 1.7rem 0;
    align-items: center;
    justify-content: center;
}
ul li a {
    text-decoration: none;
    margin: 2rem;
    color: var(--first-color);
    font-weight: bold;
    letter-spacing: 10px;
}
.hamburger {
    cursor: pointer;
    top: 20rem;
}
.bar {
    display: block;
    width: 35px;
    height: 4px;
    margin: 5px 40px;
    transition: all 0.5s ease;
    background-color: var(--first-color);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.hamburger {
    display: block;
}
.nav-menu {
    position: fixed;
    left: 100%;
    top: 9rem;
    height: 14rem;
    gap: 0;
    flex-direction: column;
    width: 100vw;
    text-align: center;
    background-color: rgb(146, 115, 101);
    transition: 1s;
}
.nav-menu.active {
    left: 0;
}
.home-head {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    text-align: center;
    color: var(--first-color);
    width: 98vw;
    position: absolute;
    margin: 15rem auto 0 auto;
}
.home-head h1 {
    font-weight: bold;
    font-size: 3.5rem;
    padding: 1rem;
    margin: auto;
    letter-spacing: 0.2rem;
    color: var(--first-color);
    background-color: rgba(239, 208, 158,0.2);
}

.home-head.scroll {
    display: none;
}
.home-head.active {
    display: none;
}


/* MAIN */

h2 {
    height: 2rem;
    padding: 1.5rem;
    width: 89%;
    margin: 1rem auto;
    color: var(--second-color);
    font-size: 2rem;
}

/* SLIDER */

.slides img {
    width: 100%;
}

body {
    background-color: var(--first-color);
}

.slider {
    margin: auto;
    position: relative;
}

.slides {
    display: none;
}

.prev,
.next {
    cursor: pointer;
    color: white;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    padding: 1rem;
    border-radius: 0 0.188rem 0.188rem 0;
    background: rgba(0, 0, 0, .5);
    transition: all 0.3s;
    z-index: 4;
}

.next {
    right: 0;
    border-radius: 0.188rem 0 0 0.188rem;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, .8)
}


/* GRID*/

.container-pictures {
    background-color: var(--first-color);
    padding: 0 0 2rem 0;

}

.row {
    display: flex;
    flex-wrap: wrap;
    margin:auto;
    padding: 10px 20px;
    background-color: var(--first-color);
    width: 90vw;
    
  }
   .column {
     flex: 100%;
     max-width: 100%;
     padding: 0 4px;
     
    }
 
  .column img {
    margin-top: 1rem;
    vertical-align: middle;
    width: 100%;
}
  

/* FOOTER */


footer {
    background-color: var(--second-color);
    color: #fff;
    height: 4.3rem;
}

.textfooter {
    margin-left: 1rem;
    background-color: var(--second-color);
    color: var(--first-color);
}

.logofooter {
    height: 4rem;
    width: 4rem;
    background-color: var(--second-color);
}


.rsimage {
    height: 2rem;
    width: 2rem;
    background-color: var(--second-color);
    margin: 0 1rem;
    transition: transform 0.3s;
}

.rsimage:hover {
    transform: scale(1.5);
}

.containerrs {
    display: flex;
    justify-content: space-between;
    margin: 0 0.7rem;
}

.container-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* RESPONSIVE */


@media screen and (min-width: 768px) {
    
    header {
        height: 90vh;
    }

    .nav-menu {
        position: fixed;
        height: 5rem;
        top: 0;
        left: 0;
        flex-direction: row;
        display: flex;
        width: 99.1vw;
        background-color: transparent;
        justify-content: flex-end;
        align-items: center;
        z-index: -1;
    }

    img.logo {
        z-index: 3;
    }

    .hamburger {
        display: none;
    }

    .slider {
        width: 70vw;
    }

    .column {
        flex: 32%;
        max-width: 32%;
        }

     a {
        position: relative;
    }
    ul li a:after {
        content: "";
        position: absolute;
        background-color: var(--third-color);
        height: 3px;
        width: 0%;
        left: 0;
        bottom: -10px;
        transition: 0.5s;
    }
    ul li a:hover:after {
        content: "";
        position: absolute;
        background-color: var(--third-color);
        height: 3px;
        width: 95%;
        left: 0;
        bottom: -10px;
        transition: 0.5s;
    }


  }
