* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/*Bildschirmgrösse bei Smartphones - 640px / 16px/em = 40em*/
@media only screen and (max-width: 40em) {
  .person {
    font-size: 10em;
    margin-left: 0;
    margin-right: 0;
  }

  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: none;
    display: block;
  }

  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/*Bildschirmgrösse bei Tablets - 640px / 16px/em = 40em*/
@media only screen and (min-width: 40em) {
  .person {
    font-size: 10em;
    margin-left: 0;
    margin-right: 0;
  }
}

/*Bildschirmgrösse bei grossen Tablets - 960px / 16px/em = 60em*/
@media only screen and (min-width: 60em) {
  .topnav{
    font-size: 2em;
  }

}

/*Bildschirmgrösse bei Laptops - 2048px / 16px/em = 80em*/
@media only screen and (min-width: 80em) {

}

/*Hintergrundbild für die Webseite*/
body {
    background-image: url("https://images.unsplash.com/photo-1677696393693-d158fbef7d4b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1932&q=80");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }

  /*h1 Überschrift*/
h1 {
    font-family: "Monotype Corsiva", cursive;
    font-size: 8vw;
    text-align: center;
    font-variant: small-caps;
    text-shadow: 0px 8px 3px white;
    margin: 20px;
}

/*Navigationsleiste*/
/* Add a black background color to the top navigation */
.topnav {
  display: flex;
  text-align: center;
  font-family: "Monotype Corsiva", cursive;
  font-size: 1.4vw;
  font-weight: bold;
  text-shadow: 0px 2px 2px white;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: orangered;
  position: -webkit-sticky;
  position: sticky;
  overflow: hidden; 
  justify-content: center;
  align-items: center;
  top: 0px;
  opacity: 0.8;
  z-index: 999;
}

/* Style the links inside the navigation bar */
.topnav a {
  display: block;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: orange;
  color: red;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: orange;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/*h2-Überschrift*/
h2 {
  font-family: "Monotype Corsiva", cursive;
  font-size: 3em;
  text-align: center;
  font-variant: small-caps;
  text-shadow: 0px 2px 2px white;
  margin: 2vw;
}

/*h4-Überschrift*/
h4 {
  text-align: center;
  color: orange;
  font-size: 1.1em;
  text-shadow: 0px 2px 1px red;
  font-family:Arial, Helvetica, sans-serif;
}

form {
  text-align: center;
}

.bilder {
  display: inline-block;
  position: relative;
  max-width: 20%;
}

.bilder img {
  display: flex;
  position: relative;
  left: 100%;
  right: 100%;
  height: 17vw;
  width: 25vw;
}

.text { 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(160%, -50%);
  color: orange;
  text-shadow: 0px 2px 1px red;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.person {
  font-family:Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 1em;
  margin-left: 20%;
  margin-right: 20%;
}

.talente {
  margin: auto;
  background-color: orange;
  width: 50%;
  border-radius: 15px;
}

.skill {
  background-color: orangered;
  color: black;
  font-weight: bold;
  padding: 1%;
  text-align: center;
  font-size: 15px;
  border-radius: 15px;
}

.html {
  width: 80%;
}

.python {
  width: 75%;
}

.c {
  width: 70%;
}

#footer {
  text-align: right;
  font-family:Arial, Helvetica, sans-serif;
  color: white;
  font-size: 1vw;
}

.follow img {
  left: 46%;
  position: relative;
  display: inline-block;
  height: 3%;
  width: 3%;
}





