body {
    margin: 0;
    padding: 0;
     font-family: 'Courier New', monospace;
    background-color: #FFACEE;
}

header {
    border: 6px solid black;
    border-radius: 8px; 
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
    margin-top: 30px; 
    background-color: white;
}
header .box{
    display: flex;
    flex-flow:row wrap;
    cursor: pointer;
    width: 100px;
    height: 15px;
    justify-content: space-around;

}
 button {
width: 20px;
    height: 20px;
 border-radius: 70%;
    background-color: red; 
    cursor: pointer;

}
.popup{
position: relative;
}

.popup::after {
  content: "close";
    display: none;
    position: absolute;
    top: 100%;
    right: 10px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 10px;
}

.popup:hover::after {
   display: block;
}
#backButton{
  width: 20px;
    height: 20px;
     border-radius: 70%;
    background-color: yellow; 
}
.popup-button {
    position: relative;

}

.popup-button::after {
    content: "back";
    display: none;
    position: absolute;
    top: 100%;
    left:0;
    background-color: #fff;
     border: 2px solid #000;
    border-radius: 5px;
    padding: 10px;
}

.popup-button:hover::after {
    display: block;

}

.dropdown{
    width: 20px;
    height: 20px;
    border-radius: 70%;
    background-color: green; 
    position: relative;
    display: inline-block;
    border:2px;
    border-color:1px solid black;

}

        .dropdown-content {
          margin-top: 20px;
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            height: 170px;
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;
            padding: 4px;
            text-align: center;

        }
        .dropdown-content a{
        justify-content: space-around;
         color: black;
          text-decoration: none;
          transition: 0.3s;
        }

        .dropdown-content a:hover{
           color: #FFACEE;
           font-size: 20px;
           transition: 0.3s;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }



.box1{
      margin: 0;
    padding: 0px;
    height: 2000px;
 font-family: 'Courier New', monospace;
    border: 6px solid black; 
    max-width: 1250px; 
    margin: 0 auto; 
margin-top: 30px;
background-color: white;
border-radius: 8px;
display: flex;
position: relative;
}

section{
     width: 100%;
}
section article{
 width: 60%;
 float:right;

}

section article h1{
    font-size: 60px;
    margin-right: 150px;

}
section article p{
    font-size: 17px;
    margin-top: -50px;
    margin-left: 10px;
    width: 100%;
}

section h2{
    font-size: 38px;
    margin-top: 7px;
    margin-left: 15px;


}

.Education {
    margin-top: 100px;
  width: 580px; /* Ширина прямоугольника */
  height: 380px; /* Высота прямоугольника */
  position: relative;
  display: flex;
  background-color: #ccc; /* Цвет прямоугольника */
  overflow: hidden; /* Скрыть контент, выходящий за пределы прямоугольника */
  border: 6px solid black;
  border-radius: 10px;
  background-color: white;
}

.Achivements{
    margin-top: 40px;
  width: 580px; 
  height: 390px; 
  background-color: #ccc; 
  overflow: hidden; 
  border: 6px solid black;
  border-radius: 10px;
  background-color: white;


}

.Skills{
    margin-top: 40px;
  width: 580px; 
  height: 300px; 
  background-color: #ccc; 
  overflow: hidden; 
  border: 6px solid black;
  border-radius: 10px;
  background-color: white;

}
.Languages{
  margin-top: 40px;
  width: 580px; 
  height: 250px; 
  background-color: #ccc; 
  overflow: hidden; 
  border: 6px solid black;
  border-radius: 10px;
  background-color: white;
}

.content {
  padding: 1px; /* Отступ внутри прямоугольника, чтобы текст не был прижат к границам */
  color: #000; /* Цвет текста */
  background-color: #DDF0FF;
  height: 50px;
}

.content ul{
    margin-top: 20px;
    margin-left: 3px;

}

section aside{
width: 40%
}


section aside img{
    max-width: 70%;
    margin-left: 50px;
    margin-top: 50px;
    border-radius: 6px;

}



section aside h3{
  margin-top: 65px;
  margin-left: 55px;
  font-size: 27px;
}

section aside a{
    color: black;
    text-decoration: none;
    transition: 0.3s;
}
section aside a:hover{
  color: #FFACEE;
  font-size: 30px;
  transition: 0.3s;
}


/*----------------------------------------------*/

section h4{
  text-align: center;
  font-size: 45px;
}

.ImPh {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

.ImIl{
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

section p h1{
  text-align: center;
  width: 98%;
  font-size: 40px;
}

form{
width: 100%;
height: 600px;
margin-top: 150px;
text-align: center;
font-size: 20px;


}

#name{
  width: 600px;
height: 25px;
margin-top: 15px;
border-radius: 5px;
}

#company{
width: 600px;
height: 25px;
margin-top: 15px;
border-radius: 5px;
}

#message{
  width: 600px;
height: 400px;
margin-top: 15px;
border-radius: 5px;

}

.send{
  width: 100px;
  height: 40px;
  font-size: 20px; 
}

.send:hover{
  color: #FF23CD;
  transition: 0.3s;
  cursor: pointer;
}


section h5{
  text-align: center;
  font-size: 50px;
  width: 96%;
}

section h6{
  font-size: 25px;
  margin-left: 50px;
}

section p{
   margin-left: 50px;
   font-size: 18px;
   width: 85%
}
iframe{
  margin-left: 70px;
}
video{
  width:850px ;
  height:500px ;
  margin-left: 25px;

}
footer {
    background-color: #333; /* Цвет фона */
    color: #fff; /* Цвет текста */
    padding: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 98.5%;
    height: 70px;
}
footer address{
  color: white;
  float: right;
  margin-top: 10px;
}
.cont p{
  float: left;
text-align: left;
margin-left: 20px;

}