body {
  font-family: "Noto Serif", serif;
  background-image: url("./images/white.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h1 {
  color: #ea1c2c;
  padding-top: 10px;
  font-size: 2rem;
  /* text-size-adjust: 50%; */
}

li {
  text-align: left;
  padding-right: 40px;
}

hr {
  width: 50%;
  height: 2px;
  border-width: 0;
  color: gray;
  background-color: gray;
}

img.center_img {
  min-width: 350px;
  max-width: 80%;
  border-radius: 50%;
}

img.logo_img {
  max-width: 100%;
}

img.hobby_img {
  min-width: 5%;
  max-width: 30%;
  margin: 30px;
}

img.language_img {
  min-width: 5%;
  max-width: 30%;
}

img.language_img:hover {
  animation: heartBeat;
  animation-duration: 1s;
}

.front-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 475px;
  text-align: center;
  font-size: 40px;
  min-width: 300px;
  margin: 250px 0px;
  padding: 0% 10%;
  color: black;
}

.text-container1,
.text-container2,
.text-container3,
.text-container-udemy {
  box-shadow: 10px 0px 10px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
  max-width: 600px;
}

.anchor {
  display: flex;
  position: relative;
  top: -70px;
  visibility: hidden;
}
.highlight {
  color: #ea1c2c;
  font-style: italic;
  font-weight: bold;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-item {
  animation: fadeIn;
  animation-duration: 3s;
}
.carousel-inner {
  height: 425px;
}

.row_summary,
.row_skills,
.row_certificates,
.row_experience,
.row_carousel,
.row_hobbies,
.row_hobby_images,
.row_languages,
.row_projects,
.row_language_images {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  padding: 5% 5%;
  justify-content: space-evenly;
  align-items: center;
}

.btn-lg {
  border: 1px solid black;
}
.row_summary {
  background-color: #ffffffa0;
}
.row_skills {
  background-color: white;
}
.row_certificates {
  background-color: white;
}
.row_experience {
  background-color: #ffffffa0;
}
.row_carousel {
  background-color: white;
}
.row_hobbies {
  background-color: #ffffffa0;
}
.row_hobby_images {
  background-color: white;
}
.row_languages {
  background-color: #ffffffa0;
}
.row_language_images {
  background-color: white;
}
.row_projects {
  background-color: #ffffffa0;
}

#mainNavbar {
  font-size: 1rem;
  padding: 0.5% 2%;
  background-color: white;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
}
#mainNavbar .nav-link {
  color: black;
  text-align: center;
  padding: 0px;
}

#mainNavbar .nav-item {
  padding-right: 25px;
}

#mainNavbar .nav-link:hover {
  color: #ea1c2c;
  animation: headShake;
  animation-duration: 1s;
}

#mainNavbar .navbar-brand {
  color: #ea1c2c;
  font-size: 2rem;
  padding-right: 10px;
}

/* under 992px, apply @media */

@media (max-width: 992px) {
  img.logo_img {
    margin: 50px 0px;
  }
  img.center_img {
    margin: 50px 0px;
  }
  .text-container1,
  .text-container2,
  .text-container3,
  .text-container-udemy {
    margin: 50px 0px;
  }
  .carousel-inner {
    height: 525px;
    padding: 0% 5%;
  }
}

@media (max-width: 830px) {
  .front-page {
    font-size: 5vw;
    font-size: 30px;
  }
}

@media (max-width: 467px) {
  img.logo_img {
    max-width: 325px;
    position: relative;
    bottom: 20px;
  }
  .carousel-inner {
    height: 570px;
    padding: 0% 2%;
  }
  .front-page {
    margin: 100px 0px;
  }
  .anchor {
    display: flex;
    position: relative;
    top: -60px;
    visibility: hidden;
  }
  .text-container1,
  .text-container2,
  .text-container3,
  .text-container-udemy {
    box-shadow: 0px 0px 0px 0px;
    margin: 0% 0%;
  }

  .text-container-udemy {
    padding-bottom: 50px;
  }

  .row_summary,
  .row_skills,
  .row_experience,
  .row_hobbies,
  .row_hobby_images,
  .row_languages,
  .row_projects,
  .row_language_images,
  .row_certificates {
    padding: 0% 0%;
    /* background-color: white; */
  }
  .text-container1 {
    background-color: transparent;
  }

  .row_language_images {
    padding: 10% 5%;
  }
  .row_last {
    padding-bottom: 200px;
  }
}
