
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

body {
  background-image: url('img/background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  font-family: 'Roboto', sans-serif;
}

.row.justify-content-center{
  margin-top: -3%;  
}

.header-back{
  display: flex;
  width: 150%;
  height: 10%;
  float: left; 
  background-color: #847DD4;
}

.navbar-brand{
  margin-left: -4%;
  margin-top: -1%; 
}

.img-logo{
  width: 100%;
  height: 100%;
}

.header{
  margin-top: 1%;
  margin-bottom: 1%;
  width: 100%;
  height: 100%;
  background-color: #C4C7F4;
  border-radius: 5px;
  border-top: 3px solid white;
}

.top{
  display: flex;
  width: 100%;
  height: 100%;
} 

.emblem{
  width: 100%;
  height: 100%;
}

.header-nested{
  width: 100%;
  height: 100%;
}

.panel{
  display: flex;
  width: 100%;
  height: 100%;
}

.navi{
  width: 100%;
  height: 100%;
}

.language{
  background-color:#A4BE50;
  width: 100%;
  height: 100%;
}

.language a{
  text-decoration: none;
  color: #f2f2f2;
}

.language a:hover{
  text-decoration: none;
  color:#492E38;
}


.contacts{
  margin: 0;
  padding: 0;
  border: 1px solid #847DD4;
  border-radius: 5%;
  margin-left: 44%;
  width: 100%;
  height: 100%;
}

.mail{
  text-align: center;
  display: flex;
  width: 100%;
  height: 100%;
}

.mail a{
  margin-left: 5px;
  text-decoration: none;
  color: #847DD4;
}

.mail a:hover{
  text-decoration: none;
  color: #492E38;
}

.phone{
  text-align: center;
  display: flex;
  width: 100%;
  height: 100%;
  color: #847DD4;
}

.phone span{
 margin-left: 5px;
}

.cmail{
  cursor: pointer;
  display: flex;
  fill: rgb(138, 131, 203);
  width: 10%;
  height: 10%;

}

.cphone{
  cursor: pointer;
  display: flex;
  fill: rgb(138, 131, 203);
  width: 10%;
  height: 10%;
}

.number1{
  color: #847DD4;
}

.number1:hover{
  color: #492E38;
  text-decoration: none;
}

.number2:hover{
  color:#847DD4;
  text-decoration: none;
}



.btn-group {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-menu {
  text-decoration: none;
  padding: 10px 50px;
  margin: 5px;
  background-color: transparent;
  color:#847DD4;
}

.btn-menu:hover{
  text-decoration: none;
  color: #492E38;
}

.images{
  width: 100%;
  height: 100%;
}

 .slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.control-button {
  z-index: 4;
  margin-top: -70%;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

 .inner-block {
  display: block;
  float: left;
  position: absolute;
  z-index: 2;
  top: 10;  
  width: 50%;
  height: 100%;
  background-color: white;
  opacity: 0.7;
  text-align: center;
}

.imag{
  margin-top: 10%;
  max-width: 50%;
  max-height: 50%;
}

.contain{
  width: 100%;
  height: 100%;
  margin-top: 15%;
}

.b-about {
  width: 100%;
  height: 100%;
  background-color:#847DD4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.b-about:hover {
  background-color:#492E38;
  color: #fff;
  text-decoration: none;
}

.headers{
  text-align: center;
}

.course{
  text-align: center;
}

.about{
  text-align: center;
}

.about-h{
  font-size: 1.3vw;
  font-weight: bold;
}

.txt{
  margin-left: 33.5%;
}

.footer {
  margin-top: -5%;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 5px;
  padding: 20px 0;
  color: black;
  opacity: 0.5;
  border-top: 5px solid white;
}

.footer-courses {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 5px;
  padding: 20px 0;
  color: black;
  opacity: 0.5;
  border-top: 5px solid white;
}

.footer-about {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 5px;
  padding: 20px 0;
  color: black;
  opacity: 0.5;
  border-top: 5px solid white;
}


.bottom{
  margin-top: -1.5%;
  width: 100%;
  height: 50%;
  text-align: right;
  background-color: transparent;
  border: 1px solid black;
  
}

.bottom a{
  text-decoration: none;
  color: black;
}

.left-span-1{
  margin: 1%;
  margin-left: 1.1%;
  width: 99%;
  text-align: center;
  border: none;
}

.left-span-2{
  margin-left: 0.2%;
  width: 100%;
  text-align: left;
  border: none;
}

.dummy{
  height: 24px;
  width: 100%;
}

.content{
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  margin-top: -9px;
  background-color: #fef7f8;
  opacity: 0.9;
  border-radius: 5px;
  color: black;
  border-top: 3px solid white;
}

.about{
  width: 100%;
  height: 100%;
}

.custom-block {
  width: 100%;
}

.adapth{
  color:#492E38;
  text-align: center;
  margin: 10px;
  font-size: 2.4vw;
}

.adaptp{
  color: #492E38;
  text-align: center;
  margin: 10px;
  font-size: 1.4vw;
} 

.ad-h-b{
  margin: 15px;
}

.ad-p-b{
  margin: 15px;
}

.custom-block-mobile {
  visibility:hidden;
  text-align: center;
  background-color: #f2f2f2;
  width: 123%;
  height: 0px;
  margin-left: -11.5%;
  padding: 20px; 
  border: 1px solid #ccc;
  border-radius: 5px;
}

.email:hover{
  text-decoration: none;
  color: #847DD4;
}

h3{
  color:#492E38;
}

P{
  text-align: left;
  color:#492E38;
}

@media screen and (max-width: 768px) {
  .btn-group {
      flex-direction: column;
      text-align: center;
  }

  .btn {
      margin: 3px 0;
  }
}



@media (max-width: 280px) {

 .panel{
  align-items: center;
  display: inline-block;
 }

  .language{
    text-align: center;
    margin-top: 5%;
    font-size: 3vw;
  }

  .contacts{
    margin-top: 5%;
    margin-left: 0; 
  }

  .mail a{
    font-size: 1.6vw;
  }
  
  .phone a{
    font-size: 1.6vw;
  }
  
  .cmail {
    width: 10px;
    height: 10px;
  }
  
  .cphone {
    width: 10px;
    height: 10px;
  }

  .number1{
    font-size: 1.6vw;
  }

  .btn-menu{
    margin: 0;
    padding: 0;
    font-size: 3vw;
  }

  .inner-block{
    width: 0;
    height: 0;
    visibility: hidden;
  }

  #adapth1{
    font-weight: bolder;
    font-size: 5vw;
    margin: 0;
  }

  #adaptp1{
    font-size: 4vw;
    margin: 0;
  }


  .mobile-back{
    background-color: white;
    opacity: 0.8;
  }

  .my-block{
    margin-top: -30px;
  }

  .custom-block-mobile{
    border: 0;
    margin-left: 0px;
    padding-right: 0px;
    padding-left: 0px;
    background-color: transparent;
    visibility: visible;
    width: 100%;
    height: 100%;
  }

  
  .left-span-1 span{
    font-size: 3.1vw;
  }

  .left-span-1 a{
    font-size: 3.1vw;
  }

  .left-span-2 span{
    font-size: 3.1vw;
  }

}


@media (max-width: 320px) and (min-width: 281px){

  .panel{
    align-items: center;
    display: inline-block;
   }
  
    .language{
      text-align: center;
      margin-top: 5%;
      font-size: 3vw;
    }
  
    .contacts{
      margin-top: 5%;
      margin-left: 0; 
    }
  
    .mail a{
      font-size: 1.9vw;
    }
  
    .phone a{
      font-size: 1.9vw;
    }
  
    .cmail{
      width: 10px;
      height: 10px;
    
    }
    
    .cphone{
      width: 10px;
      height: 10px;
    }
  
    .btn-menu{
      margin: 0;
      padding: 0;
      font-size: 2.5vw;
    }
  
    .inner-block{
      width: 0;
      height: 0;
      visibility: hidden;
    }
  
    #adapth1{
      font-weight: bolder;
      font-size: 5vw;
      margin: 0;
    }
  
    #adaptp1{
      font-size: 4vw;
      margin: 0;
    }
  
  
    .mobile-back{
      background-color: white;
      opacity: 0.8;
    }
  
    .my-block{
      margin-top: -30px;
    }
  
    .custom-block-mobile{
      border: 0;
      margin-left: 0px;
      padding-right: 0px;
      padding-left: 0px;
      background-color: transparent;
      visibility: visible;
      width: 100%;
      height: 100%;
    }

    .left-span-1 span{
      font-size: 3.7vw;
    }

    .left-span-1 a{
      font-size: 3.7vw;
    }

    .left-span-2 span{
      font-size: 3.7vw;
    }
}


@media (max-width: 375px) and (min-width: 321px){

  .panel{
    align-items: center;
    display: inline-block;
   }
  
    .language{
      text-align: center;
      margin-top: 5%;
      font-size: 3vw;
    }
  
    .contacts{
      margin-top: 5%;
      margin-left: 0; 
    }
  
    .mail a{
      font-size: 2.5vw;
    }
  
    .phone a{
      font-size: 2.5vw;
    }
  
    .cmail{
      width: 10%;
      height: 10%;
    
    }
    
    .cphone{
      width: 10%;
      height: 10%;
    }
  
    .btn-menu{
      margin: 0;
      padding: 0;
      font-size: 3vw;
    }
  
    .inner-block{
      width: 0;
      height: 0;
      visibility: hidden;
    }
  
    #adapth1{
      font-weight: bolder;
      font-size: 5vw;
      margin: 0;
    }
  
    #adaptp1{
      font-size: 4vw;
      margin: 0;
    }
  
  
    .mobile-back{
      background-color: white;
      opacity: 0.8;
    }
  
    .my-block{
      margin-top: -30px;
    }
  
    .custom-block-mobile{
      border: 0;
      margin-left: 0px;
      padding-right: 0px;
      padding-left: 0px;
      background-color: transparent;
      visibility: visible;
      width: 100%;
      height: 100%;
    }

    .left-span-1 span{
      font-size: 3.7vw;
    }

    .left-span-1 a{
      font-size: 3.7vw;
    }

    .left-span-2 span{
      font-size: 3.7vw;
    }
}



@media (max-width: 525px) and (min-width: 376px){

  .panel{
    align-items: center;
    display: inline-block;
   }
  
    .language{
      text-align: center;
      margin-top: 5%;
      font-size: 3vw;
    }
  
    .contacts{
      margin-top: 5%;
      margin-left: 0; 
    }
  
    .mail a{
      font-size: 2.8vw;
    }
  
    .phone a{
      font-size: 2.8vw;
    }
  
    .cmail{
      width: 8%;
      height: 8%;
    
    }
    
    .cphone{
      width: 8%;
      height: 8%;
    }
  
    .btn-menu{
      margin: 0;
      padding: 0;
      font-size: 4vw;
    }
  
    .inner-block{
      width: 0;
      height: 0;
      visibility: hidden;
    }
  
    #adapth1{
      font-weight: bolder;
      font-size: 5vw;
      margin: 0;
    }
  
    #adaptp1{
      font-size: 4vw;
      margin: 0;
    }
  
  
    .mobile-back{
      background-color: white;
      opacity: 0.8;
    }
  
    .my-block{
      margin-top: -30px;
    }
  
    .custom-block-mobile{
      border: 0;
      margin-left: 0px;
      padding-right: 0px;
      padding-left: 0px;
      background-color: transparent;
      visibility: visible;
      width: 100%;
      height: 100%;
    }
}

@media (max-width: 768px) and (min-width: 526px){

  .panel{
    align-items: center;
    display: inline-block;
   }
  
    .language{
      text-align: center;
      margin-top: 5%;
      font-size: 3vw;
    }
  
    .contacts{
      margin-top: 5%;
      margin-left: 0; 
    }
  
    .mail a{
      font-size: 2.2vw;
    }
  
    .phone a{
      font-size: 2.2vw;
    }
  
    .cmail{
      width: 7%;
      height: 7%;
    
    }
    
    .cphone{
      width: 7%;
      height: 7%;
    }
  
    .btn-menu{
      margin: 0;
      padding: 0;
      font-size: 2.5vw;
    }
  
    .inner-block{
      width: 0;
      height: 0;
      visibility: hidden;
    }
  
    #adapth1{
      font-weight: bolder;
      font-size: 4.5vw;
      margin: 0;
    }
  
    #adaptp1{
      font-size: 3.5vw;
      margin: 0;
    }
  
  
    .mobile-back{
      background-color: white;
      opacity: 0.8;
    }
  
    .my-block{
      margin-top: -30px;
    }
  
    .custom-block-mobile{
      border: 0;
      margin-left: 0px;
      padding-right: 0px;
      padding-left: 0px;
      background-color: transparent;
      visibility: visible;
      width: 100%;
      height: 100%;
    }

    .left-span-1 span{
      font-size: 3.2vw;
    }

    .left-span-1 a{
      font-size: 3.2vw;
    }

    .left-span-2 span{
      font-size: 3.2vw;
    }

}

@media (max-width: 820px) and (min-width: 769px){

  .panel{
    align-items: center;
    display: inline-block;
   }

   .logo{
    margin-top: -5%;
    margin-left: -5%;
   }
  
    .language{
      text-align: center;
      margin-top: 5%;
      font-size: 2vw;
    }
  
    .contacts{
      margin-top: 5%;
      margin-left: 0; 
    }
  
    .mail a{
      font-size: 1.4vw;
    }
  
    .phone a{
      font-size: 1.4vw;
    }
  
    .cmail{
      width: 10%;
      height: 10%;
    
    }
    
    .cphone{
      width: 10%;
      height: 10%;
    }
  
    .btn-menu{
      margin: 3%;
      padding: 0;
      font-size: 1.8vw;
    }
  
    .inner-block{
      width: 0;
      height: 0;
      visibility: hidden;
    }
  
    #adapth1{
      font-weight: bolder;
      font-size: 4.5vw;
      margin: 0;
    }
  
    #adaptp1{
      font-size: 3.5vw;
      margin: 0;
    }
  
    .b-about{
      font-size: 3vw;
    }
  
    .mobile-back{
      background-color: white;
      opacity: 0.8;
    }
  
    .my-block{
      margin-top: -30px;
    }
  
    .custom-block-mobile{
      border: 0;
      margin-left: 0px;
      padding-right: 0px;
      padding-left: 0px;
      background-color: transparent;
      visibility: visible;
      width: 100%;
      height: 100%;
    }

    .left-span-1 span{
      font-size: 2.5vw;
    }

    .left-span-1 a{
      font-size: 2.5vw;
    }

    .left-span-2 span{
      font-size: 2.5vw;
    }

    .footer{
      margin-top: -2%;
    }

    .imag{
      max-width: 80%;
      max-height: 80%;
    }

}

@media (max-width: 1000px) and (min-width: 821px){

  .logo{
    margin-left: -6%;
  }

  .header-nested{
    width: 75%;
  }

  .panel{
    margin-top: -3%;
    padding: 0;
  }

  .emblem{
    width: 100%;
    height: 100%;
  }

  .contacts{
    width: 100%;
    height: 100%;
    margin-top: -5%;
    margin-left: 20%;
  }

  .language{
    margin-top: 4%;
    margin-bottom: 1.5%;
    text-align: center;
  }

  .mail a{
    font-size: 1.5vw;
  }

  .phone a{
    font-size: 1.5vw;
  }

  .cmail {
    width: 20px;
    height: 20px; 
  }

  .cphone {
    width: 20px;
    height: 20px; 
  }

  .contacts{
    margin-top: 4%;
    border: 1px solid #847DD4;
    border-radius: 5%;
  }

  .adaptp{
    font-size: 1.9Fimavw;
  }
  
  .btn-group{
    margin-top: 5%;
    margin-left: 15%;
  }

  .btn-menu{
    margin-left: 5%;
    padding: 0;
    font-size: 1.7vw;
  }

.contain{
  margin-top: 2%;
}
 
  .footer{
    margin-top: -12%;
  }

  .imag{
    max-width: 200px;
    max-height: 200px;
  }

}





@media (max-width: 768px) {
  .carousel-item.active .slider-container {
      flex-direction: column; /* Stack items vertically */
  }

  .carousel-item.active .slider {
      order: 1; /* Move slider below inner-block */
  }

  .carousel-item.active .controls {
      order: 2; /* Move controls below slider */
  }
}







