.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Header/logo Title */

@keyframes typewriter {
  0% {
    content: "";
  }
  2% {
    content: "T";
  }
  4% {
    content: "Ta";
  }
  6% {
    content: "Tak";
  }
  8% {
    content: "Take";
  }
  10% {
    content: "Take a";
  }
  12% {
    content: "Take an";
  }
  14% {
    content: "Take an I";
  }
  16% {
    content: "Take an In";
  }
  18% {
    content: "Take an Ins";
  }
  20% {
    content: "Take an Insi";
  }
  22% {
    content: "Take an Insid";
  }
  24% {
    content: "Take an Inside";
  }
  26% {
    content: "Take an Inside P";
  }
  28% {
    content: "Take an Inside Pe";
  }
  30% {
    content: "Take an Inside Pee";
  }
  32% {
    content: "Take an Inside Peek";
  }
  34% {
    content: "Take an Inside Peek i";
  }
  36% {
    content: "Take an Inside Peek in";
  }
  38% {
    content: "Take an Inside Peek int";
  }
  40% {
    content: "Take an Inside Peek into";
  }
  42% {
    content: "Take an Inside Peek into th";
  }
  44% {
    content: "Take an Inside Peek into the";
  }
  46% {
    content: "Take an Inside Peek into the m";
  }
  48% {
    content: "Take an Inside Peek into the mi";
  }
  50% {
    content: "Take an Inside Peek into the min";
  }
  52% {
    content: "Take an Inside Peek into the mind";
  }
  54% {
    content: "Take an Inside Peek into the mind o";
  }
  56% {
    content: "Take an Inside Peek into the mind of";
  }
  58% {
    content: "Take an Inside Peek into the mind of y";
  }
  60% {
    content: "Take an Inside Peek into the mind of yo";
  }
  62% {
    content: "Take an Inside Peek into the mind of you";
  }
  64% {
    content: "Take an Inside Peek into the mind of your";
  }
  66% {
    content: "Take an Inside Peek into the mind of your h";
  }
  68% {
    content: "Take an Inside Peek into the mind of your hi";
  }
  70% {
    content: "Take an Inside Peek into the mind of your hir";
  }
  72% {
    content: "Take an Inside Peek into the mind of your hir";
  }
  74% {
    content: "Take an Inside Peek into the mind of your hiri";
  }
  76% {
    content: "Take an Inside Peek into the mind of your hirin";
  }
  78% {
    content: "Take an Inside Peek into the mind of your hiring";
  }
  80% {
    content: "Take an Inside Peek into the mind of your hiring s";
  }
  82% {
    content: "Take an Inside Peek into the mind of your hiring sq";
  }
  84% {
    content: "Take an Inside Peek into the mind of your hiring squ";
  }
  86% {
    content: "Take an Inside Peek into the mind of your hiring squad";
  }
}

.changing-text::before {
  content: "";
  animation: typewriter linear 5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.changing-text::after {
  content: "";
  border-right: 1px solid white;
  animation: blink 0.5s linear infinite;
}

@keyframes typewriter2 {
  0% {
    content: "";
  }
  2% {
    content: "C";
  }
  4% {
    content: "Ca";
  }
  6% {
    content: "Cal";
  }
  8% {
    content: "Call";
  }
  10% {
    content: "Call m";
  }
  12% {
    content: "Call me";
  }
  14% {
    content: "Call me o";
  }
  16% {
    content: "Call me ol";
  }
  18% {
    content: "Call me old";
  }
  20% {
    content: "Call me old s";
  }
  22% {
    content: "Call me old sc";
  }
  24% {
    content: "Call me old sch";
  }
  26% {
    content: "Call me old scho";
  }
  28% {
    content: "Call me old schoo";
  }
  30% {
    content: "Call me old school";
  }
  32% {
    content: "Call me old school,";
  }
  34% {
    content: "Call me old school, I";
  }
  36% {
    content: "Call me old school, I d";
  }
  38% {
    content: "Call me old school, I do";
  }
  40% {
    content: "Call me old school, I don";
  }
  42% {
    content: "Call me old school, I don't";
  }
  44% {
    content: "Call me old school, I don't a";
  }
  46% {
    content: "Call me old school, I don't au";
  }
  48% {
    content: "Call me old school, I don't auto";
  }
  50% {
    content: "Call me old school, I don't autom";
  }
  52% {
    content: "Call me old school, I don't automa";
  }
  54% {
    content: "Call me old school, I don't automat";
  }
  56% {
    content: "Call me old school, I don't automate";
  }
  58% {
    content: "Call me old school, I don't automate f";
  }
  60% {
    content: "Call me old school, I don't automate fi";
  }
  62% {
    content: "Call me old school, I don't automate fir";
  }
  64% {
    content: "Call me old school, I don't automate firs";
  }
  66% {
    content: "Call me old school, I don't automate first";
  }
  68% {
    content: "Call me old school, I don't automate first i";
  }
  70% {
    content: "Call me old school, I don't automate first im";
  }
  72% {
    content: "Call me old school, I don't automate first imp";
  }
  74% {
    content: "Call me old school, I don't automate first impr";
  }
  76% {
    content: "Call me old school, I don't automate first impre";
  }
  78% {
    content: "Call me old school, I don't automate first impres";
  }
  80% {
    content: "Call me old school, I don't automate first impress";
  }
  82% {
    content: "Call me old school, I don't automate first impressi";
  }
  84% {
    content: "Call me old school, I don't automate first impressio";
  }
  86% {
    content: "Call me old school, I don't automate first impression";
  }
  88% {
    content: "Call me old school, I don't automate first impressions";
  }
}

.changing-text2::before {
  content: "";
  animation: typewriter2 linear 5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.changing-text2::after {
  content: "";
  border-right: 1px solid white;
  animation: blink 0.5s linear infinite;
}

/*Social Card*/
.socialCard {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
  margin-left: auto;
  margin-right: auto;
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}
/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: 0.3s;
}
/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: 0.3s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #128c7e;
  transition-duration: 0.3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

body {
  color: #3c4439;
  font-family: "Fira Sans", sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .card-label {
    font-size: 1.5rem;
  }
}
p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 16px;
}
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}
.heading-large {
  font-size: 3rem;
  font-weight: 700;
}
.heading-small {
  font-size: 1.8rem;
  font-weight: 400;
}
.section-services-cards > div > p:nth-child(2),
.bd > p:nth-child(3) {
  font-size: 1.25em;
}
.header,
.section-game,
.section-about,
.section-services,
.section-resume,
.section-bdm {
  border-bottom: 1px solid #978a70;
}

/* HEADER */
.header {
  background: #e5b2b1 url("../images/background.png") center top no-repeat;
  background-size: cover;
  padding: 2rem 2rem 3rem 2rem;
  text-align: center;
}
.circle {
  border-radius: 100%;
  border: 1px solid #978a70;
  max-width: 80%;
}
.header-button {
  background-color: #3c4439;
  color: #fff;
  padding: 1% 2%;
  border: none;
}
.header-button:hover {
  background-color: #e5b2b1;
  color: #3c4439;
}
@media screen and (max-width: 768px) {
  .text-transform {
    min-height: 125px;
  }
}
@media screen and (min-width: 768px) {
  .header > p:nth-child(1) {
    text-align: left;
  }
  .circle {
    max-width: 20%;
  }
}
img {
  max-width: 100%;
}

/* ABOUT */
@media screen and (min-width: 768px) {
  .section-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 2rem;
  }
  .section-about-left {
    grid-area: 1 / 1 / 2 / 2;
  }
  .section-about-right {
    grid-area: 1 / 2 / 2 / 3;
  }
}
.section-about {
  padding: 2rem;
}
.section-about-left > h3 {
  margin-top: 0;
  border-bottom: 10px solid #e5b2b1;
}

/* GAME */
.section-game {
  background-color: #fcf1ef;
  padding: 2rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .section-game-content {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
.section-game > div > ul {
  list-style-type: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}
.section-game > div > ul > li {
  font-size: 1.25rem;
  background-color: white;
  padding: 2%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.section-game > div > p:nth-child(4) {
  text-align: left;
}

/* SERVICES */
.section-services {
  padding: 2rem;
}
@media screen and (min-width: 768px) {
  .section-services-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
  }
}
.card {
  margin-bottom: 4rem;
}

/* BDM */
.section-bdm {
  padding: 2rem;
}
@media screen and (min-width: 768px) {
  .bdm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .bdm-card:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
  }
  .bdm-card:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }
}

.bdm-card > h4 {
  background-color: #000000;
  color: #ffffff;
  padding: 5%;
  text-align: center;
}

/* FOOTER */
.section-footer {
  padding: 2rem;
  background: #e5b2b1 url("../images/background.png") center bottom no-repeat;
  background-size: cover; /* Resize the background image to cover the entire container */
  text-align: center;
}
@media screen and (max-width: 768px) {
  #footer > p {
    min-height: 125px;
  }
}

/* RESUME */
.section-resume {
  padding: 2rem;
  background-color: #fcf1ef;
}
.resume-img-1 > img,
.resume-img-2 > img {
  border: 1px solid #978a70;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

@media screen and (min-width: 768px) {
  .resume-img-parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 0px;
  }

  .resume-img-1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .resume-img-2 {
    grid-area: 1 / 2 / 2 / 3;
  }
}

#chatBubble {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #978a70;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(151, 138, 112, 0.2);
  padding: 1rem;
  z-index: 9999;
}

#chatButtons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 1rem;
}
#chatButtons > button:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}
#chatButtons > button:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}
