html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  div.responsive-border {
    border-left: 2px solid rgba(220, 220, 220, 0.5);
  }
}

@media (max-width: 768px) {
  span.name-text {
    font-size: 2em;
  }
  p.about-text {
    font-size: 0.8em;
  }
  .small-text {
    font-size: 0.8em !important;
  }
  .medium-text {
    font-size: 0.8em !important;
  }
  .large-text {
    font-size: 1.5em !important;
  }
  i.circle-icon {
    padding: 10px;
  }
  img.face-img {
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: auto;
    padding-bottom: 20px;
  }
  div.left-text {
    text-align: center;
  }
  div.rounded-rectangle-title {
    font-size: 0.8rem;
  }
  div.responsive-border {
    border-top: 2px solid rgba(220, 220, 220, 0.3);
    padding-top: 20px;
  }
  iframe.resize-frame {
    height: auto;
  }
}

.left-text {
  text-align: left;
}

#main-scroll {
  text-align: left;
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.full-height {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container-fluid-left {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  padding-bottom: 30px;
  min-height: 100vh;
}

.xsmall-text {
  font-family: "Lato";
  font-size: 10px;
}

.small-text {
  font-family: "Lato";
  font-size: 15px;
}

.medium-text {
  font-family: "Lato";
  font-size: 20px;
}

.large-text {
  font-family: "Libre Baskerville";
  font-size: 40px;
  font-weight: bold;
}

/* About Tab */
#about {
  background-image: url(../img/about-bg.png);
  background-size: cover;
}

.name-text {
  font-family: "Libre Baskerville";
  margin-top: 20px;
  font-size: 50px;
  font-weight: bold;
}

.about-text {
  font-family: "Lato";
  font-size: 40px;
  font-weight: bold;
}

.rounded-rectangle {
  font-family: "Lato";
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  background-color: #021945;
  color: white;
  padding: 5px 5px;
  border-radius: 5px;
}

.face-img {
  display: block;
  height: 500px;
  width: auto;
  float: right;
}

.circle-icon {
  font-size: 2rem;
  background: #021945;
  color: #e6e6e6;
  padding: 20px;
  border-radius: 50%;
}

.circle-icon:hover {
  background-color: #8e8e9b;
  text-decoration: none;
  color: #021945;
}

/* Experiences Tab */
#experiences {
  background: linear-gradient(-45deg, #b8411d, #bf2f66, #186f8f, #1dad8c);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.rounded-rectangle-title {
  font-family: "Lato";
  font-size: 30px;
  font-weight: bold;
  display: inline-block;
  background-color: #e7f038;
  color: white;
  padding: 10px 10px;
  margin-top: 20px;
  border-radius: 20%;
}

ul.timeline {
  list-style-type: none;
  position: relative;
  margin-top: 0px;
  margin-bottom: 0px;
}

ul.timeline:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
}

ul.timeline > li {
  margin: 20px;
  padding-left: 20px;
}

ul.timeline > li:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid white;
  left: 20px;
  width: 20px;
  height: 20px;
}

/* Projects Tab */
#projects {
  background-color: #a92985;
}

.carousel-inner {
  height: 0;
  padding-bottom: 25%; /* this sets carousel aspect ratio (4:1 here) */
}

.carousel-item {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

/* overlay */
.carousel-item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: black;
  opacity: 0.7;
}

.carousel-caption {
  transform: translateY(-50%);
  bottom: 0;
  top: 50%;
}

.resize-frame {
  height: 200%;
  width: 100%;
}

/* Loading */
#loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #021945;
  z-index: 99;
}

#loading-image {
  z-index: 100;
}

.wrapper {
  overflow: hidden;
  position: relative;
}
