* {
    margin: 0;
    padding: 0;
}
.wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    height: 100vh;
}
.welcome {
    display: flex;
    flex-direction: column;
    width: 40vw;
    text-align: center;
    align-items: center;
    font-family: 'Saira Condensed', sans-serif;
}
.logo {
    position: relative;
    top: 11vh;
    width: 20vw;
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 100%;   
}
nav ul {
    text-align: center;
}
nav ul li {
    display: block;
    margin-top: 10px;   
}
nav ul li a{
    text-decoration: none;
    font-size: 1.5rem;
    color: #8F7146;
}
.Social {
    display: flex;
    justify-content: center;
    position: relative;
    height: 13vh;
}
.InstaNav {
    margin: 8px;
}
.InstaNav img {
    margin: 0;
    width: 2vw;
    top: -2vh;
}
.FbNav {
    margin: 8px;
}
.FbNav img {
    margin: 0;
    width: 2vw;
    top: -2vh;
}
.hamburger-menu {
    position: fixed;
    top: 50px;
    right: 50px;
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}
.line {
    display: none;
    width: 100%;
    height: 3px;
    background-color: #8F7146;
}
.line-1.change {
    transform: rotateZ(-45deg) translate(-8px, 6px);
    transition: .3s;
}
.line-2.change {
    opacity: 0;
}
.line-3.change {
    transform: rotateZ(45deg) translate(-8px, -6px);
    transition: .3s;
}
section {
    display: flex;
    flex-direction: column;  
    width: 60vw;
    border-left: 4px solid rgb(143, 113, 70, 0.1);
    overflow: auto;
}
.naviSection div {
    display: flex;
    justify-content: center;
}
.naviSection div img{
    height: 30vh;
    
}
h1 {
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 20px 60px;
    color: #8F7146;
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 500;
}
.galerry {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.thumbnail {
    cursor: pointer;
    margin: 30px;
    max-height: 200px;
    max-width: 200px;
    border: solid 3px rgba(144, 113, 71, 0.3);
    border-radius: 15px;
    box-shadow: 0 0 20px 1px rgb(143, 113, 70, 0.5);
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s;
}
.thumbnail:hover {
    transform: scale(1.2);
}
.thumbnail img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}
.popup {
    position: absolute;
    display: flex;
    animation: fadeIn 0.3s;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    height: 100vh;
    width: 100vw;
}
.popup.hidden {
    display: none;
}
.popup.fade-out {
    animation: fadeOut 0.3s both;
}
.popup__img {
    max-height: 90%;
    max-width: 90%;
}
.popup__close {
    position: fixed;
    top: 50px;
    right: 120px;
    font-size: 30px;
    background-color: transparent;
    color: black;
    opacity: 0.6;
    border: none;
    cursor: pointer;
}
.popup__arrow {
    position: absolute;
    top: 40%;
    right: 20%; 
    font-size: 50px;
    height: 128px;
    width: 128px;
    line-height: 128px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.popup__close, .popup__arrow {
    opacity: 0.6;
    transition: opacity 0.3s;
}
.popup__close:hover, .popup__arrow:hover {
    opacity: 1;
}
.popup__arrow--left {
    left: 5%;
}
.popup__arrow--right {
    right: 5%;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@media (orientation: portrait) and (min-width: 320px) and (min-height: 480px) {
    .welcome {
    width: 0;
    }
    .welcome.change {
        width: 40vw;
    }
    .logo {
        margin-top: 0;
        margin-left: 0;
        width: 40vw;
        position: relative;
        top: 5vh;
        left: -50vw;
    }
    .logo.change {
        left: 0vw;
    }
    .navi {
        position: relative;
        left: -50vw;
    }
    nav.change {
        left: 0vw;
        z-index: 5;
    }
    nav ul li {
        margin: 0;
    }
    nav ul li a {
        font-size: 1.1rem;
    }
    .hamburger-menu {
        top: 2vh;
        right: 2vw;
        z-index: 5;
    }
    .line {
        display: block;
    }
    ul.close.change {
        display: block;
    }
    .Social {
        flex-direction: column;
        bottom: 18vh;
        height:14vh;
        left: -50vw;
    }
    .Social.change {
        left: 0vw;
        height: 23vh;
        bottom: 2vh;
    }
    .InstaNav {
        position: relative;
        z-index: 5;
    }
    .InstaNav a img {
        left: 0vw;
        top: 0vw;
        width: 12vw;
    }
    .FbNav {
        z-index: 5;
    }
    .FbNav a img {
        width: 12vw;
        top: 0;
        left: 0;
    }
    section {
        width: 100vw;
    }
    section.change {
        width: 60vw;
    }
    .change {
        transition: .5s ease;
        
    }
    .thumbnail {
        max-height: 100px;
        max-width: 100px;
        margin: 17px;
    }
    .popup__arrow {
        top: 50%;
        right: 20%; 
        font-size: 12px;
        height: 12px;
        width: 12px;
        line-height: 12px;
    }
    .popup__arrow--left {
        left: 1%;
    }
    .popup__arrow--right {
        right: 1%;
    }
    .popup__close {
        position: fixed;
        top: 12px;
        right: 20px;
        font-size: 20px;
    }
}
@media (orientation: landscape) and (min-width: 480px) {
    .welcome {
        width: 0;
    }
    .welcome.change {
        width: 40vw;
    }  
    .logo {
        margin-top: 0;
        margin-left: 0;
        width: 40vw;
        position: relative;
        top: 5vh;
        left: -50vw;
    }
    .logo.change {
        width: 30vw;
        left: 0vw;
    }
    .navi {
        position: relative;
        left: -50vw;
    }
    .navi.change {
        left: 0vw;
        z-index: 5;
    }
    .navi ul li {
        margin: 0;
    }
    .navi ul li a {
        font-size: 1rem;
    }
    .hamburger-menu {
        top: 2vh;
        right: 2vw;
        z-index: 5;
    }
    .line {
        display: block;
    }
    .Social {
        flex-direction: column;
        bottom: 18vh;
        height:14vh;
        left: -50vw;
    }
    .Social.change {
        left: 0vw;
        height: 15vh;
        bottom: 2vh;
        display: flex;
        flex-direction: row;
    }
    .InstaNav {
        position: relative;
        z-index: 5;
    }
    .InstaNav a img {
        left: 0vw;
        top: 0vw;
        width: 5vw;
    }
    .FbNav {
        z-index: 5;
    }
    .FbNav a img {
        width: 5vw;
        top: 0;
        left: 0;
    }
    section {
        width: 100vw;
    }
    section.change {
        width: 60vw;
        overflow: hidden;
    }
    .change {
        transition: .5s ease;  
    }
    .naviSection div img {
        height: 62vh;
    }
    .thumbnail {
        max-height: 34vh;
        max-width: 34vw;
    }
    .popup {
        z-index: 6;
    }
    .popup__close {
        top: 2vh;
        right: 4vw;
        font-size: 22px;
        color: burlywood;
    }
    .popup__arrow {
        top: 42%;
        font-size: 29px;
        height: 34px;
        width: 22px;
        line-height: 28px;
        color: burlywood;
    }
}
@media (orientation: portrait) and (min-width: 360px) and (min-height: 640px) {
    .thumbnail {
        max-height: 21vh;
        max-width: 38vw;
    }
    .popup {
        z-index: 6;
    }
    .popup__close {
        color: burlywood;
    }
    .popup__arrow {
        top: 42%;
        font-size: 29px;
        height: 34px;
        width: 22px;
        line-height: 28px;
        color: burlywood;
    }
}
@media (orientation: landscape) and (min-width: 640px) and (min-height: 360px) {
    .thumbnail {
        max-height: 46vh;
    }
}
@media (orientation: portrait) and (min-width: 480px) {
    .InstaNav a img, .FbNav a img {
        width: 8vw;
    }
}
@media (orientation: portrait) and (min-width: 360px) and (min-height: 760px) {
    .navi ul li a {
        font-size: 1.3rem;
    }
}
@media (orientation: landscape) and (min-width: 760px) and (min-height: 360px) {
    .InstaNav a img, .FbNav a img {
        width: 4vw;
    }
}
@media (orientation: portrait) and (min-width: 768px) and (min-height: 991px) {
    .navi ul li a {
        font-size: 1.6rem;
    }
}
@media (orientation: landscape) and (min-width: 991px) and (min-height: 768px) {
    .navi ul li a {
        font-size: 1.6rem;
    }
}
@media (orientation: portrait) and (min-width: 992px) and (min-height: 1199px) {
    .navi ul li a {
        font-size: 2rem;
    }
}
@media (orientation: landscape) and (min-width: 1024px) {
.wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    height: 100vh;
}
.welcome {
    width: 40vw;
}
.logo {
    position: relative;
    top: 11vh;
    width: 20vw;
    left: 0;
}
.navi {
    left: 0; 
}
.hamburger-menu {
    display: none;
}

.navi ul li {
    display: block;
    margin-top: 10px;
}
.navi ul li a{
    font-size: 1.5rem;
}
.Social {
    flex-direction: row;
    left: 0;
    bottom: 0;
    height: 13vh;
}
.Social .InstaNav a img, .FbNav a img {
    width: 3vw;
}
section {
    width: 60vw;
}
.naviSection div img {
    height: 30vh;
}
.thumbnail {
    max-height: 200px;
    max-width: 200px;
}
}
@media (orientation: landscape) and (min-width: 1440px) {
    .Social .InstaNav a img, .FbNav a img {
        width: 2vw;
    }
}
@media (orientation: landscape) and (min-width: 2560px) {
    .logo {
        width: 26vw;
    }
    .navi ul li a {
        font-size: 2.1rem;
    }
    .naviSection h1 {
        font-size: 2.1rem;
    }
}
/* @media (orientation: portrait) and (min-width: 320px) and (min-height: 480px) +
@media (orientation: landscape) and (min-width: 480px) +
@media (orientation: portrait) and (min-width: 360px) and (min-height: 640px) +
@media (orientation: landscape) and (min-width: 640px) and (min-height: 360px) +
@media (orientation: portrait) and (min-width: 480px) +
@media (orientation: landscape) and (min-width: 667px)
@media (orientation: portrait) and (min-width: 360px) and (min-height: 760px) +
@media (orientation: landscape) and (min-width: 760px) and (min-height: 360px) +
@media (orientation: portrait) and (min-width: 375px) and (min-height: 812px) +
@media (orientation: landscape) and (min-width: 812px) and (min-height: 375px) +
@media (orientation: landscape) and (min-width: 932px) and (min-height: 430px) +
@media (orientation: portrait) and (min-width: 768px) and (min-height: 991px) +
@media (orientation: landscape) and (min-width: 991px) and (min-height: 768px) +
@media (orientation: portrait) and (min-width: 992px) and (min-height: 1199px) +
@media (orientation: landscape) and (min-width: 1024px) +
@media (orientation: landscape) and (min-width: 1199px) +
@media (orientation: landscape) and (min-width: 1599px) +
@media (orientation: landscape) and (min-width: 1920px)
@media (orientation: landscape) and (min-width: 2560px) */