/* GENERAL */


@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1370px;
  /* Adjust as needed for your preferred width */
  margin: 0 auto;
  /* Center the content */
  padding: 0 2rem;
  /* Add padding for smaller screens */
  box-sizing: border-box;

}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Space Grotesk", sans-serif;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  background-color: rgb(41, 41, 42);
  overflow-x: hidden;

}

#background-video {
  position: fixed;
  /* Ensures the video stays in place as you scroll */
  top: 0;
  left: 0;
  width: 100%;
  /* Covers full width of the viewport */
  height: 100%;
  /* Covers full height of the viewport */
  object-fit: cover;
  /* Ensures the video fills the entire screen proportionally */
  z-index: -2;
  /* Push the video behind all other elements */
}

/* Dark Overlay */
.video-overlay {
  position: fixed;
  /* Fixed position to overlay the entire screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.993);
  /* Semi-transparent black for darkening effect */
  z-index: -1;
  /* Places the overlay above the video but behind content */
}

p {
  color: rgb(220, 220, 220);
}





/* TRANSITION */

a,
.btn {
  transition: background-color 300ms ease, opacity 300ms ease;
}

/*Added this*/
@keyframes blurIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.blur-effect {
  animation: blurIn 1.5s forwards;
}

/*Added this*/


/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  transition-delay: 600ms;

}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
  transition-delay: 600ms;
}

a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-decoration-color: white;
  transition-delay: 600ms;
}

a:hover {
  color: rgb(107, 65, 143);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(120, 35, 218);
}

.logo {
  font-size: 2rem;
  color: white;
}

.logo:hover {
  cursor: pointer;
  transition: all 300ms ease;
  color: rgb(107, 65, 143);
}



/* HAMBURGER MENU */

#hamburger-nav {
  display: none;

  gap: 1px;
  flex-direction: column;
  z-index: 1000;

}

.hamburger-menu {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;

}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transition: all 0.3 ease-in-out;
  
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgb(0, 0, 0);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
    
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
   
}

.menu-links li {
  list-style: none;
    
}

.menu-links.open {
  max-height: 300px;
    
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
    
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;

}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
  
}

.hamburger-icon span:first-child {
  transform: none;
    
}

.hamburger-icon span:first-child {
   
  opacity: 1;
}

.hamburger-icon span:first-child {

  transform: none;
}

/* SECTIONS */

section {
  width: 100%;
  height: auto;
  min-height: auto;
  margin: 0;
  padding: 5rem 0;
  box-sizing: border-box;
  color: white;
}

form {
  background-color: #222;
  /* Slightly lighter shade for the form background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(27, 27, 27, 0.1);
}

.form-label {
  color: #cecece;
  /* Light grey for labels */
}

.form-control {
  background-color: #1d1d1d;
  border: 1px solid #303030;
  color: #ddd;
  /* Light grey for input text */
}

.form-control::placeholder {
  color: #363636;
}

.btn-primary {
  margin-top: 0.8rem ;
  background-color: #007bff;
  /* Consider changing this to fit the black aesthetic, e.g., #333 */
  border: none;
}

.btn-primary:hover {
  background-color: #380f72;
  /* Darker on hover */
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-container {
  display: flex;
  color: white;
}

/* PROFILE SECTION */

#profile {
  width: 100%;
  min-height: 80vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 4rem 0;
  color: white;
}

.section__content {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);

  align-items: center;
  gap: 4rem;
}

/* Center text container */
.section__text {
  width: 100%;
  max-width: 600px;

  margin: 0;

  text-align: left;
  color: white;
}


@keyframes waveHand {
  0% {
    transform: rotate(0deg);
    /* Start at original position */
  }

  20% {
    transform: rotate(15deg);
    /* Move hand to the right */
  }

  40% {
    transform: rotate(-10deg);
    /* Move hand to the left */
  }

  60% {
    transform: rotate(15deg);
    /* Move hand to the right again */
  }

  100% {
    transform: rotate(0deg);
    /* Return to original position */
  }
}

/*nod yes animation*/

@keyframes nodHead {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    /* Start and end in the original position */
  }

  50% {
    transform: translateY(-0px) rotate(-2deg);
    /* Move up and rotate left */
  }
}











.handcontainer {
  width: 320px;
  animation: waveHand 2s ease-in-out infinite;
}

.handcontainer img {
  width: 100%;
  height: auto;
}



/* This is the head part of the character*/

.sectionPicHead {
  width: 100%;

  display: flex;
  justify-content: center;

  margin-top: 1.5rem;

  animation: nodHead 1s ease-in-out infinite;
}

.sectionPicHead img {
  width: 2000px;
  max-width: 100%;
  height: auto;
}





.character-wrapper {
  width: 520px;
  height: 455px;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#CharacterContainer {
  position: relative;

  width: 740px;
  height: 650px;

  transform: scale(0.7);
  transform-origin: top center;

  transition: transform 0.3s ease;
    transform: scale(0.7);

}

#CharacterContainer div {
  position: absolute;
}


.section__pic-container {

  position: absolute;
  top: 190px;
  left: 600px;
  height: auto;
  width: 10%;

}

.section__pic-container img {
  width: 900px;
  /* Ensure the image scales down to fit within the container */
  height: 500px;
  /* Keep the image’s aspect ratio */
}

.section__pic-container2 {

  width: 100%;
  max-width: 320px;

  height: auto;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;

}

.section__text {
  width: 100%;
  max-width: 600px;

  margin: 0;

  text-align: left;
  color: white;
}

.section__text__p0 {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: white;
}

.section__text p {
  font-weight: 600;
  color: white;
}

.section__text__p1 {
  margin-top: 5rem;
  text-align: center;
  color: white;
  

}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: white;
}

.title {
  font-size: 3rem;
  text-align: left;
  color: white;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  padding-top: 0px;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  color: white;
  background: rgb(50, 50, 50);
}

.btn-color-1 {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-color-2 {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1:hover {
  background: rgb(50, 50, 50);
  color: rgb(255, 255, 255);
}

.btn-color-2:hover {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: rgb(50, 50, 50);

}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  margin-top: auto;

}

/* ABOUT SECTION */

#about {
  
  position: relative;
  padding: 4rem 2rem;
  border-radius: 2rem;
  color: #ffffff;

}


#about .section-container {

  display: grid;

  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);

  align-items: center;
  gap: 4rem;

  width: 100%;
  margin-bottom: auto;
}

#about .title {
  text-align: center;
}


.about-containers {
  display: flex;
  width: 100%;

  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;
}



.about-pic {

  display: block;
  width: 100%;
  height: auto;

  border-radius: 5rem;

}

.about-pic:hover {
  transform: scale(1.1);
  /* Enlarges slightly on hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: rgb(41, 41, 42);
  border-radius: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-container:hover {
  transform: scale(1.05);
  /* Slightly enlarges on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-container {
  gap: 4rem;
  height: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.DevotedSenior {
  background: rgb(41, 41, 42);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ecf0f1;
  font-size: 1.1rem;
  line-height: 1.8;

  width: 100%;
  box-sizing: border-box;
}

.DevotedSenior:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Slightly lighter on hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.DevotedSenior p {
  margin-bottom: 1.5rem;
  /* Add spacing between paragraphs */
}

.DevotedSenior strong {
  color: #ffffff;

  font-weight: bold;

}

.DevotedSenior em {
  color: #008f4c;
}

/* EXPERIENCE SECTION */

#experience {
  padding: 4rem 2rem;
  border-radius: 2rem;
  color: #ffffff;
}

.experience-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  /* Highlight color */
  margin-bottom: 1rem;
  text-align: center;
}

  .experience-section {
    width: 100%;
    padding: 0;
  }

  .experience-section + experience-section {

    margin-top: 6rem;

  }

.experience-sub-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  /* Highlight color */
  margin-bottom: 1rem;
  text-align: center;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;


}

.article-container {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));

  justify-content: center;
  gap: 2rem;
}

.article-containerTwo {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));

  justify-content: center;
  gap: 2rem;
}

article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
  width: 220px;
  min-height: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgb(41, 41, 42);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

article:hover {
  transform: translateY(-10px);
  /* Hover animation */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

article .icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  
}

article h3,
article p {
  margin: 0;
}



/* MOMENTS SECTION */


#moments {
  margin-top: 5rem;
  padding: 4rem 2rem;
  border-radius: 2rem;
  color: #ffffff;
}


.moments-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  /* Highlight color */
  margin-bottom: 1rem;
  text-align: center;
}

.moments-sub-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  /* Highlight color */
  margin-bottom: 1rem;
  text-align: center;
}

.moments-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;

}

.image {
  width: 100%;
  max-width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
    cursor: pointer;
      transition: transform 0.3s ease;
}

.image:hover {
  transform: scale(1.03);
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

.close-btn:hover {
  color: #ccc;
}



.EpicImage-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}


EpicImage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgb(41, 41, 42);
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

EpicImage:hover {

  transform: translateY(-10px);
    /* Hover animation */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);


}






/* PROJECTS SECTION */

#projects {

  padding: 4rem 2rem;
  border-radius: 2rem;
  color: #ffffff;
}

#projects .title {
  text-align: center;
  margin-bottom: 2rem;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgba(83, 83, 148, 0);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: rgb(255, 255, 255);
}

.project-btn {
  margin-top: 30px;
  min-width: 140px;
  color: #ffffff;
  background: #490077;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  transition: 0.3s ease, transform 0.3s ease;
  width: 140px;
  height: 40px;
    
}

.project-btn:hover {
  background: #160029;
  transform: scale(1.1);
}

.project-details {
  flex-grow: 1;
}

.project-details li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  position: relative;
  padding-left: 1.5rem;

}


/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: auto;
  height: auto;
  padding: 5rem 0;
}

.contact-form {
  width: 80%;
  max-width: 700px;
  background: rgb(41, 41, 42);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.contact-form .col-md-12:last-child {
  display: flex;
  justify-content: center;
}

.contact-form button {
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  border-radius: 2rem;
}

.contact-form input,
.contact-form textarea {

  padding: 0.75rem;
  font-size: 1rem;
  justify-content: center;
}



.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(41, 41, 42) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}


.form-group-horizontal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-label {
  width: 130px;
  min-width: 10px;
  text-align: right;
  white-space: nowrap;
}


.form-group-horizontal {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.form-group-horizontal .form-control {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.textarea-group {
  
  align-items: flex-start;
}

.textarea-group textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
 
}

.textarea-group .custom-label {
  margin-top: 0.8rem;
}



.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */

footer {
  margin-top: 10rem;
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}



/*Screen Sizes*/

/* RESPONSIVE DESIGN - SCALE CONTENT BASED ON SCREEN SIZE */

/* =========================
   TABLET
   ========================= */

@media screen and (max-width: 768px) {


.handcontainer {
  width: 320px;
  animation: waveHand 2s ease-in-out infinite;
  place-items: center;
  align-items: center;     /* Centers vertically */

}

.handcontainer img {
  width: 100%;
  height: auto;
  place-items: center;
  align-items: center;     /* Centers vertically */

}


  .container {
    width: 100%;
    padding: 0 1rem;
  }


  /* PROFILE */

    #profile {
    padding: 3rem 1rem;
  }

  section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section__content {
    width: 100%;
    max-width: 100%;

    grid-template-columns: 1fr;

    justify-items: center;
    gap: 2rem;
  }

  .section__text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

    .section__text__p0 {
    font-size: 3rem;
  }

  .title {
    text-align: center;
  }

  .section__text__p2 {
    font-size: 1.25rem;
  }

    .btn-container {
    flex-wrap: wrap;
    justify-content: center;
  }

.character-wrapper {
    width: 370px;
    max-width: 100%;
    height: 325px;

    margin: 0 auto;

    overflow: hidden;

    display: flex;
    justify-content: center;
  }

  #CharacterContainer {
    transform: scale(0.3);
    transform-origin: top center;
  }

  #CharacterContainer img {

    max-width: none;
    height: auto;
    object-fit: contain;
  }


  /* ABOUT */

#about {
    width: 100%;
    height: auto;

    margin: 0;
    padding: 20rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
  }




  /* Main content */

  #about .section-container {
    order: 3;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5rem;

    margin-bottom: 3rem;
  }


  /* 2. PICTURE */

  .section__pic-container2 {
    order: 1;

    width: 100%;
    max-width: 260px;

    height: auto;

    margin: 0 auto;

    display: flex;
    justify-content: center;
  }

  .about-pic {
    display: block;

    width: 100%;
    max-width: 260px;

    height: auto;
  }


  /* Holds Experience, Education, DevotedSenior */

  .about-details-container {
    order: 2;

    width: 100%;

    margin: 0;

    display: flex;
    flex-direction: column;

    gap: 1rem;
  }


  /* Experience + Education wrapper */

  .about-containers {
    width: 100%;

    margin: 0;

    display: flex;
    flex-direction: column;

    gap: 1rem;
  }


  /* 3 + 4. EXPERIENCE / EDUCATION */

  .details-container {
    width: 100%;
    max-width: 100%;

    margin: 0;
  }


  /* 5. DEVOTED SENIOR */

  .DevotedSenior {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 1.25rem;

    font-size: 1rem;
    line-height: 1.6;
  }


  /* EXPERIENCE */

  .experience-section {
    width: 100%;
    padding: 0;
  }

  .experience-section + .experience-section {
    margin-top: 6rem;
  }

  .experience-title {
    font-size: 2rem;
  }

  .article-container {
    gap: 1.5rem;
  }

  .experience-section article {
    width: 100%;
    min-height: 230px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 0.5rem;
    padding: 1rem;

    text-align: center;
  }

  .experience-section article .icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
  }


  /* CONTACT */

   #contact {
    width: 100%;
    height: auto;

    margin: 0;

    /* Space above and below Contact */
    padding: 30rem 1rem;
  }

  .contact-form {
    width: 100%;
    max-width: 700px;
  }

  .form-group-horizontal {
    width: 100%;

    flex-direction: column;
    align-items: stretch;
  }

  .custom-label {
    width: 100%;
    min-width: 0;

    text-align: left;
  }

  .form-control,
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

}


/* =========================
   PHONE
   ========================= */

@media screen and (max-width: 480px) {

  .handcontainer {
  width: 320px;
  animation: waveHand 2s ease-in-out infinite;
  place-items: center;
  align-items: center;     /* Centers vertically */

}

.handcontainer img {
  width: 100%;
  height: auto;
  place-items: center;
  align-items: center;     /* Centers vertically */

}



  .container {
    width: 100%;
    padding: 0 0.75rem;
  }


  /* PROFILE */

  #profile {
    padding: 3rem 1rem;
  }


  section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

   .section__content {
    width: 100%;
    max-width: 100%;

    grid-template-columns: 1fr;

    justify-items: center;
    gap: 2rem;
  }

  .section__text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .section__text__p0 {
    font-size: 2.5rem;
  }

  .title {
    font-size: 2rem;
    text-align: center;
  }

  .section__text__p2 {
    font-size: 1.1rem;
  }

  .btn-container {
    flex-wrap: wrap;
    justify-content: center;
  }

.character-wrapper {
    width: 296px;
    max-width: 100%;
    height: 260px;

    margin: 0 auto;

    overflow: hidden;

    display: flex;
    justify-content: center;
  }

  #CharacterContainer {
    transform: scale(0.3);
    transform-origin: top center;
    flex: auto;
  }

  #CharacterContainer img {
    display: block; 
    max-width: none;
    height: auto;
    object-fit: contain;
    flex: auto;
  }


  /* ABOUT */

#about {
    width: 100%;
    height: auto;

    margin: 0;
    padding: 20rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
  }


  #about .section-container {
    order: 3;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 2rem;

    margin: 0;
  }


  .section__pic-container2 {
    width: 100%;
    max-width: 260px;

    margin: 0 auto;
  }

  .about-pic {
    width: 100%;
    height: auto;
  }

  .about-details-container {
    width: 100%;
  }

  .about-containers {
    width: 100%;

    flex-direction: column;

    gap: 1rem;
  }

  .details-container {
    width: 100%;
  }

  .DevotedSenior {
    width: 100%;
    max-width: 100%;

    padding: 1.25rem;

    font-size: 1rem;
    line-height: 1.6;
  }


  /* EXPERIENCE */

  #experience {
    width: 100%;
    height: auto;

    margin: 0;
    padding: 3rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .experience-title {
    font-size: 1.6rem;
  }

  .experience-section + .experience-section {
    margin-top: 4rem;
  }

  .article-container {
    gap: 1rem;
  }

  .experience-section article {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
  }

  .experience-section article .icon {
    width: 85px;
    height: 85px;
  }

  .experience-section article h3 {
    font-size: 1rem;
  }

  .experience-section article p {
    font-size: 0.85rem;
  }
}
