/* Variable Colors */
:root {
  --main-text: #2e2e2e;
  --inverse-text: #fff;
  --main-blue: #133688;
}

@media (prefers-color-scheme: dark) {
  :root {
    --main-text: #fff;
    --inverse-text: #151d26;
    --main-blue: #5972ab;
  }
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--inverse-text);
}

/* TABBAR */
.tab {
  display: flex;
  position: fixed;
  background-color: var(--inverse-text);
  top: 0;
  left: 0;
  padding: 5px;
  width: 100%;
  z-index: 100;
  border-bottom: 3px solid var(--main-blue);
}

.tabHeader {
  display: inline-block;
  font-size: 28px;
  font-weight: normal;
  margin: 0;
  padding: 0;
  padding-left: 15px;
  padding-right: 15px;
}

.fill-space {
  flex: auto;
}

.tabItem {
  display: flex;
}
.header {
  font-size: 28px;
  color: var(--main-text);
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: transparent;
}

.tabLinks {
  font-size: 20px;
  color: var(--main-text);
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  fill: var(--main-text);
  transition: all 0.3s;
  background-color: transparent;
}

.tabLinks:hover {
  color: var(--main-blue);
  fill: var(--main-blue);
}

.tab button.active {
  color: var(--main-blue);
  background-color: transparent;
}

.tabLinks > p {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

.tabImg {
  display: inline-block;
  width: 25px;
  vertical-align: middle;
}

.tabcontent {
  display: none;
  padding-top: 40px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.menu {
  display: none;
  flex: all;
  fill: var(--main-text);
  margin: auto;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: transparent;
}
.rightFloat {
  float: right;
}

@media screen and (max-width: 1000px) {
  .tab {
    flex-direction: column;
  }
  .tabLinks {
    padding: 5px;
    display: none;
  }
  .menu {
    display: inline-block;
  }
}
@media screen and (min-width: 1001px) {
  .tabLinks {
    display: inline-block;
  }
  .menu {
    display: none;
  }
}
/* MAIN CONTENT*/

@media (max-width: 1000px) {
  .class {
    flex-direction: column;
    width: 100%;
  }
}

.mainText {
  margin: 0;
  text-align: center;
  color: var(--main-text);
}
.mainText > h3,
h2,
h1,
p {
  margin: 0;
}

.mainText > p {
  font-size: 16px;
}

.border1 {
  border-bottom: 1px solid var(--main-blue);
}

.border2 {
  border-top: 2px solid var(--main-blue);
}

.class {
  display: flex;
  text-align: left;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.classText {
  width: 100%;
}

.className {
  font-weight: 900;
}

.className > h3 {
  margin: 0;
}

.about {
  width: 40%;
}

.tubarr {
  text-align: center;
}

.aboutText {
  text-align: left;
}

.explanation {
  padding-right: 10px;
}

.grades {
  font-weight: 900;
}

.dates {
  font-weight: 500;
}

.section-header {
  font-size: 30px;
  color: var(--main-blue);
  padding: 15px;
  text-align: center;
}

.section {
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.sectionVertical {
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: center;
}

.aboutImg {
  width: 40%;
  margin: auto;
  text-align: center;
  display: flex;
  padding-top: 25px;
}

.section-text {
  overflow: hidden;
  padding-right: 15px;
  flex: 60%;
  color: var(--main-text);
}
.section-text-horiz {
  overflow: hidden;
  padding-right: 15px;
  flex: 40%;
  color: var(--main-text);
}

.project-links {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}

.project-link {
  max-width: 200px;
}

@media (max-width: 1000px) {
  .fslideshow-container,
  .section-text {
    flex: 100%;
  }
  .tabcontent {
    width: 100%;
  }
  .project-links {
    flex-direction: column;
  }
}
/* Slideshow */
* {
  box-sizing: border-box;
}

.slideshow {
  padding: 25px;
  margin: auto;
}
.phone {
  background-image: "Style/phone-border.png";
  max-width: 280px;
  z-index: 1 !important;
  top: -18px;
  left: -20px;
  position: absolute;
}
/* Slideshow container */
.slideshow-container-horiz {
  max-width: 500px;
  position: relative;
  margin: auto;
  flex: 60%;
}

.slideshow-container-horiz-wide {
  max-width: 750px;
  position: relative;
  margin: auto;
  flex: 60%;
}

.slideshow-container {
  max-width: 240px;
  position: relative;
  margin: auto;
  flex: 40%;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #2e2e2e32;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 2 !important;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 5px;
  width: 5px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
