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

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

:root {
    --max-width: 1500px;
    --text-color: white;        
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Montserrat';
}

.header {
    background: url('../images/header-background.jpg') no-repeat center/cover;
        
    min-height: 100vh;

    display: flex;    
    justify-content: center;
}

.header__wrapper {
    /* width: calc(80%);     */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.header__vert_wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;

    display: flex;
    flex-direction: row;	    

    align-items: center;    
}

.header__nav {
    /* width: calc(30%); */
}

.header__nav_items {
    display: flex;
    flex-direction: row;	
    justify-content: center;
}

.header__nav_item {
    padding: 5px 10px;
    color: var(--text-color);    
}

.header__nav_item a {    
    color: var(--text-color);
    font-weight: bold;
}


.header__messengers_items {
    display: flex;
    flex-direction: row;	
    align-items: center;

    justify-content: space-between;
}

.header__messengers_items > li {
    margin-right: 10px;
    /* max-height: 50px; */
}
.header__messengers_item--icon {    
    width: 50px;
    height: 50px;
}

.header__description {
    padding: 5px 140px;

    color: rgb(90, 81, 81);
}

.header__description h1 {
    font-size: 1.3rem;
}

.header__registration a {
    margin-left: 20px;

    color: var(--text-color);
    font-weight: bold;
}

.header__social_and_registration {
    display: flex;
    align-items: center;

    /* width: calc(30%); */
}

.header_description_text {
    text-align: center;
}

.header__register {
    padding: 20px 50px;
    /* border: 1px solid; */
    border-radius: 20px;
    margin-bottom: 100px;
    background-color: bisque;    

    align-self: center;

    font-weight: bold;
    color: rgb(95, 5, 5);
}

.header__date {
    text-align: center;
    color: rgb(95, 5, 5);
    font-weight: bold;
    font-size: 30px;

}


.about-forum {
    min-height: 70vh;
    
    display: flex;
    justify-content: center;
    flex-direction: column;

    background-image: url('../images/about-background.webp');
    background-size: cover;
}
.about-forum__wrapper {
    margin: 0 auto;
    max-width: var(--max-width);	
}

.about-forum__header, .for-whom__header {
    text-align: center;
}

.about-forum__co-header, .for-whom__co-header {
    text-align: center;
}

.about-forum__splash {
    font-weight: bold;
}

.about-forum__text, .for-whom__text {
    margin-top: 0;
    line-height: 25px;
    /* font-size: 1.5rem;     */
}
.about__forum__text--last {
    font-weight: bold;
}

.timer {
    display: flex;
    justify-content: center;

    padding-top: 3rem;
    padding-bottom: 5rem;
    
    background-image: url('../images/timer-background.jpg');
    background-size: cover;    
}

.timer__title {
    margin-bottom: 1.5rem;    

    text-align: center;
    font-size: 1.5rem;
}

.timer__wrapper {    
    max-width: var(--max-width);	    

    display: flex;    
    flex-direction: column;   
    justify-content: center;
    align-items: center;
    
    font-size: 3rem;
}

.timer__content {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
  
.timer__item {
    position: relative;
}
  
.timer__item::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: #424242;
}

.for-whom {
    min-height: 65vh;
    display: flex;

    background-image: url('../images/for-whom-background.jpg');
    background-size: cover;
}

.for-whom__wrapper {
    max-width: var(--max-width);	
    margin: 0 auto;

}

.for-whom__description {    
    /* min-height: 80vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.for-whom__text--bold {
    font-weight: bold;
}

.for-whom__register {
    padding: 20px;
    
    border-radius: 20px;
    margin-bottom: 10px;
    background-color: rgb(207, 180, 146);    

    align-self: center;    

    font-weight: bold;
    color: rgb(95, 5, 5);
}

.speakers__wrapper {
    max-width: var(--max-width);	
    margin: 0 auto;
}

.speakers__items {
    display: flex;
    flex-direction: row;

    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;

    margin-bottom: 30px;
}

.speakers__item {
    max-width: calc(50%);

    display: flex;
    flex-direction: row;

    margin-top: 50px;
}

.speakers__item_theme {
    font-weight: bold;
}

.speakers__item_description {
    margin-left: 20px;

    display: flex;
    flex-direction: column;
    justify-content: start;
}
.speakers__item_description--text {
    padding-right: 20px;
}

.what-else {
    padding-top: 100px;
    padding-bottom: 100px;
    /* min-height: 65vh; */
    /* display: flex; */

    background-image: url('../images/what-else-background.webp');
    background-size: cover;
}

.what-else__wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.what-else__header, .what-else__co-header {
    text-align: center;
}

.what-else__text--bold {
    text-align: center;
    font-weight: bold;
}

.what-else__text > li {
    margin-top: 10px;
}

.program {
    padding-top: 50px;
    padding-bottom: 50px;
}

.program__wrapper {
    max-width: var(--max-width);	
    margin: 0 auto;
    padding-top: 30px;
}

.program__header {
    text-align: center;
}

.program__items > li {
    margin-top: 15px;
    color: black;
}

.register__header {
    text-align: center;
}


.register__items {
    display: flex;
    flex-direction: row;
}

.register__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid hsl(49, 72%, 44%);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
}
.register__item--bold {
    font-weight: bold;
}

.register__item_header {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    background-color: #b1893f;
    border-radius: 10px;
}

.register {
    display: flex;
    justify-content: center;

    padding-top: 20px;
    padding-bottom: 20px;

    background-color: bisque;            
}

.register__button {    
    padding: 20px;
    
    border-radius: 20px;
    
    background-color: rgb(207, 180, 146);        

    font-weight: bold;
    color: rgb(95, 5, 5);

    align-self: center;
    justify-self: flex-end;
}

.register__wrapper {
    display: flex;
    flex-direction: column;
}

.register__back-to-top {
    align-self: flex-end;
    font-weight: bold;
    color: #b1893f;    
}

.register__list {
    flex-grow: 1;
}

.evening__block {
    background-image: url("../images/what-else-background.webp");
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 30px;
}
.evening__block_wrapper {
    padding: 20px;    
    margin: 0 auto;
    max-width: var(--max-width);	    
}

.evening__block_header {
    text-align: center;
}
.evening__items li {
    margin-top: 10px;
}

.address {
    padding-top: 20px;
    
    text-align: center;
    background-color: rgb(206, 157, 98);
}

.address--photo {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.address__text, .address__header {
  padding-left: 20px;
  padding-right: 20px;
}

.footer {    
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: bisque;
}

.footer__wrapper {
    max-width: var(--max-width);
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    justify-content: space-around;

    align-items: center;

    border-top: 1px dotted rgba(0,0,0,0.3) ;
}

.footer__text {
    text-align: center;
}


@media screen and (min-width: 200px) and (max-width: 1000px) {

  .header {
    max-height: 50vh;  
    background: url('../images/main-background-mobile.jpg') no-repeat center/cover;  
  }

  .header__vert_wrapper {    
    display: flex;
    flex-direction: column;	    

    align-items: center;    
  }

  .header__description {
    order: 3;

    padding-left: 10px;
    padding-right: 10px;

    color: rgb(90, 81, 81);
  }    

  .header__nav_item a , .header__registration a {
    color: black;
  }

  .header__social_and_registration {
    order: 2;
  }

  .header__nav {    
    margin-bottom: 1rem;
  }

  .speakers__wrapper {
      margin: 0 auto;
  }

  .speakers__items {      
      flex-direction: column;
      align-items: center;
      flex-wrap: nowrap;
      
      margin-bottom: 30px;
      padding: 30px;
  }      
  .about-forum {
      padding: 20px;
  }
  .for-whom {
      padding: 20px;
  }
  .what-else {
      padding: 20px;    
  }
  .program {
      padding: 20px;
  }
  

  .speakers__item {
    flex-direction: column;
    max-width: calc(100%);
    margin-bottom: 50px;
    margin-top: 0;

    border: 1px solid rgba(190, 153, 29, 0.3);
    border-radius: 10px;

    padding: 10px;
  }
  .speakers__item--photo {        
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    
  .speakers__item_description--title {
    text-align: center;
  }

  .footer__wrapper {
    flex-direction: column;
  }
  .footer {
    padding-bottom: 0;
  }

  .register__items {    
    flex-direction: column;
}

}

@media screen and (min-width: 1001px) and (max-width: 1366px) {
    
    .header__description {
        padding-left: 10px;
        padding-right: 10px;

        max-width: calc(30%);
    }    

    .header__nav, .header__social_and_registration {
        flex-grow: 2;
    }
    
    .about-forum {
        padding: 20px;
      }
      .for-whom {
        padding: 20px;
      }
      .what-else {
        padding: 20px;    
      }
      .program {
        padding: 20px;
      }
      .speakers__items {      
        margin-bottom: 30px;
        padding: 30px;
      }  
      .speakers__item {
        flex-direction: column;
        width: calc(100%);
        
        margin-bottom: 50px;        
        margin-top: 0;

        border: 1px solid rgba(190, 153, 29, 0.3);
        border-radius: 10px;        

        padding: 20px;
      }
     
      .speakers__items {      
        flex-direction: column;
        align-items: center;
         
        margin-bottom: 30px;
        padding: 30px;
      }  
      
      .speakers__item--photo {            
        object-fit: contain;
        width: 100%;
        height: 100%;
      }
}

@media screen and (min-width: 1368px) and (max-width: 1500px) {
    .header__description {
        padding-left: 10px;
        padding-right: 10px;

        max-width: calc(40%);
    }    
    .speakers__items {          
        padding: 20px;
    }  
    .about-forum {
        padding: 20px;
      }
      .for-whom {
        padding: 20px;
      }
      .what-else {
        padding: 20px;    
      }
      .program {
        padding: 20px;
      }
      .speakers__item--photo {
        /* max-width:320px; */
        max-height:320px;
        width:auto;
        height:auto;
    }
}

@media screen and (min-width: 1501px) {
    .header__description {
        padding-left: 100px;
        padding-right: 100px;
        
        max-width: calc(40%);
    }    

    .speakers__item--photo {
        /* max-width:320px; */
        max-height:320px;
        width:auto;
        height:auto;
    }
    
}



