:root{
    --bg-light: whitesmoke;
    --main-color: #ee3541;
    --link-color: #ae141e;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Ubuntu", "Poppins", sans-serif;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
  }

  .button{
    background-color: #ae141e2a;
  border: none;
  color: var(--main-color);
  padding: 1% 2%;
  border-radius: 10px;
  text-align: center;
  border: 2px solid var(--link-color);
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 2%;
  transition-duration: 0.4s;
  cursor: pointer;
  }

  .button:hover {
    background-color: var(--link-color); 
    color: whitesmoke; 
  }

  .content {
    text-align: center;
    padding: 1% 10%;
    animation: zoomInDown; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
  animation-delay: -1.15s;
  }
  
  .logo {
    width: 90px;
    margin: 15% 0 2% 0;
    transform: rotate(-0.02turn);
  }
  
  .logo_contact {
    width: 80px;
    transform: rotate(-0.02turn);
  }

  #icon-where{
    color: var(--main-color);
    margin-right: 7px;
  }

  #parallax{
    background: linear-gradient(
        to bottom,
        rgba(39, 34, 34, 0.75),
        rgba(39, 34, 34, 0.8),
        rgba(39, 34, 34, 0.95)
      ),
      url("images/bg3.jpg");
  
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: whitesmoke;
  } 

  #parallax3{
    background: linear-gradient(
        to bottom,
        rgba(39, 34, 34, 0.75),
        rgba(39, 34, 34, 0.8),
        rgba(39, 34, 34, 0.95)
      ),
      url("images/me/passions.jpg");
  
    height: 50vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 30vh;
    color: whitesmoke;
  } 

  #parallax2{
    background: linear-gradient(
        to bottom,
        rgba(39, 34, 34, 0.75),
        rgba(39, 34, 34, 0.8),
        rgba(39, 34, 34, 0.95)
      ),
      url("images/cannes\ copia.png");
  
    height: 50vh;
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 30vh;
    color: rgba(255, 255, 255, 0.817);
  } 

  .parallax-text{
    animation: zoomInDown; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
  animation-delay: -1.15s;
  }

  .parallax-text {
    padding: 5% 0 1% 0;
    text-align: center;
  }
  
  .parallax-text h1 {
    font-size: 2.5rem;
  }

  .container {
    height: auto;
    background-color: var(--bg-light);
    padding: 1% 0;
  }


  .container-text {
    padding: 2% 0;
    text-align: center;
  }

  a {
    color: var(--link-color);
    text-decoration: none;
  }
  
  .container-text h1 {
    font-size: 2.5rem;
  }
  .pic {
    width: 50%;
    border-radius: 50%;
    height: auto;
  }
  
  .child {
    width: 30vh;
    border-radius: 50%;
  }

  .unipdBanner{
    width: 80%;
    margin: 10% 0;
  }

.flex-container {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .flex-item-left {
    flex: 30%;
  }

  .flex-item-right {
    flex: 70%;
  }

  .flex-item-left-music {
    flex: 65%;
    padding: 1% 2%;
  }

  .flex-item-right-music {
    flex: 10%;
    padding: 1% 2%;
  }

  .flex-item-dx-awards, .flex-item-sx-awards {
    padding: 1%;
    flex: 50%;
  }
  .flex-item-dx-awards .description{
    margin: 2% 2% 2% 7%
  }
  .flex-item-sx-awards .description{
    margin: 2% 7% 2% 2%
  }
  .flex-item-right .description, .flex-item-left .description{
    margin: 0 7% 2% 0;
  }

  .description p{
    padding: 0 3%;
    text-align: justify;
    font-size: 1rem;
  }
  .description ul{
    padding: 0 3%;
    text-align: justify;
    font-size: 1rem;
  }

  .description li{
    margin: 1% 0 0 3%;
    text-align: justify;
    font-size: 1rem;
  }

  .description h2 {
    padding-left: 3%;
    font-size: 1.25rem;
    text-align: left;
  }

  .header-text {
    margin-top: 5%;  
  }
  
  .header-text h1 {
    font-size: 4.5rem;
  }
  
  .header-text h1 span {
    color: var(--main-color);
    font-family: "Satisfy", cursive;
  }
  
  .where {
    color: whitesmoke;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
  }
  
  .nick {
    color: whitesmoke;
    margin-bottom: 4%;
    font-size: 1.75rem;
    font-family: "Fragment Mono", monospace;
  }



  .arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;   
    text-align: center;
  }
  .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }
  

#footer {
  padding: 10% 5% 5% 5%;
  text-align: center;
}

.footer-text {
  text-align: center;
  color: whitesmoke;
}

.footer-text p {
  line-height: 30px;
  margin-top: 1%;
  text-align: center;
  font-size: 18px;
}

.footer-text a {
  text-decoration: none;
  color: var(--main-color);
}

.footer-text i {
  margin-top: 1%;
  text-decoration: none;
  color: whitesmoke;
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.5s;
}

.footer-text i:hover {
  color: var(--main-color);
  transform: translateY(-5px);
}

.footer-text img {
  margin-top: 3%;
}


  
  @media only screen and (max-width: 980px) {
    .container {
      height: auto;
      padding: 5%;
    }
    .content {
      /*
      padding: 5vh 10px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;*/
  
      height: 100vh;
      padding-top: 10vh;
    }
    .description{
      margin: 0;
    }

    .logo {
      width: 20%;
      margin: 2vh 0;
    }
  
    .header-text {
      margin-top: 13vh;
      font-size: 20px;
    }
  
    .header-text h1 {
      margin: 3vh 0;
      font-size: 3rem;
      line-height: 0.85;
    }
  
    .nick {
      font-size: 1.35rem;
      margin-bottom: 5vh;
    }
    #parallax2{
      height: 40vh;   
    padding-top: 15vh;
    background-attachment: scroll;
    background-position: center;
    }

    #parallax3{
      height: 50vh;   
    padding-top: 25vh;

    }
    .child{
      margin-top: 4%;
    }
    .pic, .child {
        width: 40%;
        max-width: 30vh;
        border-radius: 50%;
        height: auto;
      }
      .unipdBanner{
        width: 60%;
        margin: 3% 0;
      }
      #footer {
        padding: 25% 5% 10% 5%;
      }
    .header-text h1 span::before,
    .nick span::before {
      content: "\A"; /* Unicode for a newline character */
      white-space: pre; /* Preserve newline */
    }

.flex-item-right, .flex-item-dx-awards, .flex-item-right-music, .flex-item-sx-awards, .flex-item-left, .flex-item-left-music {
        flex: 100%;
      }
}
  