@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", serif;
    width: 100vw;
    height: 100vh;
    background: white;
    position: relative;
    overflow: hidden;
}

.contacts-top{
    width: 100%;
    height: 60vh;
    z-index: 3;
    background: url("../icons/wave_contacts.png") no-repeat bottom center;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.line-menu{
    display: flex;
    justify-content: space-around;
    width: 85%;
    font-size: 0.8em;
    margin-top: 30px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.btn-wrapper{
    margin-top: 10px;
}

.btn{
    color: black;
    text-decoration-color: rgba(242,102,2,1);
    text-underline-offset: 3px;
    transition: all ease-in-out 500ms;
}

.btn:hover{
    font-weight: 600;
}

.main-wrapper{
    display: flex;
    height: 100%;
    width: 100%;
}

.contacts-block-wrapper{
    width: 25%;
    height: 85%;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-right: 20px;
    padding-left: 30px;
    box-sizing: border-box;
}

.contacts, a.contacts{
    text-decoration: none !important;
}

.logo{
    margin-right: 20px;
}

.logo img{
    width: 150px;
}

.devider{
    border-bottom: 2px solid green;
    margin-top: 5px;
    margin-bottom: 5px;
}

.contacts-name{
    font-weight: 700;
    margin-top: 10px;
}

.contacts-descr{
    font-size: 0.8em;
}

.contacts-descr-second{
    margin-top: 15px;
}

.apk-logo{
    margin-bottom: 10px;
}

.registration-wrapper{
    box-sizing: border-box;
    width: 25%;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conf-logo{
    text-align: center;
}
.conf-logo img{
    width: 60%;
}

.month{
    margin-top: 5px;
    font-size: 1.2em;
    letter-spacing: 1px;
    text-align: center;
}

.turkey{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.contacts-bottom {
    position: absolute;
    top: 25vh;
    bottom: 0;
    height: 80vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.bg-layer.hidden {
    opacity: 0;
}

.reg-btn-wrapper {
    display: inline-block;
    padding: 2px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 5%,rgba(0,0,0,0.65) 17%,rgba(0,0,0,0) 24%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 29%,rgba(0,0,0,0) 61%,rgba(0,0,0,0) 78%,rgba(0,0,0,0.12) 83%,rgba(0,0,0,0.44) 97%);
    opacity: 0.9;
}

.reg-btn-wrapper {
    display: inline-block;
    padding: 2px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 5%,rgba(0,0,0,0.65) 17%,rgba(0,0,0,0) 24%,rgba(0,0,0,0) 25%,rgba(0,0,0,0) 29%,rgba(0,0,0,0) 61%,rgba(0,0,0,0) 78%,rgba(0,0,0,0.12) 83%,rgba(0,0,0,0.44) 97%);
    opacity: 0.9;
}

.btn-a {
    width: 160px;
    height: 35px;
    border: none;
    border-radius: 40px;
    background: white;
    color: #ef1616;
    font-size: 0.9em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all ease-in-out 500ms;
}

.reg-btn {
    color: white;
    background: linear-gradient(to bottom, rgba(173,21,1,1) 0%,rgba(242,102,2,1) 19%,rgba(251,149,94,1) 100%);
}

.reg-btn:hover{
    letter-spacing: 1.2px;
}

@media (min-width: 1701px) and (max-width: 1900px){
    .contacts-top{
        height: 53vh;
    }
}

@media (min-width: 1500px) and (max-width: 1700px){
    .contacts-top{
        height: 60vh;
    }
}

@media (min-width: 1201px) and (max-width: 1300px){
    .contacts-top{
        height: 70vh;
    }
}

@media (min-width: 1001px) and (max-width: 1200px){
    .contacts-top{
        height: 70vh;
    }
}

@media (min-width: 801px) and (max-width: 1000px){
    .contacts-top{
        height: 75vh;
    }
}
@media (min-width: 2000px){
    .contacts-block-wrapper{
        font-size: 1.5em !important;
    }
}

@media (min-width: 1600px){
    .contacts-block-wrapper{
        font-size: 1.3em !important;
    }
}

@media (min-width: 1300px){
    .contacts-block-wrapper{
        font-size: 1.1em;
    }
}
@media (max-width: 1070px){
    .contacts-block-wrapper{
        padding-right: 5px;
        padding-left: 20px;
        font-size: 0.8em;
    }
    .contacts-name{
        margin-top: 5px;
    }
    .month, .turkey{
        font-size: 1em;
    }
    .line-menu{
        font-size: 0.7em;
    }
}

@media (max-width: 900px){
    .contacts-block-wrapper{
        padding-right: 2px;
        padding-left: 15px;
        font-size: 0.8em;
    }
    .month, .turkey{
        font-size: 0.9em;
    }
}

@media (max-width: 800px){

    .line-menu{
        display: none;
    }
    .main-wrapper{
        flex-direction: column;
    }
    .contacts-block-wrapper, .registration-wrapper{
        width: 90%;
    }
    .contacts-block-wrapper{
        padding-left: 30px;
        margin-right: 30px;
        font-size: 1em;
        color: white;
    }
    .contacts-bottom{
        display: none;
    }
    .contacts-top{
        height: auto;
        min-height: 100vh;
        /*   background-color: rgba(0, 0, 0, 0.6);
           background-blend-mode: darken;
           background-color: rgba(255, 255, 255, 0.7);
           background-blend-mode: lighten; */
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .month, .turkey{
        font-size: 1.1em;
        color: white;
    }
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }
    .registration{
        margin-bottom: 10px;
    }
    .bg-layer {
        background-color: rgba(0, 0, 0, 0.6);
        background-blend-mode: darken;
    }
    .registration{
        margin-bottom: 30px;
    }
    .contacts, a.contacts{
        text-decoration: none !important;
        color: white !important;
    }
}