:root {
    --app-bg-primary: #0C0F0D;
    --app-color: #F5F4F1;
    --button-border: 1px solid var(--app-color);
    --app-hover: #F5F4F133;
    --button-border-hover: 1px solid var(--app-hover);
}

html, body{ padding: 0; margin: 0; }

body{
    background: var(--app-bg-primary) url(../img/bg.jpg) no-repeat center center fixed;
    background-size: cover;
    /*font-family: 'Aeonik', 'Arial', sans-serif;*/
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
    width:100%;
    height: 100vh;
    color: var(--app-color);
    letter-spacing: 2%;
}
.header{
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}
.header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%)
}

h1{ font-size: 43px; line-height: 52px; font-weight: 400; margin-top:62px; margin-bottom: 62px; }

.logo-header{
    position: absolute;
    left:50px;
    top:50px;
}

.logo-header img{
    display: block;
    height:170px;
    top:50px;
    left:50px;
}

a{ text-decoration: none; color: var(--app-color);}
a:hover{ text-decoration: none; color: var(--app-color);}

a.link{ text-decoration: underline}

.button{
    border: var(--button-border);
    color: var(--app-color);;
}

.button-container{
    position: absolute;
    right:50px;
    top:50px;
}

.button-contact{
    border-radius: 240px;
    background:none;
    font-size: 25px;
    line-height: 30px;
    /*font-weight: 500;*/
    text-align:center;
    position: relative;
    overflow: hidden;
    width: 420px;
    height: 170px;
    transition: all 0.4s ease-in-out;
}
.button-contact:hover,
.button-contact.active{
    border: var(--button-border-hover);
}

.button-contact-none{ display: none;}

.button-flex{
    position: absolute;
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}
.button-cover-out{
    top:0px;
}
.button-cover{
    bottom: -200px;
    background:  var(--app-hover);
    opacity: 0;

}
.button-contact:hover .button-cover,
.button-contact.active .button-cover{
    bottom: 0px;
    opacity: 1;
}

.button-contact:hover .button-cover-out,
.button-contact.active .button-cover-out{
    top: -200px;
    opacity: 0;
}


.upper{
    text-transform: uppercase;
}


footer{
    position: absolute;
    width:calc(100% - 100px);
    bottom:50px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    display: none;
}
.links{
    display: flex;
    gap:15px;
    flex-wrap: wrap;
}

.links a{
    border: var(--button-border);
    font-size: 14px;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 30px;
    text-wrap: nowrap;
}
.links a:hover{
    background: var(--app-hover);
}

.bottomfixed{
    position: absolute;
    top:-200px;
}

.text{
    font-size: 22px;
}

.info{
    font-size: 25px;
    max-width: 630px;
    line-height: 30px;
}


.footer{
    overflow: hidden;
    position: absolute;
    width:calc(100% - 100px);
    bottom:50px;
    padding: 0 50px;
}

.footer-title{ min-width: 360px; float:left; margin-bottom: 20px; }
.footer-content{ width:1240px; max-width:calc(100% - 380px); float:right; }

.clear{
    clear: both;
}

.footer-mt{
    margin-top: 60px;
}

@media screen and (max-width: 1200px),
screen and (max-height: 850px) {
    .br{ display: none;}

    .header{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
    }
    .logo-header{
        position: relative;
        padding: 50px 50px 0 50px;
        top:0;
        left:0;
    }

    .footer-content, .footer-title{
        float: none;
        clear: both;
        width: 100%;
        max-width: none;
    }
    .info{ max-width: 720px ;}

    .footer{
        position: relative;
        top:0; left: 0;
        right:0; bottom:0;
        width:auto;
        padding: 0 50px;
    }

    h1 {
        font-size: 34px;
        line-height: 45px;
    }
    .text{ font-size: 18px; }
    .info{ font-size: 18px; line-height: 28px; }

    .links{ margin-bottom: 50px;}

}


@media (min-width: 760px) and (max-width: 1200px) and (min-height: 800px) {
    .footer-links{ position: fixed; bottom:0;}

}

@media screen and (max-width: 1150px){
    .logo-header img{ height:120px; }
    .button-contact{ width: 300px; height: 120px; font-size: 20px; }
}


@media screen and (max-width: 900px){
    .logo-header img{ height:100px; }
    .button-contact{ width: 260px; height: 100px; font-size: 16px; line-height: 24px; }
}

@media screen and (max-width: 760px){

    .button-container{ display: none; }
    .button-contact-none{ display: block; margin-top:60px; }

    .logo-header img{
        height: auto;
        width: 100%;
    }
    .button-contact{
        width: 100%;
        font-size: 18px;
        line-height: 28px;
        height: 130px;
    }
    .button-flex{}

}


@media screen and (max-width: 600px){
    .logo-header{ margin:0; padding: 20px 20px 0px 20px; }
    .footer{ padding: 0 20px; }
}
