@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital@1&display=swap');
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    
} 
  /* Presentational Styles */
  body {
    display: grid;
    font-size: 20px;
    height: 100vh;
    place-items: center;
  }
.section{
    width: 100%;
}
.container{
    width: 100%;
    background: -webkit-linear-gradient(45deg, rgb(255, 172, 99), rgb(221, 130, 12));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}
a {
    color:white;
    text-decoration: none;
  }
  
  a {
    background:
      linear-gradient(
        to right,
        rgb(29, 180, 180),
        #07eeee
      ),
      linear-gradient(
        to right,
        rgb(112, 74, 251),
        rgb(148, 253, 28),
        rgb(140, 0, 200)
    );
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
  }
  
  a:hover {
    background-size: 0 3px, 100% 3px;
  }
  
.section1{
    width: 100%;
    height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: url("https://mykaleidoscope.ru/x/uploads/posts/2022-10/1666230143_29-mykaleidoscope-ru-p-otkritka-s-muzikoi-oboi-32.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.container1{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px 60px;
}
.wrap{
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 100px;
}
.text{
    font-size: 22px;
    margin: 20px 25px;
    color: rgb(0, 0, 0);
    font-family: 'Gentium Plus', serif;
}
.title{
    font-size: 60px;
    margin: 20px 25px;
    color:rgb(0, 0, 0);
    font-family: 'Gentium Plus', serif;
}
.section2{
    width: 100%;
    background: -webkit-linear-gradient(45deg, rgb(231, 239, 238) 17%, rgb(212, 135, 18));
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 80px;
}
.container2{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.title1{
    font-size: 30px;
    text-align: center;
    margin: 60px 37px;
    padding-top: 200px;
    font-family: 'Gentium Plus', serif;
}
.text1{
    font-size: 25px;
    text-align: center;
    font-family: 'Gentium Plus', serif;
    padding: 18px 35px;
}
.section3{
    width: 100%;
    height:1500px;
    background: -webkit-linear-gradient(45deg, rgb(237, 167, 87) 17%, rgb(255, 255, 255) 79%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*margin-top: 144px;*/
}
.container4{
    width: 100%;
    width: 1200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.title2{
    font-size: 30px;
    margin: 80px 25px;
    font-family: 'Gentium Plus', serif;
}
.title3{
    font-size: 25px;
    padding-top: 30px ;
    text-align: center;
    margin: 20px;
    font-family: 'Gentium Plus', serif;
}
.text2{
    font-size: 20px;
    margin: 20px;
    font-family: 'Gentium Plus', serif;
}
.wrap4{
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.wrap5{
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
}

.box{
    width: 250px;
    height: 250px;
}
/* Настройки */ 
.mask{
    --uiMaskClipPath: var(--maskClipPath);
    box-sizing: var(--maskBoxSizing, border-box);
    display: var(--maskDisplay, inline-flex);
    padding: var(--maskStrokeThickness, 3px);
    clip-path: var(--uiMaskClipPath);
    background-color: var(--maskStrokeColor, currentColor);
    --maskStrokeColor: #e27c22; /* Цвет рамки */
    --maskStrokeThickness: 6px; /* Ширина рамки */ 
}
.mask-img{
    max-width: 100%;
    display: block;
    clip-path: var(--uiMaskClipPath);
}
.mask, 
.mask-img{
    transition: clip-path var(--maskAnimationDuration, .2s) var(--maskAnimationTimingFunction, ease-out);
}
/* Первая рамка */
.mask-one{
    --maskClipPath: polygon(0 10%, 10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%);
}
.mask-one-frame{
    --maskAnimationDuration: .5s;
}
.mask-one:hover, 
.mask-one:focus{
    --maskClipPath: polygon(0 0, 100% 0, 100% 10%, 100% 100%, 90% 100%, 0% 100%, 0% 90%, 0% 10%);
}
/* Вторая рамка */
.mask-two{
    --maskClipPath: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.mask-two-frame{
    --maskAnimationDuration: .5s;
}
.mask-two:hover, 
.mask-two:focus{
    --maskClipPath: polygon(100% 0, 100% 50%, 100% 100%, 0 100%, 0% 50%, 0 0);
}
/* Третья рамка */
.mask-three{
    --maskClipPath: polygon(0 10%, 10% 10%, 10% 0, 90% 0, 90% 10%, 100% 10%, 100% 90%, 90% 90%, 90% 100%, 10% 100%, 10% 90%, 0 90%);
}
.mask-three-frame{
    --maskAnimationDuration: .6s
}
.mask-three:hover, 
.mask-three:focus{
    --maskClipPath: polygon(90% 0, 100% 0, 100% 10%, 100% 90%, 100% 100%, 90% 100%, 10% 100%, 0 100%, 0 90%, 0 10%, 0 0, 10% 0);
}
/* Четвертая рамка */
.mask-four{
    --maskClipPath: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}
.mask-four-frame{
    --maskAnimationDuration: .5s
}
.mask-four:hover, 
.mask-four:focus{
    --maskClipPath: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.title8{
    font-size: 25px;
    margin: 30px 25px;
    font-family: 'Gentium Plus', serif;
}


.img1{
    width: 250px;
    height: 200px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 25px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
  .img1:hover {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); 
  }
  .img1 {
    display: inline-block; 
    overflow: hidden; 
   }
   .img1{
    transition: 1s; 
    display: block; 
   }
   .img1:hover {
    transform: scale(1.2);
   }
.section4{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    background: -webkit-linear-gradient(45deg, rgb(255, 255, 255), rgb(239, 146, 53));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.container5{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wrap2{
    width: 1200px;
    padding: 50px;
}
.wrap6{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around; 

}
.title4{
    font-size: 30px;
    margin: 60px 17px;
    margin-top: 100px;
    font-family: 'Gentium Plus', serif;
}
.text3{
    font-size: 20px;
    margin: 20px ;
    margin-left: 70px;
    font-family: 'Gentium Plus', serif;
}
.title9{
    font-size: 30px; 
    margin: 80px 25px;
    margin-top: 176px;
    margin-left: 650px;
    font-family: 'Gentium Plus', serif;
}
.title10{
    font-size: 25px;
    margin: 30px 25px;   
    font-family: 'Gentium Plus', serif;
}

.wrap7{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;   
    align-items: center;
}
.box4{
    width: 300px;
    height: 300px;
    margin-top: 64px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blur-image {
    filter: blur(5px); 
    transition: 1s; 
    width: 300px;
    height: 200px;
}
.blur-image:hover {
    filter: blur(0); 
}
.title133{
    font-size: 30px;
    margin: 30px 25px;   
    font-family: 'Gentium Plus', serif;
}
.img6{
    width: 300px;
    height: 200px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 30px;
    margin-bottom: 30px;
}

.text4{
    font-size: 20px;
    margin: 20px ;
    color: #1c1e24;
    font-family: 'Gentium Plus', serif;
}
.link1{
    text-decoration: none;
}
.img2{
    width: 500px;
    height: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 120px;
    margin-top: -140px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
 .img2:hover {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg); 
}
.section5{
    width: 100%;
    background: -webkit-linear-gradient(45deg, rgb(237, 133, 14), rgb(255, 255, 255));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container6{
    width: 1200px;
    padding: 100px 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.wrap8{
    width: 120%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
}
.wrap9{
    width: 120%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
}
.wrap10{
    width: 120%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly; 
}
.box1{
    width: 200px;
    margin: 20px;
}
.box2{
    width: 200px;
    margin: 20px;
}
.box3{
    width: 200px;
    margin: 20px;
}

/* Блок картинки */
.rotate-block {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Изображение */
  .change-img {
    width: 200px;
    height: 200px;
    position: relative;
    perspective: 1000px;
    border: 1px solid #d68360; /* Рамка */
  }
  .change-img:hover .front-side-img {
    transform: rotateY(180deg);
  }
  .change-img:hover .back-side-img {
    transform: rotateY(360deg);
  }
  /* Стороны изображения */
  .front-side-img, .back-side-img {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
    back-side-imgface-visibility: hidden;
   }
  .front-side-img img {
    max-width: 100%;
    min-width: 100%;
    height: auto;
  }
  .back-side-img img {
    max-width: 100%;
    min-width: 100%;
    height: auto;
    transform: scaleX(-1);/* Отражаем изображение по горизонтали */
  }
  .back-side-img {
    transform: rotateY(180deg);
  }
.title12{
    font-size: 30px; 
    margin: 80px 25px;
    margin-top: 176px;
    margin-left: 100px;
    font-family: 'Gentium Plus', serif;
}
.title11{
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 50px;  
    font-family: 'Gentium Plus', serif;
}

.title5{
    font-size: 24px;
    margin: 20px 15px;
    font-family: 'Gentium Plus', serif;
}
.text5{
    font-size: 18px;
    margin: 20px 30px ;
    font-family: 'Gentium Plus', serif;
}
.title6{
    text-align: center;
    font-size: 30px;
    font-family: 'Gentium Plus', serif;
    padding-top:70px ;
}

.section6{
    width: 100%;
    height: 350px;
    background:-webkit-linear-gradient(135deg, rgb(255, 136, 0), rgb(255, 255, 255));
    padding-top: 120px;
}
.container7{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.img4{
    margin: 30px;
    width: 150px;
    height: 80px;
    border-radius: 20%;
}
.title7{
    background: azure;
    font-size: 25px;
    padding: 20px;
    font-weight: 900;
    font-family: 'Gentium Plus', serif;
}
.link4{
    text-decoration: none;
    color: #1c1e24;

}
.img4{
    width: 100px;
    height: 100px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 20px;
}
img:hover {
    outline: 2px dashed #3d1f15; /* Ширина, вид и цвет рамки */
    outline-offset: -10px; /* Выводим рамку внутри элемента */
}
.box5{
    width: 300px;
    height: 300px;
    margin-top: 144px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
@media (max-width:1200px) {
  .container3{
    width: 80%;
  }
  .wrap6{
    flex-direction: column;
 
  }
  .wrap7{
    flex-direction: column;
  }
  .box4{
    width: 100%;
  }
  .wrap8{
    flex-direction: column;
  }
  .wrap9{
    flex-direction: column;
  }
  .wrap10{
    flex-direction: column;
  }
  .box1{
    width: 100%;
  }
  .box2{
    width: 100%;
  }
  .box3{
    width: 100%;
  }
  .title11{
    margin-left: 530px;
  }
  .container4{
    width: 80%;
  }
  .container6{
    width: 80%;
  }
  .container5{
    width: 80%;
  }
  .title9{
    margin-left: 266px;
  }
}


