.swiper-container {
  width: 90vw;
  height: 100vh;
}
:root {
  --dark: #1e1d1d;
  --offwhite: #eceaea;
  --gold: #b5920f;
  --greenish: #13df65;
  --blueish: #0f73b5;
  --purple: #a646ef;
  --pink: #f53aa5;
}

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

body {
  background-color: var(--dark);
  font-family: "Spartan", sans-serif;
}

.section {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner {
  position: absolute;
  top: 100px;
  left: -100px;
  text-transform: uppercase;
  color: var(--gold);
  transform: rotate(-90deg);
  padding: 10px 5px;
  background-color: var(--dark);
  transform-origin: center center;
  z-index: 2;
  font-weight: 900;
  font-size: 1.5rem;
}

.section-content {
  height: inherit;
  padding: 20px;
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: center;
}

.swiper-slide {
  /* text-align: center; */
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

/* --------------------------------------------About ---------------------------------------------- */
.about-photo {
  width: 80%;
  height: 50%;
  max-width: 600px;
  max-height: 320px;
  background-image: url(utils/images/new2black.jpg);
  background-position: top;
  background-size: cover;
  /* margin-left: 40px; */
}

.about-text {
  width: 80%;
  max-width: 600px;
  background: #ffeb3b;
  align-self: flex-end;
  margin-top: -150px;
  padding: 2em;
  color: var(--dark);
  display: grid;
  align-items: center;
}

@media only screen and (min-width: 1024px) {
  .about-photo {
    align-self: center;
    margin-left: -400px;
    max-height: none;
    height: 70%;
  }
  .about-text {
    align-self: center;
    margin-left: 400px;
    height: 70%;
    margin-top: -300px;
  }
  .banner {
    top: 220px;
    font-size: 3rem;
  }
}

/* -------------------------------------------------projects----------------------------------------------------------------------------------- */

.project {
  margin: 10px 50px;
  max-width: 500px;
}

.project-content {
  padding: 2em;
  color: var(--dark);
  text-align: center;
  position: relative;
}

.project-tools {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-flow: wrap;
}

.project-tools span {
  font-size: 32px;
}

.project-tools span img {
  width: 32px;
}

.project-link {
  position: absolute;
  top: 20px;
  right: 20px;
}

.project-link a {
  color: var(--dark);
}

.alter {
  background-image: url(utils/images/alter2);
  background-position: center;
  background-size: cover;
}

.alter > div {
  background-color: #20d6bfb5;
}

.smart-cart {
  background-image: url(utils/images/smartcart.png);
  background-position: top;
  background-size: cover;
}

.smart-cart > div {
  background-color: #13df65c7;
}

.form-builder {
  background-image: url(utils/images/formbuilder.png);
  background-position: top;
  background-size: cover;
}

.form-builder > div {
  background-color: #ffa73bbd;
}

.photons > div {
  background-color: var(--gold);
}

.kanban-board {
  background-image: url(utils/images/kanbanboard.png);
  background-position: top;
  background-size: cover;
}

.kanban-board > div {
  background-color: #698497e8;
}

.yelpcamp {
  background-image: url(utils/images/yelpcamp.png);
  background-position: top;
  background-size: cover;
}

.yelpcamp > div {
  background-color: #e4a2f5bd;
}

/* -------------------------------timeline------------------------------------------- */

.timeline {
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  overflow-y: hidden;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.timeline::-webkit-scrollbar {
  display: none;
}

.phase {
  padding: 1em;
  border-top: 3px solid var(--greenish);
  color: var(--offwhite);
  min-width: 300px;
  margin-top: 10px;
}

.empty-phase {
  min-width: 300px;
}

.phase-label {
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  background-color: var(--greenish);
  border-radius: 50%;
}

.phase-space-time {
  text-transform: capitalize;
  color: var(--greenish);
  margin-bottom: 1em;
}

.phase-title {
  text-transform: capitalize;
  font-weight: bold;
}

.phase-team {
  font-style: italic;
  margin-bottom: 1em;
}

/* ---------------------------current state -------------------------------------------------- */

.states {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  gap: 20px;
}

.state {
  padding: 1em;
  border: 1px solid;
  color: var(--offwhite);
  margin-bottom: 5px;
  max-width: 500px;
}

/* ---------------------------------hire me --------------------------------------------------------- */

.hire-me {
  text-align: center;
  color: var(--offwhite);
}

.hire-me .section-content {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: auto;
}

.hire-me-content {
  width: 80%;
  align-self: center;
  background-color: var(--gold);
  padding: 1em;
  font-size: 1rem;
  animation: color-change 1s ease-in-out infinite;
}

@keyframes color-change {
  0% {
    border: 10px solid var(--dark);
  }
  100% {
    border: 10px solid #fff;
  }
}

@media only screen and (min-width: 430px) {
  .hire-me-content {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------contact------------------------------------------ */

.contact {
  background-image: url(utils/images/creationofadam.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 2em;
  padding-left: 5em;
  margin: auto;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-means {
  display: flex;
  flex-flow: wrap;
  justify-content: space-around;
  font-size: 3em;
  gap: 20px;
  margin-top: 1em;
  color: var(--dark);
}

.contact-means a {
  color: var(--dark);
}

/* --------------------------------- helper classes --------------------------------------- */

.back-greenish {
  background-color: var(--greenish);
}

.back-yellow {
  background-color: var(--gold);
}

.back-blueish {
  background-color: var(--blueish);
}

.back-purple {
  background-color: var(--purple);
}

.back-pink {
  background-color: var(--pink);
}

.flex-start {
  align-self: flex-start;
}

.flex-end {
  align-self: flex-end;
}

.border-color-greenish {
  border-color: var(--greenish);
}

.border-color-yellow {
  border-color: var(--gold);
}

.border-color-blueish {
  border-color: var(--blueish);
}

.border-color-purple {
  border-color: var(--purple);
}

.border-color-pink {
  border-color: var(--pink);
}

.hand-written {
  font-family: "Dancing Script", cursive;
}

.classy {
  font-weight: lighter;
  font-size: 2em;
  font-style: italic;
  text-transform: uppercase;
}

a::visted {
  color: var(--dark);
}
