/*Удаление всех полей и отступов*/
* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    
}
/*Стилизация шапки сайта*/
.container {
    width: 1920px;
    height: 100px;
    background-color: rgb(2, 2, 53);
    display: grid; 
}
.header {
    font-family:  'rubicon', sans-serif;
    text-transform: uppercase;
    color: white;
    margin-left: 700px;
    margin-top: 30px;
}
/*Меню сайта*/
.menu {
    width: 1900px;
    height: 35px;
    background-color: rgb(190, 190, 190);
    padding: 0 20px;
}
.menu_list {
    position: relative;
    max-width: 1366px;
    margin: 0 auto;
    margin-top: 100px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}
.menu_list_2 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}
.menu_link {
    padding: 20px;
    text-decoration: none;
    color: black;
    display: block;

}
.menu_link_2 {
    margin: -5px;
    margin-top: -15px;
    padding: 20px;
    text-decoration: none;
    color: black;
    display: block;

}
.menu_link:hover {
    padding: 20px;
    text-decoration: none;
    color: rgb(236, 9, 9);
    display: block;
    
}
.menu_link_2:hover {
    padding: 20px;
    text-decoration: none;
    color: rgb(236, 9, 9);
    display: block; 
}
.selected-lang {
    cursor: pointer;
    padding-left: 300px;
}
.selected-lang a {
    color: rgb(248, 244, 3);
    text-decoration: none;
}
.selected-lang  {
    text-transform: uppercase;
    
}
.selected-lang a:hover {
    color: white;

}
/*Меню-гамбургер*/
.burger {
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    margin-left: 1840px;
    margin-top: 7px;
    display: none;

    
}
.burger:hover {
    cursor: pointer;
}
.burger span {
    transition: all 0.3s;
    height: 3px;
    background-color: red;
    display: block;
    width: 30px;
    margin: 5px;
}
/*Создание слайдера*/
.slider {
    width: 1700px;
    height: 245px;
   
    
}
.slider img {
    width: 70%;
    margin-left: 300px;
}
/*Боковые изображения*/
.Dali-Paganini {
  position: relative;
  left: 70px;
  top: 420px;
}
.Einstein {
    
    margin-top: 5px;
    margin-left: 1480px;
}
/*Видеологотип*/
.videocontainer video {
    width: 40%;
    margin-left: 600px;
    margin-top: -2215px;
}
/* Цитата Альберта Эйнштейна */
.text {
    width: 75%;
    max-width: 1000px;
    max-height: 800px;
    font-family: 'Gill Sans' sans-serif;
    font-size: 32px;
    padding-left: 530px;
    margin-top: 40px;
    color: rgb(243, 11, 11);

}
/* Подпись Альберта Эйнштейна */
.signature {
    width: 75%;
    max-width: 1000px;
    max-height: 800px;
    margin-left: 1400px;
    font-size: 20px;
    margin-top: 70px;
    color: rgb(245, 11, 11);
    display: block;   
}
/* Футер */
.footer {
    width: 1900px;
    height: 100px;
    background-color: rgb(2, 2, 53);
    margin-top: 300px;
}
 .text_2 {
    margin-top: 100px;
    margin-left: 1100px;
    color: rgb(248, 243, 243);
}
/* Медиа-запросы */
@media (max-width: 1366px) {
    .header {
        font-family:  'rubicon', sans-serif;
        text-transform: uppercase;
        color: white;
        margin-left: 450px;
        margin-top: 30px;
    }
    .menu {
        width: 1366px;
        height: 30px;
        background-color: rgb(190, 190, 190);
        padding: 0 20px;
        
    }
    .menu_list {
        position: relative;
        max-width: 1366px;
        margin: 0 auto;
        margin-left: 15px;
        margin-top: 100px;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        font-weight: bold;
    }
    .menu_list_2 {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        font-weight: bold;
    }
    .slider {
        width: 1200px;
        height: 245px;
        margin-left: 100px;
        margin-top: 20px;
        
    }
    .slider img {
        margin-top: 10px;
        width: 90%;
        margin-left: 60px;
    }
    
    .Dali-Paganini {
        width: 319px;
        height: 409px;
        top: 350px;
        left: 50px;
      }
      .Einstein {
        position: relative;
        top: -80px;
        left: -440px;
    }
    .videocontainer video {
        width: 40%;
        position: relative;
        left: -160px;
        top: -300px;
    }
    .text {
        width: 75%;
        max-width: 1000px;
        max-height: 800px;
        position: relative;
        font-family: 'Gill Sans' sans-serif;
        font-size: 32px;
        left: -300px;
        top: -100px;
        color: rgb(243, 11, 11);
    }
    .signature {
        width: 75%;
        max-width: 1000px;
        max-height: 800px;
        margin-left: 1000px;
        font-size: 20px;
        margin-top: -80px;
        color: rgb(245, 11, 11);
        display: block;   
    }
    .footer {
        position: static;
        width: 1370px;
        height: 100px;
        background-color: rgb(1, 1, 83);
        margin-top: 200px;
    }
    .text_2 {
        position: relative;
        top: 15px;
        left: 30px;
        color: rgb(240, 230, 230);
    }
}
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
    }
    .container {
        width: 495px;
        height: 100px;
        background-color: rgb(2, 2, 53);
        display: grid; 
        z-index: 50;
        
       
       
    }
    .header {
        font-family:  'rubicon', sans-serif;
        text-transform: uppercase;
        color: white;
        margin-left: 30px;
        font-size: 12px;
        margin-top: 30px;
        
    }

    .text {
        font-family: 'Gill Sans' sans-serif;
        font-size: 18px;
        padding-left: 350px;
        margin-top: -300px;
        color: rgb(235, 9, 9);
        text-align: center;
    
    }
    .signature {
        position: relative;
        left: -800px;
        font-size: 20px;
         
    }
    .header_menu {
        content: '';
        position: absolute;
        top: 100px;
        left: -100%;
        width: 100%;
        height: 833px;
        overflow: auto;
        background-color: rgb(157, 157, 240);
        z-index: 3;
    }
    .menu_list {
        display: block;
        margin-left: -10px;
        
     }
    .menu_list_2 {
        flex-direction: column;
        display: inline;
        margin-left: -7px;
        display: block;
        
    }
    .selected-lang {
        position: relative;
        cursor: pointer;
        left: -100px;
    }
   
    .header_menu.active {
        left: 0;
    }
    .burger {
       display: block;
       margin-left: 320px;
       position: relative;
       z-index: 50;
    }
      
  

    .slider {
        object-fit: cover;
        width: 400px;
        height: 180px;
        margin-left: -53px;
        margin-top: 50px;
        
    }
    .videocontainer {
        object-fit: cover;
        width: 900px;
        height: 180px;
        margin-left: -435px;
        margin-top: 500px;
    }
    .Dali-Paganini {
        display: none;
      }
      .Einstein {
        display: none;
      }
    .footer {
        position: static;
        width: 480px;
        height: 350px;;
        background-color: rgb(2, 2, 53);
        margin-top: 200px;

    }
    .text_2 {
        position: relative;
        top: 15px;
        left: -850px;
        color: rgb(240, 230, 230);
    }
}

@media (max-width: 375px) {
   html, body {
        overflow-x: hidden;
    }
    .container {
        width: 372px;
        height: 100px;
        background-color: rgb(2, 2, 53);
        display: grid; 
    }
    .header {
        font-family:  'rubicon', sans-serif;
        text-transform: uppercase;
        color: white;
        margin-left: 60px;
        font-size: 14px;
        margin-top: 30px;
    }
    .text {
        font-family: 'Gill Sans' sans-serif;
        font-size: 18px;
        padding-left: 350px;
        margin-top: -300px;
        color: rgb(243, 11, 11);
        text-align: center;
    
    }
    .signature {
        position: relative;
        left: -800px;
        font-size: 20px;
         
    }
    
    .menu_list {
        display: none;
     }
    .menu_list_2 {
        flex-direction: column;
        display: inline;  
        float: left;
        display: none;
    }
    .burger {
       display: block;
       margin-left: 320px;
       margin-top: -50px;
    }
    .burger:hover span:nth-child(1) {
        transform: translate(3px, -4px) rotate(45deg);
        transform-origin: left top;
        
    }
    .burger:hover span:nth-child(2) {
        transform: scale(0);
    }
    .burger:hover span:nth-child(3) {
        transform: translate(-6px, -21px) rotate(-45deg);
        transform-origin: right bottom;
    }    

    .slider {
        object-fit: cover;
        width: 400px;
        height: 180px;
        margin-left: -53px;
        margin-top: 50px;
    }
    .videocontainer {
        object-fit: cover;
        width: 900px;
        height: 180px;
        margin-left: -435px;
        margin-top: 500px;
    }
    .Dali-Paganini {
        display: none;
      }
      .Einstein {
        display: none;
      }
    .footer {
        position: static;
        width: 372px;
        height: 350px;;
        background-color: rgb(2, 2, 53);
        margin-top: 200px;
    }
    .text_2 {
        position: relative;
        top: 15px;
        left: -850px;
        color: rgb(240, 230, 230);
    }
}
