@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.woff2') format('woff2'),
    url('../fonts/Raleway-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.woff2') format('woff2'),
    url('../fonts/Raleway-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root{
    --vh:0;
}
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}
body {
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
    outline: none !important;
    transition: all .3s ease;
}
a:hover{
    text-decoration: none;
}

.homepage-section {
    height: 100vh;
    display: flex;
}

@media (max-width: 1200px){
    .homepage-section {
        height: calc((var(--vh, 1vh) * 100));
    }
}

@media (max-width: 992px){
    .homepage-section {
        flex-wrap: wrap;
    }
}

.flex-div{
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
    transition: all .3s ease-in-out;
}
@media (max-width: 992px){
    .flex-div{align-items: flex-start}
}

.inner {
    width: 50vw;
    position: relative;
    padding: 20px 60px;
    text-align: center;
}
@media(max-width: 992px){
    .inner{
        width: 100%;
        height: 50vh;
    }
}
.img-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.img-wrap img{
    width: 100%;
    height: auto;
    opacity: 0;
    margin-bottom: -30px;
    transition: all .3s ease;
    animation: logo-show 1s ease-in-out 1s forwards;
}

a {
    display: block;
    color: #896736;
    font-size: 40px;
    text-transform: uppercase;
    transition: all .3s ease;
    font-family: 'Playfair Display', serif;
}
@media (max-width: 1440px){
    .img-wrap{
        max-width: 500px;
    }
    a {
        font-size: 30px;
    }
}
@media (max-width: 1200px){
    .img-wrap img{
        height: auto;
        width: 100%;
    }

}
@media (max-width: 475px){
    a {
        font-size: 20px;
    }
}
a:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
a:hover{
    color: white;
}

@media (max-width: 1440px){
    .inner {
        padding: 20px 30px;
    }
}
@media (max-width: 992px){
    .img-wrap{
        top: 50%;
        transform: translateY(-50%);
    }
}
@media (max-width: 768px){
    .img-wrap{
        width: 100%;
    }
}

.img-wrap:hover img{
    filter: brightness(0) invert(100%);
}

.text-wrap {
    position: absolute;
    /*right: 0;*/
    right: calc((70vw - 420px) / 7.17);
    width: 20vw;
    padding: 20px 0;
    display: block;
    opacity: 0;
    z-index: -1;
    text-align: center;
    transition: all .3s ease;
}
@media (max-width: 1681px){
    .text-wrap {
        padding: 20px 0;
    }
}
@media (min-width: 1200px){
    .text-wrap{
        transform: translateY(30%);
    }
}
@media (max-width: 1200px){
    .inner{
        width: 100%;
    }
    .text-wrap{
        bottom: 10%;
        width: 100%;
    }
}
@media (max-width: 992px){
    .text-wrap{
        width: 100%;
        top: calc(50vh - 60px);
        transform: translateY(-20%);
    }
}

@media (max-height: 1050px) and (max-width: 1200px){
    .text-wrap{
        bottom: 0;
    }
}
.text-wrap h1,h2{
    font-size: 26px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-indent: -99999px;
}
.text-wrap p{
    color: #777;
    font-size: 16px;
    margin-bottom: 30px;
}
@media(max-width: 768px){
    .text-wrap {
        padding: 20px 30px;
    }
    .text-wrap h1,h2{
        font-size: 20px;
        margin-bottom: 10px;
    }
    .text-wrap p{
        font-size: 14px;
        margin-bottom: 20px;
    }
    .text-wrap .btn-primary{
        font-size: 14px;
        padding: 10px 20px;
    }
}


.btn-primary{
    position: relative;
    color: white;
    background: black;
    border: 1px solid #896736;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease;
    transform-origin: center;
    display: inline-block;
}
.btn-primary:hover{
    background: #896736;
}

.flex-div.right {
    background: #ffffff;
    justify-content: flex-end;
}
.flex-div.right.active{
    justify-content: flex-end;
}

.flex-div.right .text-wrap{
    right: unset;
    /*left: 0;*/
    left: calc((70vw - 420px) / 7.57);
}

.flex-div.right .inner .img-wrap a{
    color: #000000  ;
}
.flex-div.right .inner .img-wrap a:hover{
    color: #000000;
}

.flex-div.right .inner:hover .img-wrap img{
    filter: brightness(0);
}

.flex-div.right .text-wrap h1, .flex-div.right .text-wrap h2{
    color: black;
}
.flex-div.right .text-wrap .btn-primary {
    color: black;
    background: white;
    border: 1px solid black;
}
.flex-div.right .text-wrap .btn-primary:hover{
    background: black;
    color: white;
}
@media(max-width: 1200px) {
    .flex-div .text-wrap {
        right: 0;
    }

    .flex-div.right .text-wrap {
        left: 0;
    }
}

@media(max-width: 992px){
    .flex-div .inner .img-wrap img {
        height: auto;
        max-width: 500px;
        animation: logo-show-mobile 1s ease-in-out 1s forwards;
    }
}

@media(max-width: 475px){
    .flex-div .inner .img-wrap img {
        max-width: 260px;
    }
}

.flex-div .inner a{
    opacity: 0;
    animation: opacity-text .7s ease-in-out 1.4s forwards;
}

.left {
    width: 100%;
    animation: left-start 1.2s ease-in-out 0.2s forwards;
}
@media(max-width: 992px){
    .left {
        animation: left-start-mobile 1.2s ease-in-out 0.2s forwards;
    }
    .left .inner .img-wrap{
        transform: translateY(-70%);
    }
    .right .inner .img-wrap{
        transform: translateY(-65%);
    }
}

@media(max-width: 768px){
    .left .inner .img-wrap{
        transform: translateY(-75%);
    }
}

.right {
    width: 0;
    animation: right-start 1.2s ease-in-out 0.2s forwards;
}
@media(max-width: 992px){
    .right {
        width: 100%;
        animation: right-start-mobile 1.2s ease-in-out 0.2s forwards;
    }
}
.right .inner .img-wrap img {
    animation: logo-show 1s ease-in-out 1.4s forwards;
}
@media(max-width: 992px){
    .right .inner .img-wrap img {
        animation: logo-show-mobile 1s ease-in-out 1.4s forwards;
    }
}

.right .inner .img-wrap a {
    animation: opacity-text .7s ease-in-out 1.8s forwards;
}

.flex-div {
    position: relative;
    overflow: hidden;
    transition-delay: .3s;
    transition: all .5s ease;
}
.flex-div.active{
    opacity: 1;
    width: 70% !important;
    justify-content: flex-start;
}
.flex-div.active .text-wrap{
    z-index: 1;
    animation: opacity-text .6s ease-in-out forwards;
}

.flex-div.small{
    width: 30% !important;
    justify-content: unset;
}
.flex-div.small .inner {
    width: 100%;
}
.flex-div.small .inner img{
    width: 100% !important;
    height: auto !important;
    max-width: 400px;
}

@media(max-width: 992px){
    .flex-div.active{
        width: 100% !important;
        height: 80% !important;
    }
    .flex-div.small {
        width: 100% !important;
        height: 20% !important;
    }
    .flex-div.small .inner{
        height: 20vh;
    }
    .flex-div.small .inner img{
        width: 100% !important;
        height: auto !important;
        max-width: 150px;
    }
    .flex-div.small .img-wrap a{
        font-size: 0;
    }
}

.init .flex-div {
    animation: unset;
    width: 50%;
    height: 100%;
}
@media (max-width: 992px){
    .init .flex-div {
        width: 100%;
        height: 50%;
    }
}

@keyframes left-start {
    0%   {width: 100%}
    100% {width: 50%}
}

@keyframes right-start {
    0%   {width: 0%}
    100% {width: 50%}
}

@keyframes left-start-mobile {
    0%   {height: 100%}
    100% {height: 50%}
}

@keyframes right-start-mobile {
    0%   {height: 0%}
    100% {height: 50%}
}

@keyframes logo-show {
    0%   {opacity: 0; margin-bottom: -30px;}
    50%  {opacity: 0; margin-bottom: -30px;}
    100% {opacity: 1; margin-bottom: 0;}
}

@keyframes logo-show-mobile {
    0%   {opacity: 0; margin-bottom: -30px;}
    50%  {opacity: 0; margin-bottom: -30px;}
    100% {opacity: 1; margin-bottom: 0;}
}

@keyframes opacity-text {
    0%   {opacity: 0}
    50%  {opacity: 0}
    100% {opacity: 1}
}
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-track{
    background-color: #e5e5e5;
    border-radius: 100vw;
    margin: 3px 0;
}
::-webkit-scrollbar-thumb{
    background: black;
    border: 3px solid #e5e5e5;
    border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
    background: black;
}
/*FOR FIREFOX*/
@supports (scrollbar-color: black #e5e5e5) {
    *{
        scrollbar-color: black #e5e5e5;
        scrollbar-width: thin;
    }
}