
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

body {
  box-sizing: border-box;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;  
  font-weight: bold;
  image-rendering: -webkit-optimize-contrast;
}

html {
  scroll-behavior: smooth;
  
}

#start {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: black;
}

#startdes {
  margin-left: 10vw;
  text-transform: uppercase;
  z-index: 10;
}

#startdes h4 {
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#startdes button {
  outline: none;
  padding: 20px;
  border: none;
  border-radius: 6px;
  margin-top: 50px;
  font-size: 110%;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #017ea2;
  letter-spacing: 1px;
  color: white;
  cursor: pointer;
}

#socials {
  opacity: .6;
  margin-top: 50px;
}

#socials img {
  width: 20px;
  margin: 0 6px;
}

#startimg {
  background-image: url(../img/rigth1.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right 0px top 0px;
  position: absolute;
  right: 0;
  top: 0;
  width: 50vw;
  height: 100vh;
  z-index: 1;
}

#startimg2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
}

#start h1 {
  font-size: 300%;
  margin-bottom: 20px;
  letter-spacing: 5px;
  font-weight: bold;
}

#start h4 {
  margin-bottom: 20px;
}

#nav {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 70px;
  position: absolute;
  top: 0;
  left: 0;
}

#nav img {
  width: 40px;
  margin-right: 70px;
  filter: invert(1);
  cursor: pointer;
}

#nav a {
  padding: 0 20px;
  color: black;
  text-decoration: none;
  font-size: 120%;
  cursor: pointer;
}

#navh {
  padding-left: 70px;
  display: flex;
}

#aboutme {
  padding: 5vw 0;
  text-align: center;
}

#aboutme h1 {
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#aboutme p {
  letter-spacing: 2px;
  font-size: 150%;
}

#bottom {
  width: 100%;
  height: 200px;
  background-color: white;
  margin-top: -130px;
  z-index: 99;
  position: relative;
}

.headlines {
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 80px;
}

#portfoliodiv {
  padding-top: 80px;
  margin-top: 6vh;
} 


.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    max-width: 100vw;
    justify-content: center;
    margin-top: 20px;
}

#contactme {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 100px;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

form input {
  width: 30vw;
  padding: 20px;
  border-radius: 10px;
  outline: none;
  border: none;
  margin: 10px 0;
  background-color: rgb(236, 236, 236);
  font-size: 120%;
  font-weight: 300;
  letter-spacing: 2px;
}

textarea {
  width: 30vw;
  padding: 20px;
  border: none;
  margin: 10px 0;
  border-radius: 10px;
  background-color: rgb(236, 236, 236);
  resize: none;
  font-size: 120%;
  outline: none;
  font-weight: 300;
}

#send {
  width: 10vw;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: 200ms all;
  font-weight: bold;
}

#send:hover {
  background-color: rgb(219, 219, 219);
}

#message {
  height: 200px;
}

footer {
  background-color: rgb(53, 53, 53);
  color: white;
  text-align: center;
  padding: 100px 0;
  letter-spacing: 1px;
}

#contactme a {
  font-size: 120%;
  text-decoration: none;
  color: black;
  letter-spacing: 2px;
  margin: 10px 0;
}


/* Video */
#videodiv {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}
#vid1 {
  width: 60vw;
  height: auto;
}



  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    position: relative;
    z-index: 2;
  }
  
  @media screen and (max-width: 1700px) {
    #startdes {
      margin-left: 5vw;
    }
  }

  @media screen and (max-width: 1500px) {
    #startimg {
      width: 50vw;
      height: 100vh !important;
      height: auto;
    }
  }

  @media screen and (max-width: 1100px) {
    #startimg {
      opacity: 0;
    }
    #start {
      background-image: url(../img/backgroundme.jpg);
    }
    #startdes {
      color: white;
    }
    #socials {
      opacity: 1;
    }
    #socials img {
      filter: invert(1);
      margin: 0 10px;
    }
  }

  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
    #vid1 {
      width: 90vw;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      flex: 80%;
      max-width: 80%;
    }
    #bottom {
      display: none;
    }
    #contactme h1 {
      margin-top: 30px;
      margin-bottom: 20px;
    }
    #portfoliodiv {
      margin-bottom: 100px;
    }
    form input {
      width: 80vw;
    }
    textarea {
      width: 80vw;
    }
    #send {
      width: 50vw;
    }
    #nav {
      padding-top: 20px;
      background-color: white;
      padding-bottom: 20px;
      justify-content: center;
    }
    #navh {
      padding-left: 0;
      font-size: 85%;
      text-align: center;
    }
    #navh a {
      color: black;
    }
    #start h1 {
      font-size: 200%;
    }
    #startdes {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      margin: 0;
    }
    #start {
      height: 100vh;
    }
    #nav img {
      display: none;
    }
    #nav > a {
      display: none;
    }
    #start {
      background-position: 50%;
      background-attachment:scroll;
    }
    form input {
      padding: 15px;
      font-size: 100%;
    }
    textarea {
      padding: 15px;
      font-size: 100%;
    }
    #vid1 {
      width: 95vw;
    }
  }
