*{
    padding: 0;
    margin: 0;
}
html{
	scroll-behavior: smooth;
}
body{
    font-family: "Open Sans", sans-serif;
}
#header_top{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 50px;
    z-index: 100;
    position: fixed;
    width:100%;
    background-color: #7a7a7a;
    border-bottom: 1px solid grey;
}
header{
    position: relative;
}
.promegutok1{
    background-image: url(../img/curs6.jpg);
    min-height: 300px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
}
.header_top_reg a{
    text-decoration: none;
    color: #fff;
    width: 200px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ac9d82;
    border-radius: 20px;
    transition: all .5s;
}
.menu{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    
}
p, h3 {
    margin: 0;
  }
  
  .card {
    margin: 0 auto;
    display: flex;
    font-family: Nunito, sans-serif;
    width: 560px;
    background-color: white;
    box-shadow: 0 12px 8px rgb(0 0 0 / 65%), 0 15px 5px rgba(0,0,0,0.05);
    padding: 10px;
    margin-bottom: 20px;
  }
  
  .img-wrap {
    background-color: lightgray;
    width: 256px;
    height: 256px;
  }
  
  .content-wrap {
    margin-left: 40px;
    margin-top: 40px;
  }
  
  .price  {
    font-weight: 600;
    font-size: 20px;
    line-height: 5;
    line-height: 24px;
    color: #000;
    color: #7a7a7ae0;
  }
  
  .title {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #232C38;
    margin-top: 10px;
  }
  
  .description {
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #151D28;
    margin-top: 20px;
  }
  
  .toggle-wrap {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
  }
  
  .toggle-buy,
  .toggle-info {
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
  }
  
  
  .toggle-buy {
    display: block;
    width: 134px;
    background: #7a7a7ae0;
    border-radius: 19px;
    text-align: center;
    color: #F9FBFF;
  }
  
  .toggle-info {
    display: block;
    margin-left: 29px;
    color: #415167;
    background: none;
    border: none;
  }
.menu a{
    margin: 10px;
    text-decoration: none;
    color: #000;
    transition: all .4s;
    background: #7a7a7ae0;
    padding: 0 15px;
    border-radius: 40px;
    margin: 30px 0;
}
.menu a:hover{
    background: #000;
    color: #7a7a7ae0;
}
.cont_foto{
    width: 800px;
    height: 300px;
    margin: 0 auto;
}
.cont{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}
.header_top_logo img{
    width: 400px;
}
#oformlen {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: none;
}
#oformlen_open {
    width: 250px;
    height: 60px;
    text-align: center;
    padding: 15px;
    border: 3px solid #000;
    border-radius: 10px;
    color: #7a7a7ae0;
    position: absolute;
    top: 256px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: #fff;
}
#oformlen_open div{
    margin-bottom: 10px;
}
#oformlen:target {
    display: block;
}
.oformlen_close {
    display: inline-block;
    border-style: none;
    color: #fff;
    padding: 0 12px;
    margin: 10px;
    width: 100px;
    height: 30px;
    border-radius: 46px;
    text-decoration: none;
    background: #7a7a7ae0;
    font-size: 14pt;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:  0 auto;
    transition: all .5s;
    cursor:pointer;
}
.oformlen_close:hover {
    background: #847b69;
}
#reg{
    width: 444px;
    padding: 20px;
    border: 8px solid #7a7a7ae0;
    position: absolute;
    bottom: -311px;
    z-index: 100;
    display: none;
    background-color: #fff;
}
#reg:target {
    display: block;
}
.form_reg div{
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.form_reg input{
    width: 200px;
    height: 20px;
    border-style: none;
    padding-left: 10px;
    border-bottom: 1px solid;
}
.close {
    display: inline-block;
    border-style: none;
    color: #fff;
    padding: 0 12px;
    margin: 10px;
    width: 150px;
    height: 35px;
    text-decoration: none;
    background: #7a7a7ae0;
    font-size: 14pt;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:  0 auto;
    transition: all .5s;
    cursor:pointer;
}
.close:hover {
    background: #8f836d;
}
.glavna{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../img/logo.jpg);
    background-repeat: no-repeat;
    height: 50vh;
    background-size: cover;
    background-position: fixed;
}
.glavna1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.glavna_name{
    padding: 220px 0 20px 0;
    font-size: 20px;
    font-weight: 800;
}
.glavna_logo{
    color: #fff;
    font-size: 75px;
    text-align: center;
    line-height: 1.17;
    padding: 20px 0;
    text-shadow: 1px 11px 2px #5a5353, 0 0 1em #8d9d98, 0 0 0.2em #7a7a7ae0;
    border-radius: 20px;
}
.glavna_go{
    font-size: 25px;
    font-weight: 900;
    padding: 20px 0;
    text-align: center;
    line-height: 1.17;
    background-color: #fff;
    border: 4px solid;
    width: 350px;
    color: #7a7a7ae0  ;
    margin-top: 20px;
}
.glavna a{
    text-decoration: none;
    font-size: 70px;
    color: #000;
    padding: 20px 0 50px 0;
    animation-duration: 5s;
    animation-name: go;
    animation-iteration-count: infinite;
    z-index: 1;
}
#abou1{
    padding-top: 40px;
}
.abouted{
    padding: 0 0 50px 0;
    color: #948a78;
}
.abouted-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 800;
}
.abouted-logo1{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding-bottom: 20px;
    font-weight: 800;
}
.abouted-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
}
.abouted-foto img{
    width: 500px;
    height: 411px;
}
.abouted-foto{
    display: flex;
    justify-content: center;
}
.abouted-txt{
    display: flex;
    flex-direction: column;
    margin: 20px 40px 0 0;
}
.new-item1{
    width: 450px;
    margin-right: 20px;
}
.abouted-item{
    width: 750px;
    text-align: center;
    padding: 15px 0;
}
.abouted-item-logo{
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1.4;
    padding-bottom: 10px;
}
.abouted-item-text{
    font-size: 16px;
    line-height: 1.55;
}
.curs{
    color: #333;
}
.curs-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0 30px 0;
}
.curs-logo-o{
    font-size: 40px;
    font-weight: 800;
    line-height: 1.17;
    padding-top: 50px;
    padding-bottom: 10px;
}
.curs-logo-t{
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
}
.curses{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.curses-item{
    display: flex;
    flex-direction: column;
    padding: 5px;
    align-items: center;
    width: 400px;
    transition: all .5s;
}
.curses-item:hover{
    box-shadow: 0 0 30px #2353c2;
}
.cirses-foto img{
    width: 385px;
    height: 291px;
}
.cirses-foto3 img{
    width: 385px;
    height: 291px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cirses-name{
    display: flex;
    font-size: 22px;
    font-weight: 700;
}
.cirses-about p{
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
}
.cirses-about span{
    font-weight: 900;
}
.er{
    display: flex;
    justify-content: center!important;
}
.cirses-prise{
    display: flex;
    justify-content: center;
    align-items: center;
}
.prise-btn{
    text-decoration: none;
    color: #fff;
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7a7a7ae0;
    border-radius: 20px;
    transition: all .5s;
}
.prise-btn:hover{
    background-color: #4b6279;
}
.new{
    padding: 45px 0;
}
.new-logo{
    font-size: 40px;
    font-weight: 800;
    padding-bottom: 20px;
    text-align: center;
    padding-top: 50px;
}
.new-items{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.new-item{
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.new-foto{
    width: 497px;
    height: 370px;
}
.new-text{
    text-decoration: none;
    color: #333;
    font-weight: 900;
    padding-bottom: 10px;
    font-size: 20px;
    transition: all .5s;
}
.new-text:hover{
    color: rgb(86 82 73);
}
.new-about{
    line-height: 1.9;
    padding-bottom: 10px;
}
.new-date p{
    transition: all .4s;
    cursor: pointer;
}
.new-date p:hover{
    color: #000;
}
#niz{
    background: #7a7a7ae0;
}
.niz-wrap{
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 30px 0 10px 0;
    flex-wrap: wrap;
}
.niz-wrap1{
    display: flex;
    padding: 0 0 30px 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.niz-logo{
    font-size: 25px;
    font-weight: 800;
    padding-bottom: 10px;
}
.niz-item a{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    transition: all .4s;
}
.polit{
    padding: 100px 20px 20px 20px;
    background-color: #f7f7f7;
}
.plit{
    text-align: center;
    padding-bottom: 10px;
}
.niz-item1 a{
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: rgb(86 82 73);
    transition: all .4s;
}
.niz-item a:hover, .niz-item1 a:hover{
    color: #01182e;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    animation: fade .6s;
    overflow: auto;
    display: flex;
    text-align: center;
    display: none;
}
.popup {
    top: 0;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    max-width: 462px;
    position: absolute;
    padding: 45px 20px;
    border: 12px double #000000ad;
    background: #fefefe;
    z-index: 1000;
    animation: fade .6s;
}
.close {
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 10%;
    background-color: #7a7a7ae0;
    cursor: pointer;
    outline: none;
    display: flex;
    margin: 0 auto;
    font-size: 20px;
    transition: all .4s;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-top: 20px;
}
.close:hover {
    background-color: #776f60;
}
.container {
    padding: 40px 5% 0 5%;
  }
  
  .heading-text {
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  .heading-text span {
    font-weight: 100;
  }
  
  /* Responsive image gallery rules begin*/
  
  .image-gallery {
    /* Mobile first */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .image-gallery .column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    align-items: center;
  }
  
  .image-item img {
    width: 550px;
    border-radius: 5px;
    height: 100%;
    object-fit: fill;
  }
  .image-item1 img {
    width: 500px;
    border-radius: 5px;
    height: 80%;
    object-fit: fill;
  }
  
  @media only screen and (min-width: 768px) {
    .image-gallery {
      flex-direction: row;
    }
  }
  
  /* overlay styles */
  
  .image-item {
    position: relative;
    cursor: pointer;
  }
  
  .overlay2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    /* center overlay content */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* hover */
  .image-item:hover .overlay {
    transform: scale(1);
  }
  .no{
    color: #fff!important;
    cursor: pointer;
  }
  
@media (max-width: 1475px){
	.new-about{
        width: 474px;
    }
    .new-item{
        align-items: center;
    }
}   
@media (max-width: 1180px){
    .new-items {
        flex-direction: column;
        align-items: center;
    }
}   
@media (max-width: 1130px){
    #header_top {
        flex-direction: column;
        padding: 10px 0;
    }
    .header_top_reg{
        order: 3;
    }
    .menu {
        margin-bottom: 10px;
        order: 2;
    }
    .polit{
        padding: 120px 20px 20px 20px;
        background-color: #f7f7f7;
    }
} 
@media (max-width: 1060px){
    .abouted-wrap {
        flex-direction: column;
        align-items: center;
    }
    .abouted-txt {
        margin: 20px 0 0 0;
        flex-direction: initial;
        justify-content: center;
        flex-wrap: wrap;
    }
} 
@media (max-width: 890px){
    .glavna_go{
        text-align: center;
    }
    .curs-logo-t{
        text-align: center;
    }
} 
@media (max-width: 730px){
    .glavna_logo {
        font-size: 52px;
    }
    .new-text {
        width: 330px;
        text-align: center;
    }
    .abouted-item{
        width: 450px;
    }
    .cont_foto{
        width: 400px;
    }
} 
@media (max-width: 600px){
    .card {
        width: 350px;
        flex-wrap: wrap;
    }
} 
@media (max-width: 570px){
    .abouted-foto img {
        width: 400px;
        height: 350px;
    }
    .glavna_go {
        font-size: 20px;
    }
    .glavna_logo {
        font-size: 42px;
        font-weight: 900;
    }
    .glavna_name {
        padding: 150px 0 20px 0;
    }
    .new-foto {
        width: 360px;
        height: 250px;
    }
    .new-about {
        width: 360px;
    }
    .cirses-foto img {
        width: 360px;
    }
    .curses{
        justify-content: center;
    }
    .cirses-foto{
        display: flex;
        justify-content: center;
    }
    .cirses-foto3 img {
        margin: 0 auto;
        width: 360px;
    }
    .niz-logo{
        text-align: center;
    }
    .abouted-item {
        width: 360px;
        text-align: center;
    }
} 
@media (max-width: 500px){
    #reg{
        width: 320px;
    }
    .new-item1{
        width: 350px;
        margin: 0;
    }
    .image-item img {
        width: 350px;
        border-radius: 5px;
        height: 100%;
        object-fit: fill;
      }
      .image-item1 img {
        width: 300px;
        border-radius: 5px;
        height: 80%;
        object-fit: fill;
      }
} 
@media (max-width: 425px){
    .glavna_logo {
        font-size: 35px;
        text-shadow: 1px 1px 2px #b99090, 0 0 1em #00ffa8, 0 0 0.2em #00ff3e;
        margin: 53px 0 0 0
    }
    .txt-wrap{
        padding: 0 5px;
    }
    .abouted-foto img {
        width: 360px;
        height: 330px;
    }
    .header_top_logo img{
        width: 350px;
        margin-bottom: 20px;
    }
    .curses-item{
        width: 360px;
        border: none;
    }
    .popup{
        width: 78%;
    }
    .card {
        width: 320px;
    }
    .new{
        max-width: 360px;
        margin: 0 auto;
    }
    .cont_foto{
        width: 350px;
    }
} 