.body {
  background-color: white;
}
html {
  scroll-behavior: smooth;
}
.head {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70px;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  padding: 0 10px;
  border-bottom: 1px solid rgba(50, 25, 66, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.logo {
  width: 180px;
  margin-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.minilogo{
  display: none;
}
ul {
  list-style: none;
}
.section {
  position: relative;
  text-decoration: none;
  color: #321942;
  font-size: 22px;
  font-weight: bold;
}
.links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 60px;
}
.section:hover,
.section.add {
  color: #704986;
}
.section::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #704986;
  left: 50%;
  bottom: -5px;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.section:hover::after {
  width: 100%;
  left: 0;
}
/*----------------------------------------------------------------------------*/
.newCourse1 {
  margin: 0 50px 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: flex-start;
  gap: 20px;
  color: #321942;
  margin-bottom: 100px;
  margin-left: 50px;
}
.title1 {
  font-size: 50px;
  margin-bottom: -25px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}
.description1 {
  font-size: 25px;
  font-family: "Noto Serif", serif;
  font-weight: 400;
}
/*-------------------------------------------------------------------*/


.photo {
  flex: 1;
  margin: 30px 0;
}
.formDate {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: rgb(112, 73, 134, 0.3) 0px 2px 8px 0px;
  padding: 50px;
  border-radius: 15px;
  margin: 30px;
  gap: 50px;

}
.form{
width: 100%;

}
.dataUser {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  text-align: left;
  color: #321942;
  font-size: 25px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}
.inputData {
  border-radius: 15px;
  width: 100%;
  padding: 15px;
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: -10px;
  border: 1px solid #704986;
  color: #321942;
}
.message {
  border-radius: 15px;
  width: 100%;
  height: 200px;
  padding: 15px;
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: -10px;
  border: 1px solid #704986;
  color: #321942;
  vertical-align: top;
  resize: none;
}
.inputData:focus,
.message:focus {
  border-color: #321942;
  outline: none;
}
.inputData::placeholder,
.message::placeholder {
  color: #321942;
  opacity: 0.5;
  text-align: left;
  top: 0;
}
.send {
  display: flex;
  text-decoration: none;
  color: #321942;
  background-color: rgb(210, 196, 225, 0.5);
  font-size: 25px;
  width: 200px;
  padding: 12px 25px;
  border-radius: 25px;
  border: 1px solid #704986;
  font-family: "Noto Serif", serif;
  transition: transform 0.3s ease;
  margin-right: 510px;
  margin-top: 30px;
}

.send:hover {
  box-shadow: rgb(112, 73, 134, 0.2) 0px 7px 29px 0px;
  transform: translateY(-5px);
}
/*--------------------------------------------------------------------*/
.line {
  margin-top: 100px;
  border-top: 1px solid #704986;
}
.end {
  color: #321942;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.socialIcon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.ficon {
  width: 75%;
}
/*-----------------------------------------------*/
 @media (max-width: 1050px) {
  .logo {
    width: 130px;
  }
  .links {
    gap: 20px;
    margin-right: 30px;
  }
  .section {
    font-size: 18px;
  }
  .newCourse1{
    gap: 50px;
    margin: 40px;
  }
  .formDate{
    gap: 10px;
  flex-direction: column-reverse;
}
    
.photo {
  width: 50%;
  max-width: 300px;
  margin: 0 auto;
}

.message{
    font-size: 18px;
}

.inputData,.message {
  flex: 1;
  width: 100%;}
} 
/*-----------------------------*/
 @media  (max-width: 850px) {
  .logo {
    width: 20%;
  }
  .links {
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .section {
    font-size: 16px;
  }
  .newCourse1{
    margin: 20px;
    gap: 10px;
    justify-content: center;
  }
  .photo {
    width: 70%;
    max-width: 350px;
    margin: 10px auto;
  }

  .send{
    font-size: 20px;
    justify-content: center;
  }
    .inputData,.message {
      width: 90%;
    }
} 
  

@media (max-width: 650px) {
  .links {
    gap: 10px;
  }
  .photo{
    width: 30%;
    max-width: 200px;
    height: auto;
  }

    .title1{
        font-size: 28px;
    }
    .description1{
        font-size: 20px;
    }
     .formDate {
        width: 80%; 
        margin: 20px auto;
        justify-content: space-around;
    }
  .send {
    font-size: 18px;
  }
  .end {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
}
@media (max-width: 480px) {
    .head {
       height: 50px;
    }
    .links {
        gap: 7px;
    }
    .logo {
       display: none;
    }
    .minilogo {
    display: block;
    width: 30px;
    margin-left: 2px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 5px;
    }
    .section {
    font-size: 12px;
    font-weight: 500;
    }
    .title1 {
       font-size: 30px;
    }
  .describtion1 {
    font-size: 14px;
  }
  .send {
    font-size: 14px;
  }
  .newCourse1 {
   
    gap: 0px;
    margin: 5px;
    padding: 5px;
  }
  .photo {
    width: 30%;
  }
.add2{
    margin: 10px auto;

}
.formDate {
  padding: 20px;
  margin: 10px auto;
}
.dataUser{
    gap: 15px;
    font-size: 20px;
}
.inputData,.message{
    padding: 10px;
    font-size: 16px;
}
  .end {
    font-size: 12px;
  }
}
