/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
   /*border: 1px solid red;*/
   box-sizing: border-box;
}

html {
font-size: 16px; /* converts browser standard 16px to 10px to make rem maths easier */
}

/* Set global font styles */
body {
  font-family: 'Ubuntu', sans-serif;
}

.navbar {
    display: flex;
    height: 50px;
    flex-direction: row;
    background-color: rgb(2,0,36);
    border-bottom: 0.2rem solid rgb(0,212,255);
    top: 0;
    position: sticky;
    z-index: 101;
}

.navbar__list {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style: none;
    color: white;
}

.navbar__item {
    margin: 0 20px 0 20px;
}

.navbar__item a:hover {
    color: rgb(98,1,121);
    transition-duration: 0.5s;
  }

.navbar__item a {
    color: white;
    text-decoration: none;
}

@media screen and (min-width: 1100px) {
  .navbar__list {
    justify-content: start;
  }
}

.header {
    color: black;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
    padding: 20px;
  }

  /* HOME BLOCK */
.landing {
  height: 100%;
  position: relative;
  font-size: 1.3rem;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
}
@media screen and (min-width: 1100px) {
  .landing{
    font-size: 3.6rem;
  }
}

.banner__text {
  font-weight: bold;

  width: 100%;
  height: 30%;

 background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.3) 85%, rgba(0,0,0,0) 100%);

  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%)
}

/* BUTTONS BLOCK */
.button {
  border: 0.2rem solid white;
  margin: 2rem;
  padding: 1rem;
  font-size: 1.3rem;
  text-decoration: none;
  color: white;
}

.button:hover {
  background-color: white;
  color: black;
  transition-duration: 0.5s;
  /*filter:invert(100%);*/
}

.button--black {
  border: 0.2rem solid black;
  color: black;
}

.button--black:hover {
  background-color: black;
  color: white;
  transition-duration: 0.5s;
}

@media screen and (min-width: 1100px) {
  .button {
    font-size: 2.4rem;
  }
}

/* ABOUT BLOCK */
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 50px;
  width: 70%;
  margin: auto;
}

.about__content {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about__paragraph {
  text-align: justify;
  margin: 1rem;
}

.about__subheader {
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 1100px) {
  .about__content {
    width: 40vw;
  }
}

/* PROJECTS BLOCK */
.projects {
  scroll-margin-top: 50px;
  height: 100vh;
}

.slides-container {
  display: flex;
  height: 80%;
  width: 100vw;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;

}

.slide__caption {
  text-align: center;
  width: 100%;
}

.swiper-slide-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-slide-next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-slide-prev {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1100px) {
  .slide {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }
}


/* CONTACT BLOCK */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: rgb(230,230,230);
  scroll-margin-top: 50px;
  padding-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
}

@media screen and (min-width: 1100px) {
  .form {
    width: 40vw;
  }
}

.form__item {
  background-color: white;
  border-radius: 0.15rem;
  padding: 0.5rem;
  width: 80%;
  margin: 0.2rem;
}


.form__item > input {
  width: 100%;
  /*flex: 4;*/
  font-family: inherit;

}

.form__item > textarea {
  /*flex: 1;*/
  width: 100%;
  font-family: inherit;
}

.form__item > button {
  width: 100%;
}



/* Desktop Styles */
@media screen and (min-width: 1100px) {

    /* Adjust font sizes for desktop */
    .body {
      font-size: 3.2rem;
    }
  
    .header {
      font-size: 3.2rem;
    }
  
    .navbar {
      justify-content: space-between;
    }
  }
  