html,
body {
  font-family: monospace, "Open Sans";
  background: linear-gradient(135deg, #021b40, #0769e0, #021b40);
  color: #f0f4ff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: large;
}
body {
  display: flex;
  flex-direction: column;
}
header {
  width: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  color: white;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
nav a {
  text-decoration: none;
  margin: 0 10px;
  font-size: larger;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ffe600;
  text-shadow: 0 0 10px #ffe600;
}
nav > ul > li {
  display: inline;
}
main {
  flex: 1;
  padding-top: 65px;
  width: 100%;
}
#hero {
  margin: 15px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 15px;
  max-width: 80%;
}

a {
  color: #ffeb3b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 0 0 6px #ffeb3b;
}

#welcome-message {
  border-bottom: 2px solid #ffffff;
  width: 0;
  text-align: center;
  margin: 30px auto;
  text-align: center;
  text-wrap: nowrap;
  overflow: hidden;
  animation: typing 3s steps(30) forwards;
}
#cards {
  margin: 20px 10px;
  display: flex;
  justify-content: space-evenly;
}
.card {
  background-color: #0253b5;
  color: #ffffff;
  width: 300px;
  border-radius: 10px;
  padding: 10px;
  margin: 40px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: all 0.6s ease-in;
}
.card h2 {
  color: #fff;
}
.card p span {
  font-weight: bolder;
  font-size: larger;
  color: #ffeb3b;
}
.card:hover {
  transform: scale(1.04);
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 90%;
  }
}
@media (max-width: 800px) {
  #cards {
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .card {
    width: 85vw;
    margin: 10px auto;
  }
}
details {
  width: 190px;
}

details a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  border: 1px dotted #ffe600;
  margin: 2px;
  border-radius: 50px;
  padding: 5px;
}

summary {
  border: 2px solid white;
  width: fit-content;
  border-radius: 10px;
  padding: 5px 10px;
  cursor: pointer;
  user-select: none;
}

summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  body {
    text-shadow: none;
    font-size: large;
  }
  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  nav > ul > li > a {
    font-size: 15px;
    margin: 0 5px;
    color: white;
  }
  nav {
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  #welcome-message {
    white-space: nowrap;
    font-size: larger;
  }
  #about-container section,
  #projects-container section,
  #faridatDescription-container section {
    margin: 5px 0;
  }
  #scyflix-container h2 {
    font-size: 1.5rem;
  }
  #scyflix-video-preview iframe {
    max-width: 100%;
    height: 200px;
  }
}
.project span {
  font-weight: bolder;
}

blockquote img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 10px;
  vertical-align: middle;
}
#about-container,
#projects-container,
#contact-container,
#faridatDescription-container {
  max-width: 80vw;
  background: rgba(96, 165, 250, 0.25);
  backdrop-filter: blur(80px);
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  color: #f0f4ff;
}
#about-container section,
#projects-container section,
#faridatDescription-container section {
  margin: 20px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid white;
}
.project,
.faridatDescription {
  border-radius: 10px;
  padding: 10px;
  margin: 10px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
  transition: all 0.7s ease;
}
.project:hover,
.faridatDescription:hover {
  transform: scale(1.03);
}
#scyflix-video-preview {
  margin: 30px auto;
  display: flex;
  justify-content: center;
}

#scyflix-video-preview iframe {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.button {
  text-align: center;
  display: inline-block;
  background-color: #ffeb3b;
  color: #124e96;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 235, 59, 0.4);
}

.button:hover {
  background-color: #fff;
  color: #124e96;
  box-shadow: 0 0 20px rgba(255, 235, 59, 0.8);
  transform: scale(1.05);
}
#contact-container a {
  color: #ffeb3b;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
#contact-container a:hover {
  color: #fff;
  text-shadow: 0 0 10px #ffeb3b;
}
footer {
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #021b40;
  width: 98%;
  border-radius: 10px;
  gap: 10px;
  padding: 5px;
}
input,
textarea {
  margin: 10px;
  width: 80%;
  background-color: #fafafa;
  border-radius: 10px;
}
input {
  height: 30px;
}
textarea {
  height: 80px;
}
#formbtn {
  border-radius: 30px;
  margin: 10px;
  width: 50%;
  background: linear-gradient(180deg, #65abff, #023e97);
  height: 30px;
  font-size: 20px;
  transition: all 0.8s ease;
}
#formbtn:hover {
  background: linear-gradient(180deg, #023e97, #65abff);
  transition: all 0.8s ease;
}
