@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2'),
    url('../fonts/CormorantGaramond-Light.woff') format('woff');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff');
}

*:not(head),*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 2%;
}

.navigation ul {
    list-style-type: none;
}

/*Header*/

header {
    margin-bottom: 20px;
}

header a {
    color: black;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    width: 70%;
}

.header-top-left h1 {
font-family: 'Cormorant Garamond', serif;
font-size: 40px;
font-stretch: 100%;
font-style: normal;
font-weight: 300;
letter-spacing: 0.07em;
line-height: normal;
text-align: start;
}

.header-top-right {
    width: 20%;
}

.navigation-header {
    display: flex;
    justify-content: flex-end;
}

.navigation-header a {
    text-decoration-line: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-stretch: 100%;
    font-style: normal;
    font-weight: 400;
    padding-left: 9%;
}

.navigation-header a:first-of-type {
    color: rgb(148, 61, 61);
}


hr {
    margin-top: 1.1%;
    margin-bottom: 1.1%;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-bottom-left h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    font-stretch: 100%;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    }

.social {
    display: flex;
}

.social a {
    margin-left: 25px;
    color: black;
}


/*Main*/

main {
    margin-top: 30px;
}

.gallery {
    display: flex;
}

.flex-adaptive {
    display: flex;
    width: 50%;
}

.flex-adaptive:first-of-type {
    padding-right: 2.382%;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.gallery-column:first-of-type {
    padding-right: 5%;
}

.gallery-item {
    position: relative;
    margin-bottom: 9.91%;
    cursor: pointer;
}

img {
    width: 100%;
    height: 100%;
    position: relative;
}

.img-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #00000082;
    color: white;
    transition: 0.4s;
    opacity: 0;
    z-index: -1;
}

.gallery-item:hover .img-hover {
    z-index: 1;
    opacity: 1;
}

.img-hover span {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

/*Footer*/

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-stretch: 100%;
    font-style: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
    vertical-align: baseline;
}


/*scroll-button*/

.back_to_top {
    position: fixed;
    bottom: -40px;
    right: 40px;
    z-index: 9999;
    width: 50px;
    height: 40px;
    text-align: center;
    line-height: 35px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border: 1px #b0b2b3 solid;
    border-radius: 10px;
    transition: 0.4s;
    opacity: 0;
  }
  
  .back_to_top:hover {
    background: #b0b2b3;
    transition: 0.4s;
  }
  
  .back_to_top-show {
    bottom: 80px;
    transition: 0.4s;
    opacity: 1;
  }

/*adaptive*/

@media screen and (max-width: 750px) {
    .flex-adaptive {
        flex-direction: column;
        padding-right: 0;
    }

    .flex-adaptive:first-of-type {
        padding-right: 4%;
    }

    .flex-adaptive .gallery-column {
        width: 100%;
        padding-right: 0;
    }

    .gallery-item {
        margin-bottom: 8%;
    }

}

@media screen and (max-width: 540px) {
    .navigation-header {
        flex-direction: column;
    }

    .navigation-header a {
        margin-bottom: 5%;
        margin-top: 4%;
        padding-left: 0;
    }
}

@media screen and (max-width: 450px) {
    .navigation-header a {
        padding-left: 0;
        margin-bottom: 7%;
        margin-top: 6%;
    }

    .social a:last-of-type {
        margin-right: 20px;
    }

    body {
        margin-bottom: 6%;
    }

    main {
        margin-top: 0;
    }
}