@import url("https://fonts.googleapis.com/css?family=Lato|Poppins|Kaushan+Script");
.has-vertically-aligned-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", Lato, Tahoma, sans-serif;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.loading-page {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.loading-page h2 {
  font-family: cursive;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 4px;
}

.loading-page .loading-img {
  width: 180px;
  height: 180px;
}

.text-loading {
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  margin-top: -0.3em;
  line-height: 1.5em;
  vertical-align: text-bottom;
}
.text-loading::after {
  display: inline-table;
  white-space: pre;
  text-align: left;
}
.text-loading::after {
  content: "\A.\A..\A...";
  animation: spin4 1s steps(4) infinite;
}
@keyframes spin4 {
  to {
    transform: translateY(-6em);
  }
}

.header-wrapper {
  padding-bottom: 30px;
}

.hero {
  background-image: url(../img/bg.jpg);
  background: linear-gradient(rgba(31, 44, 108, 0.35), rgba(31, 44, 108, 0.35)),
    rgba(0, 0, 0, 0.55) url("../img/bg.jpg") no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: white;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  font-family: "Poppins", sans-serif;
}

.hero .title {
  font-size: 4rem;
  color: whitesmoke;
}

.hero .subtitle {
  font-size: 2.6rem;
  padding: 5px;
  color: whitesmoke;
}

.hero .profession {
  font-size: 1.7rem;
  text-transform: uppercase;
}

.hero .hero-foot {
  height: 50px;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.082);
}

ul {
  margin-top: 6px;
}

.timeline__event__description span {
  font-weight: bold;
}

/* Top-level li icon */
.timeline__event__description > ul > li::before {
  content: "➢ ";
}

/* child li icon */
.timeline__event__description ul ul > li::before {
  content: "•";
  color: #999;
  margin-left: 6px;
  margin-right: 6px;
}

@media (max-width: 599px) {
  .hero .hero-foot {
    display: none;
  }
}

.hero .hero-foot .hero-foot--wrapper {
  margin: 7px auto;
  height: 50px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop {
  line-height: 38px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li {
  display: inline-block;
  padding-right: 15px;
  padding-left: 15px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li.is-active a {
  border-bottom: 2px solid #1f2c6c;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a {
  color: #1f2c6c;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a:hover {
  color: #1f2c6c;
  transition: all 0.2s ease-in-out;
  border-bottom: 2px solid #1f2c6c;
}

.main-content {
  flex: 1;
  padding-top: 2rem;
  color: #3c4172;
  font-family: "Poppins", sans-serif;
}

.main-content .section-dark {
  background-color: #f0f3f5;
  padding: 60px 0px;
}

.main-content .section-light.resume {
  height: 400px;
  padding-top: 100px;
}

.submit-button {
  margin-top: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.project h2 {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.modal .card {
  padding: 20px !important;
}

.modal-card {
  max-width: 95vw;
  overflow-y: auto;
}

.card-image img {
  transition: all 0.1s ease-in-out;
  border-radius: 6px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgb(14 25 80 / 30%);
}

.modal-background {
  background-color: rgba(10, 10, 10, 0.66);
}

.card-content .content .row {
  margin: 10px 0 0 -20px;
}

.card-content .content .row > label::after {
  content: ": ";
}

.card-content .content .row > label.info {
  font-weight: bold;
  color: #3298dc;
}

.card-content .content .row > label.danger {
  font-weight: bold;
  color: #f14668;
}

.is-orange .panel-heading {
  background-color: #ff9970;
  color: #fff;
}

.card-content .content .row > label.warning {
  font-weight: bold;
  color: #ff9970;
}

.card-content .content .row > label.success {
  font-weight: bold;
  color: #48c78e;
}

.card-content .content .row > label.danger {
  font-weight: bold;
  color: #f14668;
}

.is-purple .panel-heading {
  background-color: #8a2be2;
  color: #fff;
}

.card-content .content .row > label.purple {
  font-weight: bold;
  color: #8a2be2;
}

.card-content .content .row > label.link + a::after {
  content: "➚";
}

.content ul {
  list-style: none;
  margin-top: 10px;
}

@media (max-width: 599px) {
  .main-content .section-light.resume {
    padding-top: 75px;
  }
  .resume-buttons {
    flex-direction: column;
  }
}

.main-content .section-light.resume .title {
  padding: 20px;
}

.main-content .section-light.resume a {
  border: 2px solid #43485c;
  background: white;
  color: #43485c;
  height: 50px;
  width: 250px;
  font-size: 1rem;
  text-transform: uppercase;
}

.main-content .section-light.resume .fa-preview {
  color: #1f2c6c;
}

.main-content .section-light.resume .fa-download {
  color: #1f2c6c;
}

.resume-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.main-content .section-dark.my-work {
  padding: 100px;
}

@media (max-width: 599px) {
  .main-content .section-dark.my-work {
    padding: 75px 20px;
  }
}

.main-content .section-dark.my-work .work-item {
  margin-bottom: 1rem;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

.main-content .section-dark.my-work .work-item:hover {
  -webkit-transform: scale(1.055) translateY(-2px);
  transform: scale(1.055) translateY(-2px);
  -webkit-box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
  box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
}

.main-content .section-light {
  padding: 30px;
}

.main-content .section-light.about-me {
  padding-bottom: 100px;
}

.main-content .section-light.about-me .is-larger {
  font-size: 1.2rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.flex-center h1 {
  font-size: 1.8rem;
  margin-left: 12px;
  font-weight: bold;
  margin-bottom: 0;
}

.has-text-centered {
  text-align: center;
}

.phone-text {
  white-space: nowrap;
}

@media (max-width: 599px) {
  .main-content .section-light.about-me .about-links {
    text-align: center;
  }
}

.main-content .section-light.about-me .right-image img {
  border-radius: 11px;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

@media (max-width: 599px) {
  .main-content .section-light.about-me .right-image img {
    margin: auto;
  }
}

.main-content .section-light.skills {
  padding: 100px;
}

@media (max-width: 599px) {
  .main-content .section-light.skills {
    padding: 50px 20px 40px 20px;
    padding-bottom: 20px;
  }
}

.main-content .section-light.skills h1 {
  padding: 10px;
}

.main-content .section-light.contact {
  padding: 200px;
}

.main-content .section-light.contact button {
  width: 100%;
  background-color: #43485c;
  color: white;
  height: 50px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

@media (max-width: 599px) {
  .main-content .section-light.contact {
    padding: 60px 20px;
  }
}

.main-content .section-color.services {
  padding: 60px 100px;
  background-color: #43485c;
  color: white;
}

.main-content .section-color.services .title,
.main-content .section-color.services .subtitle {
  color: white;
  padding-bottom: 20px;
}

.main-content .section-color.services i {
  font-size: 3rem;
  padding: 20px;
}

.main-content .section-title {
  color: #43485c;
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.footer {
  bottom: 0;
  width: 100vw;
  padding: 0;
  min-height: 80px;
  height: auto;
  line-height: 1.5;
  text-align: center;
  background: #1f2c6c;
  color: whitesmoke;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 942px) {
  .footer {
    padding-top: 1rem;
  }
}
.footer a {
  padding: 0rem 1rem 1rem 1rem;
  color: lightgrey;
}

.footer a i {
  font-size: 1.5rem;
  padding: 0px 10px;
}

.footer .link-text {
  font-weight: bold;
  color: whitesmoke;
}

.fa-download {
  color: #43485c;
}

#toTop {
  height: 50px;
  width: 50px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(31, 44, 108, 0.65);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

#toTop a {
  color: white;
}

#toTop:hover {
  background-color: #43485c;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: rgba(245, 245, 245, 0);
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #43485c;
}

body.preloader-site {
  overflow: hidden;
}

.preloader-wrapper {
  height: 100%;
  width: 100%;
  background: #1f2c6c;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
}

.preloader-wrapper .preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 120px;
}

.loading-page {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 999;
}

/* ================= Timeline ================= */
.timeline {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  position: relative;
}

.timeline__event {
  margin: 20px 0;
  position: relative;
  display: flex;
  border-radius: 6px;
  align-self: center;
  width: 60vw;
  position: relative;
}

.timeline__event:nth-child(2n + 1) {
  flex-direction: row-reverse;
}

/* content */
.timeline__event__content {
  padding: 20px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25),
    0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
  background: #fff;
  width: calc(50vw - 84px);
  border-radius: 0 6px 6px 0;
}
.timeline__event:nth-child(2n + 1) .timeline__event__content {
  border-radius: 6px 0 0 6px;
}

/* date */
.timeline__event__date {
  color: #f6a4ec;
  font-size: 1.5rem;
  font-weight: 600;
  background: #9251ac;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 20px;
  border-radius: 6px 0 0 6px;
}
.timeline__event:nth-child(2n + 1) .timeline__event__date {
  border-radius: 0 6px 6px 0;
}

/* icon */
.timeline__event__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9251ac;
  margin: 0 20px;
  background: #f6a4ec;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  padding: 40px;
  align-self: center;
  position: relative;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25),
    0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
}
.timeline__event__icon i {
  font-size: 32px;
}

/* Vertical line */
.timeline__event::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 55px;
  height: 100%;
  width: 2px;
  background: #f6a4ec;
  transform: translateX(-50%);
  z-index: -1;
}

/* Horizontal line */
.timeline__event::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 55px;
  width: 50%;
  height: 2px;
  background: #f6a4ec;
  transform: translateY(-50%);
  z-index: -1;
}

/* Even vertical line direction */
.timeline__event:nth-child(2n)::before {
  left: 55px;
}

/* Even horizontal line direction */
.timeline__event:nth-child(2n)::after {
  left: 55px;
}

/* Remove last vertical line */
.timeline__event:last-child::before {
  content: none;
}

/* Title and subtitle */
.timeline__event__title {
  font-size: 1.26rem;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 600;
  color: #9251ac;
  letter-spacing: 1.5px;
}
.timeline__event__subtitle {
  font-size: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* Description */
.timeline__event__description {
  flex-basis: 60%;
}

/* ========== Type Color ========== */
.timeline__event--type2 .timeline__event__date {
  color: #87bbfe;
  background: #555ac0;
}
.timeline__event--type2 .timeline__event__icon {
  background: #87bbfe;
  color: #555ac0;
}
.timeline__event--type2 .timeline__event__title {
  color: #555ac0;
}
.timeline__event--type2::before,
.timeline__event--type2::after {
  background: #87bbfe;
}

.timeline__event--type3 .timeline__event__date {
  color: #aff1b6;
  background: #24b47e;
}
.timeline__event--type3 .timeline__event__icon {
  background: #aff1b6;
  color: #24b47e;
}
.timeline__event--type3 .timeline__event__title {
  color: #24b47e;
}
.timeline__event--type3::before,
.timeline__event--type3::after {
  background: #aff1b6;
}

.timeline__event--type4 .timeline__event__date {
  color: #fff2f0;
  background: #faad14;
}
.timeline__event--type4 .timeline__event__icon {
  background: #ffe58f;
  color: #faad14;
}
.timeline__event--type4 .timeline__event__title {
  color: #faad14;
}
.timeline__event--type4::before,
.timeline__event--type4::after {
  background: #fff2f0;
}

.timeline__event--type5 .timeline__event__date {
  color: #ffece8;
  background: #f53f3f;
}
.timeline__event--type5 .timeline__event__icon {
  background: #ffece8;
  color: #f53f3f;
}
.timeline__event--type5 .timeline__event__title {
  color: #f53f3f;
}
.timeline__event--type5::before,
.timeline__event--type5::after {
  background: #ffece8;
}

/* ========== Mobile adaptation ========== */
@media (max-width: 786px) {
  .timeline__event {
    flex-direction: column;
    align-self: center;
    width: 80vw;
  }
  .timeline__event__content {
    width: 100%;
  }
  .timeline__event__icon {
    border-radius: 6px 6px 0 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  .timeline__event::before,
  .timeline__event::after {
    display: none;
  }
  .timeline__event__date {
    border-radius: 0;
    padding: 20px;
  }
  .timeline__event:nth-child(2n + 1) {
    flex-direction: column;
    align-self: center;
  }
  .timeline__event:nth-child(2n + 1) .timeline__event__date {
    border-radius: 0;
    padding: 20px;
  }
  .timeline__event:nth-child(2n + 1) .timeline__event__icon {
    border-radius: 6px 6px 0 0;
    margin: 0;
  }
}

/* Norification */
.notification {
  border-radius: 8px;
  margin-top: 30px;
}

.notification.is-success {
  background-color: #24b47e;
}

.notification.is-danger {
  background-color: #f14668;
}

.notification.is-info {
  background-color: #3273dc;
}

/* Remove the button focus circle from the SweetAlert2 pop-up */
.swal2-container .button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove the focus style of the copy button in the fallbackMessage area */
#fallbackMessage #copyBtn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Custom red button */
.my-btn-red {
  background-color: #f53f3f !important;
  color: #fff !important;
  border: none !important;
}

.my-btn-red:hover {
  transform: scale(1.01);
}

.my-btn-red:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2em rgba(231, 76, 60, 0.4) !important;
}

/* Custom blue button */
.my-btn-blue {
  background-color: #1f2c6c !important;
  color: #fff !important;
  border: none !important;
}

.my-btn-blue:hover {
  transform: scale(1.01);
}

.my-btn-blue:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2em rgba(52, 152, 219, 0.4) !important;
}

/* Custom green button  */
.my-btn-green {
  background-color: #48c78e !important;
  color: #fff !important;
  border: none !important;
}

.my-btn-green:hover {
  transform: scale(1.01);
}

.my-btn-green:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2em rgba(52, 219, 135, 0.4) !important;
}
