@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: auto;
    background: white;
    position: relative;
}
/*
@media (min-width: 801px) {
    body.main-page .lang-wrapper {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1200;
    }
}
body.main-page .lang-wrapper .lang{
    color: #fff;
}
*/
.line-menu{
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 0.7em;
    letter-spacing: 1px;
    flex-wrap: wrap;
    background: rgb(244, 130, 50);

}
.line-menu-btn{
    position: relative;
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.line-menu-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.line-menu-btn:hover::after {
    width: 100%;
}

.logo-top{
    position: fixed;
    top: 30px;
    z-index: 9;
    width: 100%;
    height: 270px;
    background: url("../icons/top.png") no-repeat bottom center;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.event-info-wrapper{
    display: flex;
    width: 100%;
}
.event-place {
    width: 35%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    box-sizing: border-box;
    letter-spacing: 2px;
    font-size: 1em;
    color: #222;
}

.date {
    display: flex;
    gap: 8px;
    font-size: 1.2em;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.date-first {
    font-weight: 600;
}

.turkey {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.int-conf {
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
}

.conference {
    color: #444;
}

.event-date-registration{
    width: 35%;
    display: flex;
    flex-direction: column;
    height: 70%;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    font-size: 1.1em;
}

.event-logo{
    width: 30%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.event-logo img{
    width: 260px;
}

.event-date-registration{
    display: flex;
    flex-direction: column;
}

.table {
    border: 1px solid #ddd;
    font-size: 0.9em;
    width: 280px;
    margin-bottom: 7px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background: #fff;
}

.before-start {
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 4px;
    font-weight: 600;
    font-size: 1em;
    color: #444;
    background: #f7f7f7;
}

.day-month-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.month-wrapper,
.days-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
}

.month-wrapper {
    border-right: 1px solid #eee;
}

.month-figure,
.days-figure {
    font-size: 2em;
    font-weight: 700;
    color: #f48232;
    line-height: 1.2;
}

.month,
.days {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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 {
    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%);
}

@media (min-width: 801px){
    .btn:hover {
        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;
    }
}

.content-wrapper{
    margin-top: 260px;
}


.slider{
    position: relative;
    z-index: 1;
    margin-top: -70px;
    height: 230px;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 8% !important;

}

.slider-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.slider-layer.hidden {
    opacity: 0;
}

.devider{
    width: 100%;
    height: 5px;
    background: #f48232;
}

.logo-block{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.logo-container{
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.partners-outer-wrapper{
    display: flex;
    flex-direction: column;
    width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.partners-inner-wrapper{
    display: flex;
    justify-content: center;
}

.partner-logo-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 70px;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.partner-logo img {
    width: 200px;
    display: block;
}
.partner{
    color: #f48232;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
}

.logo-link:hover{
    cursor: pointer;
}

/* высота с slider от высоты экрана*/
@media (min-height:675px){.slider{height:250px}}
@media (min-height:775px){.slider{height:300px}}
@media (min-height:875px){.slider{height:350px}}
@media (min-height:975px){.slider{height:425px}}
@media (min-height:1075px){.slider{height:500px}}
@media (min-height:1175px){.slider{height:550px}}
@media (min-height:1275px){.slider{height:650px}}
@media (min-height:1375px){.slider{height:700px}}
@media (min-height:1475px){.slider{height:750px}}
@media (min-height:1575px){.slider{height:800px}}
@media (min-height:1675px){.slider{height:850px}}
@media (min-height:1775px){.slider{height:900px}}
@media (min-height:1875px){.slider{height:950px}}

@media (min-width: 1550px) {
    .logo-top{
        height: 290px;
    }
    .event-logo img{
        width: 280px;
    }
    .partner-logo img {
        width: 200px;
    }
}

@media (min-width: 1750px){
    .partners-outer-wrapper{
        width: 300px;
    }
    .logo-top{
        height: 310px;
    }
    .event-logo img{
        width: 290px;
    }
    .partner{
        font-size: 1.1em;
    }
}

@media (min-width: 2000px){
    .logo-top{
        height: 340px;
    }
    .event-logo img{
        width: 320px;
    }
    .partner{
        font-size: 1.2em;
    }
    .partner-logo img {
        width: 240px;
    }

    .partners-outer-wrapper{
        margin-bottom: 30px;
    }
}

@media (min-width: 2200px){
    .partners-outer-wrapper{
        width: 350px;
    }
    .event-logo img{
        width: 340px;
    }
    .logo-top{
        height: 360px;
    }
    .partner{
        font-size: 1.3em;
    }
}

@media (min-width: 2400px){
    .event-logo img{
        width: 370px;
    }
    .logo-top{
        height: 380px;
    }
    .partner{
        font-size: 1.4em;
    }
}

@media (min-width: 2600px){
    .event-logo img{
        width: 400px;
    }
    .logo-top{
        height: 400px;
    }
}
/* width < 1000*/
@media (max-width: 1150px){
    .event-logo img{
        width: 240px;
    }
    .logo-top{
        height: 250px;
    }
    .int-conf{
        font-size: 1.5em;
    }
    .slider{
        height: 170px;
    }
    .date{
        margin-bottom: 0;
    }
    .line-menu-btn{
        padding: 5px 5px;
        font-size: 0.8em;
    }
}
@media (max-width: 1000px){
    .event-logo img{
        width: 210px;
    }
    .logo-top{
        height: 230px;
    }
    .int-conf{
        font-size: 1.2em;
    }
    .slider{
        height: 170px;
    }
    .date{
        font-size: 1em;
    }
    .date-first{
        font-weight: 500;
    }
    .table{
        width: 260px;
    }
    .partner{
        font-size: 0.7em;
    }
    .partner-logo img {
        width: 130px;
    }
}

@media (max-width: 950px){
    .event-logo img{
        width: 190px;
    }
    .logo-top{
        height: 210px;
    }
    .int-conf{
        font-size: 0.8em;
        margin-bottom: 12px;
    }
    .event-date-registration, .event-place{
        height: 80%;
    }
    .table{
        width: 240px;
    }
    .before-start{
        padding: 2px;
        font-weight: 500;
        font-size: 0.9em;
    }
}

@media (max-width: 850px){
    .event-logo img{
        width: 200px;
    }
    .logo-top{
        height: 210px;
    }
    .int-conf{
        font-size: 0.7em;
    }
    .event-date-registration, .event-place{
        height: 80%;
    }
    .table{
        width: 240px;
    }
    .before-start{
        padding: 2px;
        font-weight: 500;
        font-size: 0.9em;
    }
}
@media (max-width: 800px){
    .line-menu{
        display: none;
    }
    .logo-top{
        top: 0;
    }
    .event-date-registration, .event-place{
        height: 90%;
    }
    .event-logo img{
        width: 180px;
    }
    .logo-top{
        height: 190px;
    }
    .int-conf{
        font-size: 0.6em;
        margin-bottom: 5px;
    }
    .date, .turkey{
        font-size: 0.7em;
    }
    .date{
        margin-bottom: 5px;
    }
    .table{
        width: 150px;
        font-size: 0.6em;
    }
   .btn{
       font-size: 0.7em;
       width: 120px;
       height: 30px;
   }
   .content-wrapper{
       margin-top: 190px;
   }
   .slider{
       margin-top: -60px;
       height: 40vh;
   }
    .partner{
        font-size: 0.6em;
    }
    .partner-logo img {
        width: 80px;
    }
    .partner-logo-wrapper{
        height: 35px;
    }
}
@media (max-width: 700px){
    .event-logo img{
        width: 170px;
    }
    .logo-top{
        position: relative;
        height: 160px;
        background: #fff;
    }
    .event-place{
        padding-left: 20px;
        letter-spacing: 1px;
    }
    .event-info-wrapper{
        justify-content: center;
        box-sizing: border-box;
    }
    .event-logo{
        padding-top: 3px;
    }
    .devider{
        height: 1.5px;
    }
    .int-conf{
        letter-spacing: 3px;
    }
    .content-wrapper{
        margin-top: 0;
    }
    .table{
        width: 120px;
        font-size: 0.5em;
        margin-bottom: 20px;
    }
    .partners-outer-wrapper{
        margin-bottom: 5px;
    }
    .slider{
        margin-top: -10px;
    }
    .partner{
        font-size: 0.5em;
    }
}

@media (max-width: 600px){
    .event-date-registration{
        justify-content: flex-end;
        height: 100%;
    }
    .event-place{
        justify-content: flex-end;
        height: 100%;
    }
    .event-logo img{
        width: 160px;
    }
    .date{
        font-size: 0.6em;
    }
    .table{
        margin-bottom: 10px;
    }
    .partner-logo img {
        width: 70px;
    }
}
@media (max-width: 500px){
    .event-place{
        padding-left: 5px;
    }
    .event-logo img{
        width: 150px;
    }
    .logo-top{
        padding-top: 20px;
    }
}
@media (max-width: 450px){
    .event-info-wrapper{
        height: 100%;
    }
   .registration{
       margin-bottom: 10px;
   }

    .aga-logo img{
        width: 50px;
    }
    .logo-top{
        height: 140px;
    }
    .turkey{
        letter-spacing: 1px;
    }
    .date{
        font-size: 0.5em;
        letter-spacing: 1px;
    }
    .int-conf{
        font-size: 0.6em;
        letter-spacing: 1px;
    }
    .table{
        width: 100px;
        font-size: 0.5em;
        margin-bottom: 5px;
    }
}
@media (max-width: 400px){
    .event-logo img{
        width: 130px;
    }
  .partner{
      text-align: center;
  }
}

@media (max-width: 380px){
    .event-logo img{
        width: 120px;
    }
    .turkey, .date{
        letter-spacing: 0;
    }
}


@media (max-width: 350px){
    .event-logo img{
        width: 100px;
    }
    .table{
        width: 90px;
        margin-bottom: 4px;
    }
    .before-start{
        font-size: 0.8em;
    }
    .date{
        font-size: 0.4em;
        letter-spacing: 0;
    }
    .turkey{
        letter-spacing: 1px;
        font-size: 0.5em;
    }
    .int-conf{
        font-size: 0.5em;
    }
    .btn{
        font-size: 0.6em;
        font-weight: 600;
        width: 100px;
        height: 30px;
    }
}