
.Second-1 {
    background-color: black;
}

  .button-1 {
    text-decoration: none;
    display: inline-block;
    color: white;
    padding: 15px 15px;
    margin: 0px 0px;
    border-radius: 5px;
    background-color: #A20000;
    transition: .2s;
  }

  .btn-grad-1 {
    margin-top: 40px;
  }

  .btn-grad-2 {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .btn-grad {
    background-image: linear-gradient(to right, #A20000 0%, #e52d27  51%, #e52d27  100%);
    padding: 20px 50px;
    text-align: center;
    transition: 0.4s;
    background-size: 200% auto;
    color: white;            
    border-radius: 10px;
    text-decoration: none;
  }

  .btn-grad:hover {
    background-position: right center; 
    color: #fff;
    font-weight: 600;
    /* text-decoration: #1F37FF wavy underline; */
  }

  .btn-grad_ {
    background-image: linear-gradient(to right, #A20000 0%, #e52d27  51%, #e52d27  100%);
    padding: 20px 64px;
    text-align: center;
    transition: 0.4s;
    background-size: 200% auto;
    color: white;            
    border-radius: 10px;
    text-decoration: none;
  }

  .btn-grad_:hover {
    background-position: right center; 
    color: #fff;
    font-weight: 600;
    /* text-decoration: #1F37FF wavy underline; */
  }

.Text-1 {
    color: white; 
    text-transform: uppercase; 
    font-weight: 600;
}

@media screen and (min-width: 601px) {
    .Text-1 {
      font-size: 20px;
      margin-top: 20px;
    }
  }
  
  @media screen and (max-width: 600px) {
    .Text-1 {
      font-size: 15px;
      margin-top: 15px;
    }
  }

.Text-2 {
    color: white; 
    font-weight: 600;
}

@media screen and (min-width: 601px) {
    .Text-2 {
      font-size: 40px;
      margin-top: 20px;
    }
  }
  
  @media screen and (max-width: 600px) {
    .Text-2 {
      font-size: 25px;
      margin-top: 15px;
    }
  }

.Tablet1 {
    height: auto; 
    width: 100%; 
    max-width: 720px;
}

.First-card:hover {
    background-color: #1F37FF;
}

.second-card:hover {
    background-color: #1F37FF;
}

.third-card:hover {
    background-color: #1F37FF;
}


.testimonials {
    width: 800px;
    margin: auto;
    padding: 15px;
    text-align: center;
    position: relative;
}
.scroller {
    overflow-x: hidden;
    display: flex;
    scroll-snap-type: x mandatory;
}
.item {
    min-width: 100%;
    scroll-snap-align: center;
    margin-bottom: 10px;
    padding: 0 200px;
}
.Foto {
    width: 270px;
    height: 350px;
}

.Up {
    width: 145px;
    height: 80px;
   
}

.item p {
    margin-top: 25px;
    color: #1F37FF;
    font-size: 32px;
    font-weight: 600;
}

.card-1 {
    border-radius: 1em;
    margin-left: 9px;
    background: #EBEDFF;
}

.testimonials .btn {
    position: absolute;
    top: 50%;
    margin-bottom: 20px;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    z-index: 1;
    text-align: center;
    font-weight: bold;
}

.testimonials .btn.next {
    color: #1F37FF;
    right: 150px;
}
.testimonials .btn.prev {
    color: #1F37FF;
    left: 150px;
}
.testimonials .btn:hover{
    background-color: white;
}
@media screen and (max-width: 480px) {
    .item {
        padding: 0 30px;
    }
    .card {
        padding: 80px 30px 30px;
    }
}

.Numbers-0 {
    position: relative;
    bottom: 320px;
    left: 60px;
    color: #1F37FF;
    font-size: 55px;
    font-weight: 700;
}

.Numbers-1 {
    position: relative;
    bottom: 320px;
    left: 60px;
    color: #1F37FF;
    font-size: 55px;
    font-weight: 700;
}

.Numbers-2 {
    position: relative;
    bottom: 320px;
    left: 75px;
    color: #1F37FF;
    font-size: 55px;
    font-weight: 700;
}

.Numbers-3 {
    position: relative;
    bottom: 320px;
    left: 75px;
    color: #1F37FF;
    font-size: 55px;
    font-weight: 700;
}

.Text-Numbers-1 {
    position: relative;
    bottom: 330px;
    right: 35px;
    color: black;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 32px;
}

.Text-Numbers-2 {
    position: relative;
    bottom: 330px;
    right: 35px;
    color: black;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 32px;
}

.Text-Numbers-3 {
    position: relative;
    bottom: 330px;
    right: 35px;
    color: black;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 32px;
}

.Text-Numbers-4 {
    position: relative;
    bottom: 330px;
    right: 35px;
    color: black;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 32px;
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .LogoAGU {
        width: 157px;
        float: left;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .LogoAGU {
        width: 150px;
        float: left;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 539px) and (max-device-width : 760px) {
    .LogoAGU {
        width: 150px;
        float: left;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 761px) and (max-device-width : 912px) {
    .LogoAGU {
        width: 100px;
        
    }
}



@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .LogoAGU1 {
        width: 157px;
        float: right;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .LogoAGU1 {
        width: 150px;
        float: right;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 539px) and (max-device-width : 760px) {
    .LogoAGU1 {
        width: 150px;
       float: right;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 761px) and (max-device-width : 912px) {
    .LogoAGU1 {
        width: 100px;
        
    }
}


.Text-3 {
    font-size: 20px;
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .Text-3 {
        font-size: 15px;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .Text-3 {
        font-size: 8px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 539px) and (max-device-width : 760px) {
    .Text-3 {
        font-size: 13px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 761px) and (max-device-width : 912px) {
    .Text-3 {
        font-size: 12px;
    }
}


.News {
    font-size: 48px;
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .News{
        font-size: 28px;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .News {
        font-size:18px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 539px) and (max-device-width : 760px) {
    .News{
        font-size: 28px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 761px) and (max-device-width : 912px) {
    .News {
        font-size: 38px;
    }
}

.News-container-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-block: 2rem;
    gap: 2rem;
  }
  
  .card-n {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 .1rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 1em;
    margin-bottom: 50px;
    margin-left: 9px;
    background: #EBEDFF;
    padding-top: 20px;
  }
  
  
  
  .card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }
  
  
  .tag {
    align-self: flex-start;
    padding: .15em .55em;
    border-radius: 1em;
    font-size: .60rem;
    margin-left: 5px;
  }
  
  .tag-red {
    background: #cb2d3e;
    background: linear-gradient(to bottom, #ef473a, #cb2d3e);
    color: #fafafa;
  }
  
  .card__body h4 {
    font-size: 1.2rem;
  }
  
  .card__footer {
    display: flex;
    padding: 1rem;
    margin-top: auto;
  }
  

.Rectangle-1 {
    height: auto; 
    width: 100%; 
    max-width: 720px;
}

@media screen and (min-width: 601px) {
    .About {
      font-size: 44px;
      color: black; 
      font-weight: 700;
    }
  }

  @media screen and (min-width: 400px) and (max-width: 600px) {
    .About {
      font-size: 34px;
      color: black; 
      font-weight: 700;
    }
  }
  
  @media screen and (max-width: 399px) {
    .About {
      margin-top: 15px;
      font-size: 22px;
      color: black; 
      font-weight: 700;
    }
  }

@media screen and (min-width: 1250px) {
    .About-1 {
        font-size: 20px; 
        color: black; 
        font-weight: 500;
        text-align: justify;
        margin-top: 20px;
    }
  }

@media screen and (min-width: 1000px) and (max-width: 1249px) {
    .About-1 {
        font-size: 15px; 
        color: black; 
        font-weight: 500;
        text-align: justify;
        margin-top: 20px;
    }
}

@media screen and (min-width: 576px) and (max-width: 999px) {
    .About-1 {
        font-size: 8px; 
        color: black; 
        font-weight: 500;
        text-align: justify;
        margin-top: 20px;
    }
}
  
  @media screen and (max-width: 575px) {
    .About-1 {
        font-size: 12px; 
        color: black; 
        font-weight: 500;
        text-align: justify;
    }
  }

.Poloth {
    padding-top: 40px; 
    font-size: 32px; 
    color: black; 
    font-weight: 700; 
    text-align: left;
}
@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .Poloth {
        font-size: 22px;  
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .Poloth {
        font-size: 16px;  
    }
}

.Members {
    margin-top: 57px; 
    font-size: 48px; 
    color: black; 
    font-weight: 600; 
    text-align: center;
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .Members {
        font-size: 38px;  
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .Members {
        font-size: 28px;  
    }
}


@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .Up {
        width: 100px;
        height: 60px;
        margin-left: 5px; 
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .Up {
        width: 80px;
        height: 40px;
        margin-left: 0px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .Foto {
        width: 220px;
        height: 270px;
        padding-right: 30px;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .Foto {
        width: 140px;
        height: 210px;
        padding-right: 30px;
    }
}

@media screen and (orientation: portrait) and (min-device-width : 320px) and (max-device-width : 700px) {
    .item p {
        font-size: 26px;
    }
  }

@media screen and (orientation: portrait) and (min-device-width : 100px) and (max-device-width : 281px) {
    .item p {
        font-size: 16px;
    }
}

/* Members block */

  .members{
    margin-top: 60px;
    background-color: #EBEDFF;
    padding-top: 25px;;
  }
  
  .members h1{
    font-size: 42px;
    margin-bottom: 0px;
    text-align: center;
    color:#A20000;
  }

  .members h5 {
    font-size: 14px;
    margin-bottom: 80px;
    text-align: center;
  }

  .members h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .team{
    display: flex;
    justify-content: center;
    width: auto;
    text-align: center;
    flex-wrap: wrap;
  }
  
  .team .team_member{
    background: #fff;
    margin: 5px;
    margin-bottom: 50px;
    width: 300px;
    padding: 20px;
    line-height: 20px;
    color: #8e8b8b;  
    position: relative;
  }
  
  .team .team_member h3{
    color: #1F37FF;
    font-size: 26px;
    margin-top: 50px;
  }
  
  .team .team_member p.role{
    color: black;
    margin: 12px 0;
    font-size: 12px;
    text-transform: uppercase;
  }
  
  .team .team_member .team_img{
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
  }
  
  .team .team_member .team_img img{
    width: 100px;
    height: 100px;
    padding: 5px;
  }

  /* Registration */

  .Registration {
    background-color: #FDEEE7;
    padding: 30px 20px 20px 20px;
    margin-top: 50px;
  }

  .Rectangle-2 {
    height: auto; 
    width: 100%; 
    max-width: 400px;
  }

  /* Statistics */

  .Rectangle-15 {
    height: auto; 
    width: 100%; 
    max-width: 250px;
  }

  .statics {
    justify-content: center;
    display: flex;
    margin-top: 50px;
  }

.number {
  font-size: 35px;
  color:#1F37FF;
  font-weight: bold;
  text-align: center;
  position: relative;
  top: 180px;
  right: 5px;
}

.number001 {
  font-size: 35px;
  color:#1F37FF;
  font-weight: bold;
  text-align: center;
  position: relative;
  top: 180px;
  right: 5px;
}

.Number2 {
  font-size: 18px;
  text-align: center;
  position: relative;
  top: 180px;
  right: 5px;
}

@media screen and (min-width: 1000px) and (max-width: 1249px) {
  .Number2 {
    font-size: 16px;
    text-align: center;
    position: relative;
    top: 180px;
    right: 5px;
  }
}

@media screen and (min-width: 576px) and (max-width: 999px) {
  .Number2 {
    font-size: 12px;
    text-align: center;
    position: relative;
    top: 180px;
    right: 5px;
  }
}

@media screen and (min-width: 400px) and (max-width: 575px) {
  .Number2 {
    font-size: 12px;
    text-align: center;
    position: relative;
    top: 180px;
    right: 5px;
  }
}

@media screen and (max-width: 399px) {
  .Number2 {
    font-size: 10px;
    text-align: center;
    position: relative;
    top: 140px;
    right: 5px;
  }
  .number001 {
    top: 140px;
  }
}

/* Contacts */

.contacts {
  margin-top: 50px;
}

.Rectangle07 {
  height: auto; 
  width: 100%; 
  max-width: 750px;
  margin-left: 22px;
}

.contact {
  writing-mode: vertical-lr;
  text-orientation: upright;
  font-weight: bold;
  margin: 0;
  padding: 0;
  max-width: 150px;
}

.Adress {
  text-transform: uppercase;
}

.Adress-1 a {
  text-decoration: none;
  color: black;
}

.Adress-1 {
  margin-bottom: 20px;
}

@media screen and (max-width: 415px) {
  .Rectangle07 {
    max-width: 0px;
  }
  .adress0 {
    margin-left: 40px;
  }
  .contacts {
    padding-top: 20px;
  }
  .contact {
    margin-left: 20px;
  }
}

@media screen and (max-width: 361px) {
  .Rectangle07 {
    max-width: 0px;
  }
  .adress0 {
    margin-left: 10px;
  }
  .contacts {
    padding-top: 20px;
  }
}


/* NEWS pages */

.One___ {
  margin-top: 60px;
  width: 200px;
}

._newscard img {
  max-width: 100%;
  width: 800px;
  height: auto;
}

/* Личный КАБИНЕТ */

.lk_cont {
  margin-top: 50px;
}

/* Online */

.online_ {
  margin: 62px 0px 100px 0px;
}

.online_1 {
  margin: 62px 0px 100px 0px;
}

.first_online {
  margin: 0px 0px 50px 0px;
}

.title_online {
  text-align: center;
}

.Drevo-1 {
  width: 100%;
  max-width: 750px;
  height: auto;
}

.navigation_online {
  margin-top: 30px;
  background-color: #EBEDFF;
  max-width: 500px;
  padding: 10px 10px 10px 20px;
  border-radius: 20px;
  margin-top: 50px;
}

.navigation_online p {
  color: #A20000;
}

.navigation_online a {
  text-decoration: none;
  color: #1F37FF;
}

.navigation_online a:hover {
  text-decoration: #A20000 wavy underline;
}

.about_online {
  color:white;
  font-weight: 200;
}

.about_online-1 {
  color:white;
  text-align: center;
}

.card_online {
  background-image: linear-gradient(to right, #A20000 0%, #e52d27  51%, #e52d27  100%);
  padding: 10px 10px 10px 10px;
  margin-bottom: 20px;
  border-radius: 20px;
  transition: 0.4s;
  background-size: 200% auto;
}

.card_online:hover {
  background-position: right center; 
}

.cards_online a {
  text-decoration: none;
}

/* VIDEO */

.video-youtube {
  width: 560px;
  height: 315px;
}

@media screen and (min-width: 1000px) and (max-width: 1249px) {
  .video-youtube {
    width: 560px;
    height: 315px;
  }
}

@media screen and (min-width: 576px) and (max-width: 999px) {
  .video-youtube {
    width: 460px;
    height: 259px;
  }
}

@media screen and (min-width: 375px) and (max-width: 575px) {
  .video-youtube {
    width: 360px;
    height: 203px;
  }
}

@media screen and (min-width: 360px) and (max-width: 374px) {
  .video-youtube {
    width: 300px;
    height: 159px;
  }
}

@media screen and (min-width: 200px) and (max-width: 359px) {
  .video-youtube {
    width: 260px;
    height: 146px;
  }
}

/* Form sertificate */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 20px;
}

input[type=number], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 20px;
}

input[type=email], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 20px;
}

.role {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.full_name {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.register-btn {
  background-color: #007dff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
  margin-top: 20px;
  text-decoration: none;
}

.register-btn-1 {
  background-color: #007dff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  text-decoration: none;
}

.register-btn-1:hover {
  background-color: #1F37FF;
}

.register-btn:hover {
  background-color: #1F37FF;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 60px;
}

@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
      width: 100%;
      margin-top: 20px;
  }
}

/* GALLERY */
.section.gallery{
  position: relative;
  padding: 45px 0;
}

.gallery-list{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  font-size: 0;
  margin-top: 30px;
  background-color: gray;
}
.gallery-item{
  display: block;
  flex: 25%;
  overflow: hidden;
  position: relative;
}

.gallery-item-hover{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.7);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-item-hover{
  opacity: 1;
}
.gallery-item:hover img{
  transform: scale(1.3) rotate(5deg);
}
.gallery-item img{
  max-width: 100%;
  height: auto;
  transition: all .5s ease;
}
@media (max-width: 991px){
  .gallery-item{
    flex: 33.3%;
  }
}
@media (max-width: 768px){
  .gallery-item{
    flex: 50%;
  }
}
@media (max-width: 530px){
  .gallery-item{
    flex: 100%;
  }
}

/* Reg */

.reg-0001_ {
margin: 20px auto;
width: 300px;
}

.reg_0001_ {
background-color: #FFF;
padding: 20px;
border-radius: 5px
}

.app-title {
text-align: center;
color: #777;
}

.reg-0001_f {
text-align: center;
}
.control-group {
margin-bottom: 10px;
}

.control-group input {
text-align: center;
background-color: #ECF0F1;
border: 2px solid transparent;
border-radius: 3px;
font-size: 16px;
font-weight: 200;
padding: 10px 0;
width: 250px;
transition: border .5s;
}

.control-group input:focus {
border: 2px solid #3498DB;
box-shadow: none;
}



.btn_reg_1 {
  border: 2px solid transparent;
  background: #3498DB;
  color: #ffffff;
  font-size: 16px;
  line-height: 25px;
  padding: 10px 0;
  text-decoration: none;
  text-shadow: none;
  border-radius: 3px;
  box-shadow: none;
  transition: 0.25s;
  display: block;
  width: 250px;
  margin: 0 auto;
}

.btn_reg_1:hover {
  background-color: #2980B9;
}

.login-link {
  font-size: 12px;
  color: #444;
  display: block;
  margin-top: 12px;
}