@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body {
    font-family: "Oswald", sans-serif´;
    color: white;
    background-image: linear-gradient(to right top, #000000, #070707, #0d0d0d, #121212, #161616);
    background-size:cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
    max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* Für Chrome, Safari und Opera */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ebebeb;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #757575;
}

/* Für Chrome, Safari und Opera */
::-webkit-scrollbar {
  background-color: rgb(29, 29, 29);
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ebebeb;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #757575;
}




#navbar-background-img {
  width: 400vh;
  float: right;
  right: -8px;
  position: relative;
  pointer-events: none;
}

#navbar-logo-img {
  position: absolute;
  width: 75px;
  right: 0;
  top: 0;
  margin: 15px;
  pointer-events: none;
}

#navbar {
  height: 195px;
}

navbar {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 2vw;
  margin-top: -25px;
  z-index: 1;
  left: 25px;
 
}

navbar li {
  padding-right: 200px;
  font-size: 50px;
}

navbar a {
  color: white;
  text-decoration: none;
  font-size: 40px;
  top: 0;
  position: relative;
  transition: 2s;
  text-transform:uppercase
}

navbar a:hover {
  color: rgb(0, 0, 0);
  transition: 0.2s;
  text-shadow:1px 1px 10px #fff, 1px 1px 20px #ffffff;
}

#footer {
  height: 195px;
}

#footer-background-img {
  width: 405vh;
  float: right;
  left: 8px;
  bottom: -100px;
  position: relative;
  margin-top: auto;
  pointer-events: none;
  height: 100px;
}         


.section-title{
  font-size: 50px;
  text-transform: uppercase;
  margin: auto;
  width: 50%;
  text-align: center;
  color: white;
  text-shadow: 0 0 20px #878787;
}

.section-separator {
  margin-top: 100px;
  margin-bottom: 30px;
  height: 1px;
  background-color: #636363;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.projects-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  width: 375px;
  height: 500px;
  transition: 1s;
}

.project:hover {
  background-color: rgb(29, 29, 29);
  scale: 1.02;
  transition: 0.5s;
}

.project img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border: 1px solid #272727;
  pointer-events: none;
}

.project h3 {
  font-size: 18px;
  margin-bottom: 5px;
  width: 100%;
  text-transform: uppercase;
}

.project p {
  margin: 0;
  font-weight: 300;
}


.project-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 30px;
  bottom: -20px;
  position: relative;
}

.project-button {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
  text-transform: uppercase;
}

.project-button:hover {
  background-color: #eee;
  color: rgb(0, 0, 0);
}

.project-button-separator {
  margin-top: 35px;
  height: 1px;
  background-color: #636363;
  width: 80%;
}


#contactlabel {
  width: 100%
}

.contact-container {
  max-width: 775px;
  margin: 20px auto;
}

.contactform-group {
  margin-bottom: 35px;
}

.contactform-control {
  border: none;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 8px 0;
  width: 100%;
  background-color: transparent;
  resize: vertical;
  color: white;
}

.contactform-control:focus {
  outline: none;
  border-bottom-color: gray;
  border-top-color: gray;
}

.label {
  margin-bottom: 5px;
  display: block;
}

.contactform-sendbutton {
  background-color: #ffffff05;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid white;
}

.contactform-sendbutton:hover {
  background-color: #ffffff;
  color: black;
  box-shadow: 0 0 20px rgb(100, 100, 100);
}



#contact-info {
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 0 0 2px #878787;
}

#contactfield {
  text-align: left;
  margin: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.068);
  border-bottom: 1px solid rgba(255, 255, 255, 0.068);
  width: 100%;
  text-transform: none;
  font-size: 20px;
  font-weight: 200;
}

#contactfield-name {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 400;
}

#ueberOutput {
  width: 80%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.outerfooterlinks {
  display: flex;
  justify-content: right;
  bottom: -200px;
  position: relative;
  z-index: 1;
}

.footerlinks {
  color: white;
  text-decoration: none;
  font-weight: 100;
}

.footerlinks:hover {
  color: rgb(173, 173, 173);
}


@media only screen and (max-width:500px) {
  #successMessage1 {
    font-size: 22px;
  }

  #successMessage2 {
    font-size: 15.5px !important;
    top: -5px !important;
  }

  #successMessage3 {
    font-size: 20px !important;
  }

  #successMessage4 {
    font-size: 15.5px !important;
    top: -15px !important;
  }

  #contactfield {
    text-align: left;
    margin: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.068);
    border-bottom: 1px solid rgba(255, 255, 255, 0.068);
    width: 100%;
    text-transform: none;
    font-size: 15px;
    font-weight: 200;
  }

  #contactfield-name {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 400;
  }
}

@media only screen and (max-width:1285px) {
  navbar li {
    padding-right: 100px;
    font-size: 50px;
  }
}

@media only screen and (max-width:900px) {
  navbar li {
    padding-right: 50px;
    font-size: 50px;
  }
}

@media only screen and (max-width:750px) {
  navbar li {
    padding-right: 20px;
  }

  navbar a {
    font-size: 30px;
  }

  .outerfooterlinks {
    bottom: -180px;
  }
}


@media only screen and (max-width:560px) {
  navbar li {
    padding-right: 15px;
  }

  navbar a {
    font-size: 20px;
  }

  .footerlinks {
    font-size: 2.7vw;
  }
}

@media only screen and (max-width:417px) {
    .footerlinks {
        font-size: 2.5vw;
    }

@media only screen and (max-width:385px) {
  navbar li {
    padding-right: 15px;
    left: -20px;
    position: relative;
}
}

@media only screen and (max-height:865px) {
  #navbar-logo-img {
    width: 8vh;
    max-width: 75px;
    right: 0;
}
}
