body {
  padding: 8px;
  display: flex;
  flex-direction: column;
}

video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.name {
  margin-top: 10px;
  color: whitesmoke;
  border-bottom: 1px groove whitesmoke;
}

.image-container {
  margin-top: 25px;
  position: relative;
  display: inline-block;
  height: 304px;
  width: 304px;
  border-radius: 250px;
  padding: 0;
}

#profile-pic {
  border-radius: 220px;
  height: inherit;
  width: inherit;
}

.quote {
  color: whitesmoke;
  font-weight: 500;
  margin-top: 15px;
  font-family: 'Play';
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 250px;
  border: 3px solid whitesmoke;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.social-links {
  border: 2px solid whitesmoke;
  border-radius: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0;
}

.thumbnail {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  object-fit: cover;
}

.link-container a {
  color: whitesmoke;
}

.profile-section-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* tab section */
.tab {
  display: flex;
  flex-direction: column;
}

.tab button {
  border: none;
  outline: none;
  transition: 0.3s;
  font-size: 17px;
  float: left;
  padding: 8px 16px;
  background-color: black;
  color: whitesmoke;
  border-radius: 1px;
  font-family: 'Play';
}

.tab button:hover {
  background-color: whitesmoke;
  color: black;
}

.tab button.active {
  background-color: whitesmoke;
  color: black;
}

.tab button:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab button:last-child {
  border-top-right-radius: 0;
}

button {
  font-family: 'Poiret One';
}

.tabcontent {
  background-color: rgba(255, 255, 255, 0.5);
  border-left: 3px solid whitesmoke;
  border-right: 3px solid whitesmoke;
  padding: 8px;
  border-radius: 5px;
  display: none;
  animation: fadeEffect 1s;
}

.project-link {
  color: darkgreen;
}

.project-link-active:visited {
  color: darkolivegreen;
}

.photo-fiesta-image {
  height: 380px;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

h1, h2 {
  font-family: 'Play';
}

h2 {
  color: black;
}



.certificates-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.google-certificate-img {
  height: 282px;
}

.ra-certificate-img {
  height: 219px;
}

/* --Tablet view-- */
@media screen and (min-width: 768px) {
  .social-links {
    width: 410px;
  }

  .tab {
    flex-direction: row;
    margin: auto;
  }

  .tab button:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 0;
  }

  .tab button:last-child {
    border-top-right-radius: 10px;
  }

  .photo-fiesta-image {
    height: 485px;
  }

  #carousel-photo-fiesta,
  #spring-mini-project,
  #tic-tac-toe-project,
  #AboutMe{
    width: 598px;
  }

  #lib-erd-image,
  #tic-tac-toe-image {
    height: 535px;
  }

  .certificates-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  #tech-stack-photo-fiesta {
    font-size: 16px;
  }

  .ra-certificate-img {
    height: 282px;
  }
}

/* --Desktop View-- */
@media screen and (min-width: 1440px) {
  main {
    width: 1000px;
  }

  .social-links {
    width: 410px;
  }

  .image-container {
    height: 335px;
    width: 335px;
  }

  .name {
    width: 312px;
    display: flex;
    justify-content: center;
  }

  .tab {
    flex-direction: row;
  }

  .profile-section-container {
    margin-top: 15px;
    align-items: center;
    width: 1000px;
    color: black;
  }

  #AboutMe p {
    font-size: 17px;
  }

  .tab button:first-child {
    border-top-right-radius: 0;
  }

  .tab button:last-child {
    border-top-right-radius: 10px;
  }

  #carousel-photo-fiesta {
    width: 650px;
  }

  .photo-fiesta-image {
    height: 700px;
  }

  #lib-erd-image,
  #tic-tac-toe-image {
    height: 535px;
  }

  .certificates-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  .ra-certificate-img,
  .google-certificate-img {
    height: 494px;
  }

  .ra-certificate-img {
    width: 500px;
  }

  .accolades-header {
    align-self: flex-start;
  }

  #tech-stack-photo-fiesta {
    font-size: 16px;
  }

  .form-container {
    display: flex;
    flex-direction: column;
    width: 355px;
  }
}