body {
  text-align: center;
  margin: 0;
}

#myVideo {
  z-index: -1;
  overflow: hidden;
  min-width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
  object-fit: cover;
  position: fixed;
}

nav a {
  padding: 20px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bolder;
}

nav a:hover {
  text-decoration: underline;
  color: blue;
}

nav {
  display: flex;
  border-width: 3px;
  border-style: solid;
  border-color: black;
  height: 50px;
  padding: 8px;
  margin-bottom: 60px;
  justify-content: space-between;
  text-align: end;
  background-image: url(IMG/desktop-wallpaper-cool-coding-cool-code-1653187583.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
}

nav div {
  display: flex;
  align-items: center;
  gap: 8px;
}

#profile-img {
  border-radius: 50%;
  width: 50px;
  transform: scale(1.2);
  transition: visiblity 0.1 ease-in-out;
}

#main-content-area {
  text-align: center;
  border-width: 3px;
  border-style: solid;
  border-color: black;
  width: 70%;
  height: 500px;
  margin: auto;
  margin-bottom: 5%;
  padding: 6%;
  overflow:auto;
  background-color: white;
}

.main-pfp {
    border-radius: 45%;
    width: 300px;
    height: 300px;
    display: flex;
    margin-left: 60px;
}

#main-content-area p {
  margin: 0;
}

#about-me-area {
  text-align: center;
  border-width: 3px;
  border-style: solid;
  border-color: black;
  width: 70%;
  height: 500px;
  margin: auto;
  margin-bottom: 5%;
  padding: 6%;
  overflow: hidden;
  background-color: white;
}

#about-me-area p {
  margin: 35px;
  font-size: medium;
}

#project-area {
  border-width: 3px;
  border-style: solid;
  border-color: black;
  width: 80%;
  height: 500px;
  margin: auto;
  margin-bottom: 5%;
  padding-top: 90px;
  box-sizing: border-box;
  display: flex;
  position: relative;
  text-align: center;
  background-color: white;
}

#project-area-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-width: 3px;
  border-style: solid;
  border-color: black;
  width: 100%;
  height: 80px;
  text-align: start;
  font-size: larger;
  margin-bottom: 10px;
}

#project-area img {
  border-width: 3px;
  border-style: solid;
  border-color: black;
  border-radius: 35%;
  width: 150px;
  height: 110px;
}

#project-area .div-1 {
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
}

#contact-area {
  border-width: 3px;
  border-style: solid;
  border-color: black;
  width: 80%;
  height: 500px;
  margin: auto;
  margin-bottom: 5%;
  background-color: white;
}

#emailBody {
  height: 200px;
  width: 300px;
  max-width: 500px;
  max-height: 300px;
  min-width: 194px;
  min-height: 188px;
}

#composeEmail {
  color: black;
  font-size: larger;
}

@media (max-width: 480px) {
  body {
    background-color: red;
  }
}
@media (max-height: 600px) {
  body {font-size: 14px;
  }
}

@media (min-width: 960px){
  #main-content-area {
    font-size: 16px;
  }
}

.second-name {
  visibility: hidden;
}

.p1 {
  margin-top: 2px;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.intro h2 {
  text-align: center;
  color: white;
  z-index: 2000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 60px;
  font-weight: bold;
}

  .intro video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video fills the whole screen */
  position: absolute;
  top: 0;
  left: 0;
  }

  .content {
    opacity: 0;
    transition: opacity 1.5s ease-in;
  }

  .show-content {
    opacity: 1;
  }

  a:hover {
    text-decoration: underline;
    color: rgb(71, 71, 163);
  }

  #contact-area button {
    margin-top: 15px;
    border-radius: 9%;
    height: 50px;
    width: 100px;
    font-weight: bolder;
  }

  #contact-area button:hover {
    background-color: rgb(219, 219, 219);
    box-shadow: -5px 5px gray;
    cursor: pointer;
  }