@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100%;
  font-family: "poppins", sans-serif;
  background-color: black;
  display: flex;
  background-image: url("/Image/image.png");
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
}
.container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  gap: 40px;
  justify-content: space-around;
  object-fit: cover;
  padding: 30px;
}

/* --------------Left part------------ */
.container .left-part {
  width: 100%;
  height: 107%;
  position: relative;
  flex-basis: 55%;
  /* background-color: gray; */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  object-fit: cover;
  margin: 10px;
  padding: 10px;
}
.container .left-part .profile-logo img {
  height: 100%;
  width: 100%;
  transition: 0.5s;
  overflow: hidden;
}
.profile-logo {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 9px solid green;
  box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 4s ease-in;
  animation-name: animate;
  animation-duration: 0.13s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
.profile-logo:hover {
  border: 9px double blue;
  box-shadow: 0px 0px 30px rgb(3, 67, 170);
  background-image: url("/My photo.png ");
  width: 270px;
  height: 270px;
  border-radius: 50%;
  overflow: hidden;
  animation-name: animate;
  animation-duration: 0.13s;
  animation-delay: 0.01s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

@keyframes animate {
  from {
    border: 9px double blue;
    box-shadow: 0px 0px 30px rgb(3, 67, 170);
  }
  to {
    border: 9px double red;
    box-shadow: 0px 0px 30px rgb(255, 30, 50);
  }
}
.profile-text h1 {
  background: linear-gradient(360deg, #de00ff, #0000ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.left-part .social-media {
  padding-top: 20px;
  font-size: 30px;
}
.left-part .social-media i {
  color: white;
  transition: 0.5s;
}
.left-part .social-media i:hover {
  transform: rotate(360deg);
  color: blue;
}

/* --------------------Right part-------------------- */
.container .right-part {
  margin: 10px;
  padding: 20px;
  flex-basis: 40%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  min-height: 45vh;
  width: 45vw;
  color: black;
  text-align: left;
}
h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}
form {
  margin: 2rem 0 1rem 0;
}

form,
select,
button,
input {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 0.75rem;
}
form input {
  border: 1px solid lightgray;
  font-size: 1rem;
  height: 2rem;
  padding-left: 0.5rem;
}
.container .dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}
.dropdown .select-container img {
  max-width: 2rem;
}
.dropdown .select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  border-radius: 0.5rem;
  border: 1px solid lightgray;
  padding: 3px;
}
.dropdown i {
  font-size: 1.5rem;
  margin-top: 1rem;
}
.dropdown .select-container select {
  font-size: 1rem;
}
.msg {
  margin: 2rem 0;
}
form button {
  height: 3rem;
  background-color: hsl(287, 64%, 59%);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}
@media only screen and (max-width: 1000px) {
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 50px;
    padding: 30px;
  }
  .container .right-part {
    width: 80vw;
    height: auto;
    margin: 10px;
    padding: 20px;
    flex-basis: 40%;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 1rem;
    min-height: 45vh;
    width: 80vw;
    text-align: left;
  }
}
