* {
  box-sizing: border-box;
}

:root {
    --turkies: #4cb1aa; 
    /* --pink: #ff4da6;  */
    --pink: #FFD300; 
}

body{
    background-color: var(--turkies);
        height: 100%;
    width: 100%;
}

main {
    /* background-color: red; */
    padding: 5rem 5rem;
    padding-top: 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;

}

nav {
    width: 100vw;
    display: flex;
    justify-content: space-around;

}

nav a {
    text-decoration: none;
    font-style: italic;
    color: black;
    font-size: 2vw;
}

nav a {
  position: relative;
  text-decoration: none;
  color: inherit;

  font-family: "BBH Sans Hegarty", sans-serif;
  font-weight: 200;
  
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  /* Handy-spezifisches CSS */
    main {
        padding: 5rem 1rem;
    }

    nav {
        width: 100%;
    }

    nav a {
        text-decoration: none;
        font-style: italic;
        color: black;
        font-size: 1rem;
    }

}