body {
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: "Varela", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

/* Links and text styling */
a {
  text-decoration: none;
  color: black;
}

p {
  font-size: 14px;
  margin: 0px 0px 10px 0px;
  padding: 10px 20px;
}

h2 {
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  font-size: 30px;
  width: auto;
}

li {
  text-decoration: none;
  list-style: none;
  text-align: center;
}

/* Navbar specific element styling */
.navbar {
  overflow: hidden;
  background-color: black;
  opacity: 87%;
  box-shadow: 0 8px 6px -6px gray;
  height: 50px;
  width: 100%;
  padding: 10px 0;
  position: fixed;
  display: in-line;
  top: 0;
  left: 0;
  z-index: 10;
}

.navbar a {
  float: left;
  display: inline;
  color: #dbfb63;
  text-align: bottom;
  text-decoration: none;
  margin: 5px 10px;
}

.navbar a:hover {
  margin-top: 5px;
  width: auto;
  color: #fff9ec;
  border-radius: 5px;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #3bcfd4;
  text-underline-offset: 5px;
}

/* Styling for mobile nav menu 
/*Code for toggle styling */

.menu {
  display: inline-block;
  padding-left: 0px;
  overflow: visible;
  position: fixed;
  background-color: black;
  width: 100%;
  opacity: 95%;
  height: 55px;
  z-index: 9;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

/*Navbar social icons */
#social-mobile-container {
  /* Styling for social icons in mobile  menu */
  margin-top: 13px;
  margin-right: 44px;
  float: right;
  padding: 2px 2px 0px 2px;
}

#mobile-icons {
  width: 25px;
  height: 25px;
  border: 2px solid #dbfb63;
}

.fold {
  display: inline;
  margin-top: -50px;
  width: 80vw;
  height: auto;
  background-color: #fefbf4;
  padding: 20px 20px 20px 40px;
  border-radius: 5px;
  word-wrap: break-word;
  box-decoration-break: clone;
  border: none;
}

.fold a {
  display: flex;
  flex-direction: column;
  color: black;
  text-decoration: none;
  margin-left: -50px;
  padding: 10px;
}

.fold a:hover {
  height: 20px;
  width: auto;
  color: black;
  border-radius: 5px;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #3bcfd4;
  text-underline-offset: 5px;
}

.unfolder {
  display: none;
}

.toggle-label {
  display: inline-block;
  cursor: pointer;
  font-size: 40px;
  margin-top: -10px;
  width: auto;
  height: auto;
  color: #dbfb63;
}

.unfold-icon,
.fold-icon {
  color: #dbfb63;
  padding: 10px;
  display: inline-block;
}
.unfolder ~ .fold {
  display: none;
}
.unfolder ~ label .fold-icon {
  display: none;
  color: #3bcfd4;
}

.unfolder:checked ~ .fold {
  display: block;
}

.unfolder:checked ~ #social-mobile-container {
  display: none;
}

.unfolder:checked ~ label .fold-icon {
  display: inline;
}
.unfolder:checked ~ label .unfold-icon,
#connect {
  display: none;
}

/* Callout styling */
.callout {
  position: relative;
  background-color: white;
  border-radius: 5px;
  border: 5px solid #3bcfd4;
  text-align: center;
  padding: 0 0 20px 0;
  margin: 120px auto 20px auto;
  width: 170px;
  height: 60px;
  color: #333;
}

.callout::after {
  content: "";
  position: absolute;
  bottom: -90px;
  transform: rotate(35deg);
  /* Position the tail below the callout */
  left: 80px;
  border-width: 55px 15px 50px 10px;
  border-style: solid;
  border-color: #3bcfd4 transparent transparent transparent;
  z-index: -1;
}

.callout-text {
  margin: 15px auto 0px auto;
  font-family: "Amatic SC", serif;
  font-weight: 800;
  font-size: 40px;
  color: black;
}

#profile-section {
  /*styles the PROFILE section container*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 90vw;
  max-width: 1000px;
  background: none;
  margin-bottom: 0px;
  box-shadow: none;
}

.profile-photo {
  /*background-image: url(https://i.postimg.cc/MTrWg6P3/Kristy-outline-profile.png); /*intial background image */
  background-image: url(https://i.postimg.cc/CLqHPF7x/full-color-KD-profile.png);
  height: 255px;
  width: 255px;
  padding-top: 0px;
  background-size: cover;
  border-radius: 5px;
  margin: 0px;
  transition: background-image 0.5s ease-in-out; /* Smooth transition */
}
.profile-photo:hover {
  background-image: url(https://i.postimg.cc/zBy0qTCb/blue-KD-profile-png.png);
}

@keyframes shimmer {
  to {
    background-position: 40%;
  }
}

/*contains the social icons*/
.social-icon-container {
  display: block;
  margin-top: 0px;
  margin-left: 37px;
}
.social-icons {
  border-radius: 150px;
  border: 3px solid #3bcfd4;
  background: #34444c;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  height: 40px;
  width: 40px;
  margin: 5px;
}

/*This is the container that holds the text and graphics inside of current projects div*/

.profile-content-box {
  border-radius: 5px;

  width: 700px;
  max-width: 765px;
  height: 300px;
  padding: 5px;
  margin: 45px 5px 10px 5px;

  animation: grow 2.5s 4s 1;
  font-size: 14px;
}

/*This is the container that holds the text and social icons inside of profile-section  div*/

#name {
  font-size: 40px;
  margin: 10px;
  padding: 0px;
  box-shadow: 0;
}

#role {
  /*Styles the role under my name "Program Manager"*/
  margin: -20px 0px 10px 10px;
  padding: 0px;
  font-family: "Amatic SC", serif;
  font-weight: bold;
  font-size: 40px;
  font-style: normal;
  color: #3bcfd4;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #dbfb63;
  text-underline-offset: 5px;
}

#profile-intro-text {
  font-size: auto;
  margin: 0px 0px 10px 0px;
  padding: 10px 10px;
}

@keyframes grow {
  30% {
    transform: scale(1.2);
  }
}

/* This is the large white container that holds the content in all sections below the PROFILE section. */
.section-container {
  background-color: #f2f2f2;
  padding-bottom: 30px;
  margin: 15px 10px;
  width: 90vw;
  max-width: 1000px;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  border-radius: 5px;
}

.section-title {
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
}

/* This is the container that holds the flip cards or quote cards in each section!! */
.flip-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Skills section styling */
#skills-section {
  flex-direction: row;
  padding-bottom: 30px;
}
/* List of skills styling*/
#skills {
  background: #3bcfd4;
  width: 185px;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 10px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.current-projects-section {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

/* This is for the QUOTE CARD content blocks */
.slide-button {
  height: 17px;
  width: 17px;
  margin: 5px 2.5px;
  padding: 5px;
  color: black;
  text-align: center;
  background: #dbfb63;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.ribbon {
  width: 60px;
  font-size: 14px;
  padding: 4px;
  position: absolute;
  right: -25px;
  top: -12px;
  text-align: center;
  border-radius: 25px;
  transform: rotate(20deg);
  background-color: #ff9800;
  color: white;
  z-index: 10;
}

#sneak-peak {
  background-color: #ff6b6b;
}

.slide-button:hover {
  text-decoration: none;
  height: 17px;
  width: 17px;
  margin: 5px 2.5px;
  padding: 8px;
  color: black;
  background: #3bcfd4;
  text-align: center;
  border-radius: 5px;
}

.slide-button:visited {
  background: #1b998b;
}

#social-proof-section {
  overflow: scroll;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background-color: #f2f2f2;
  padding-bottom: 30px;
  margin: 15px 10px;
  width: 90vw;
  max-width: 1000px;
  height: 350px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  border-radius: 5px;
}

.quote-card {
  background: linear-gradient(to left, #dbfb63, #3bcfd4);
  color: black;
  border-radius: 5px;
  padding: 5px 10px;
  width: 85vw;
  max-width: 1000px;
  margin: 10px 20px;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.quote-card-inner {
  /*the white box on the social proof section*/
  position: sticky;
  top: 0;
  background: white;
  width: 99%;
  height: auto;
  padding: 5px 5px;
  margin: 3px;
  border-radius: 5px;
  text-align: center;
}

/* the rest of the project card styling */
.project-img {
  margin: auto;
  border-radius: 5px;
  width: 250px;
  height: 250px;
}

#html-css-section {
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.flip-card {
  background: transparent;
  width: 250px;
  height: 250px;
  border: none;
  margin: 30px;
  perspective: 1000px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do a horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background: linear-gradient(to left, #dbfb63, #3bcfd4);
  color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  border-radius: 5px;
  padding: 5px;
  height: 250px;
  width: 250px;
}

/* Style the back side */
.flip-card-back {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, #dbfb63, #3bcfd4);
  color: black;
  transform: rotateY(180deg);
  border-radius: 10px;
  height: 250px;
  width: 250px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

/* Title text on the back of the flip card */
.flip-card-back h1 {
  font-family: "Amatic SC", serif;
  font-weight: 800;
  font-style: normal;
  font-size: 40px;
  line-height: 40px;
  margin: 15px 5px 5px 15px;
}

.project-link {
  text-decoration: none;
  background-color: #fff9ec;
  padding: 5px;
  border-radius: 5px;
  margin-top: -30px;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.project-link:hover {
  background: #dbfb63;
  font-weight: bold;
  text-decoration: none;
  color: black;
}

#footer-section {
  /*This is to adjust size of this section.*/
  background: linear-gradient(to left, #dbfb63, #3bcfd4);
  padding: 20px 0px 50px 0px;
  margin: 20px auto;
  width: 90vw;
  height: 10vh;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  border-radius: 5px;
}

.footer-text {
  text-align: left;
  width: auto;
  height: 30vh;
  padding: 10px 20px 10px 20px;
}

.last-updated-text {
  width: auto;
  color: white;
  padding: 20px;
  margin: auto;
  text-align: center;
  color: black;
}

#pull-request-link {
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #3bcfd4;
  text-underline-offset: 5px;
  font-weight: 600;
}

/* Media queries to hide dropdown menu on large screens */
@media screen and (min-width: 481px) {
  .menu {
    visibility: hidden;
  }
}

/*Mobile phone sizing */

@media (max-width: 480px) {
  body {
    background: black;
  }
  .navbar {
    display: none;
  }
  .menu {
    top: 0;
    box-shadow: 0 7px 6px -7px gray;
  }
  .callout {
    margin-top: 80px;
  }
  #connect {
    border: none;
    border-radius: 2;
    margin-left: -50px;
    background-color: none;
    padding: 5px;
  }

  #role {
    color: #3bcfd4;
  }
  .profile-content-box {
    height: auto;
    background: #fefbf4;
    animation: none;
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .profile-photo {
    background-image: url(https://i.postimg.cc/CLqHPF7x/full-color-KD-profile.png);
  }
  .quote-card {
    height: auto;
    width: 80vw;
    margin-top: 20px;
  }
  #about-me-quote-card {
    padding: 10px 20px;
    font-size: 14px;
  }

  .quote-card-inner {
    width: 97%;
    height: auto;
    color: black;
    text-align: left;
  }
  .flip-card {
    margin-right: 40px;
  }
  .project-link:hover {
    width: 250px;
    height: 250px;
    padding: 10px;
  }
  #footer-section {
    height: 20vh;
    padding-bottom: 60px;
  }
  .last-updated-text {
    color: #dbfb63;
  }
}
