@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Source+Code+Pro:ital@0;1&display=swap');

:root{
  --color-morado: rgba(136,136,206,0.7);
  --color-gris: #dfdff7;
  --color-morado2: #424297;
  --color-morado3: #6060B1;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  font-family: 'poppins', verdana;
  background-color: var(--color-morado);
  padding: 3.5rem 2.2rem 0.9rem 2.2rem;
  background-image: linear-gradient(
      115deg,
      rgba(58, 58, 158, 0.7),
      rgba(136, 136, 206, 0.6)
    ),url(crs20_streak1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.header-nav-list{
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0px;
  top: 0px ;
  z-index: 2;
  padding: 0.5rem;
  background-color: var(--color-gris);
  width: 100%;
}

.header-nav-list li{
  list-style: none;
}

.header-nav-list li a{
  text-decoration: none;
  color: var(--color-morado2);
}
.header-nav-list li a:hover{
  color: var(--color-morado3);
  font-size: 1.1rem;
  transition: all 0.5s ease;
}

hr{
  margin: 0 auto;
  max-width: 25%;
}

header{
    text-align: center;
}

.header{
  margin-top: 5rem;
}

iframe{
    width:100%;
    border-radius: 6px;
}
/* form*/
form{
padding:  1rem 1rem;
    text-align:center;
    border-radius:10px;
}
.form-group{
  display: flex;
  flex-direction: column;
}

.form-control{
  border-radius: 0.4rem;
  height: 1.8rem;
}
.label{
  text-align: left;
}

/*footer*/
ul.redes{
  display: flex;
  justify-content: center;
  list-style: none;
  column-gap: 1.2rem;
  margin-top: 0.5rem;
}

ul.redes li a{
  text-decoration: none;
}

.social{
  width: 33px;
  height: 33px;
}

footer{
  text-align:center;
  background-color:none;
  color: #fff;
}


section, header{
    background-color:var(--color-gris);
    text-align:center;
    border-radius:10px;
    margin: 1.6rem auto 1.6rem auto;
    padding: 0.9rem 1.5rem;
    box-shadow: 0.1rem 0.1rem 0.9rem;
    width: 310px;
}

/*Images*/
#nova{
  width: 118.5%;
  height: 100px;
  position: relative;
  border-radius: 10px 10px 0 0;
  z-index: 0;
  top:-0.9rem;
  left: -1.5rem;
  box-shadow: 0 1px 10px #000;
}

#profile-photo{
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: solid 4px #b2b1b3;
  margin-top: -4.7rem;
  position: relative;
  background-size: contain;
  box-shadow: 1px 1px 20px #000;
  z-index: 1;
}



.aboutMe__text{
  text-align: justify;
}


/*Media queries*/
@media (min-width: 520px){
  section,header{
    width: 560px ;
  }
  #nova{
    width: 109.5%;
    height: 200px;
    /*border-bottom: solid 1px #b2b1b3 ;*/
  }
  #profile-photo{
    width: 200px;
    height: 200px;
    margin-top: -7.8rem;
  }
  iframe{
    width: 100%;
    height: 300px;
  }
  form{
    padding: 1rem 2.5rem ;
  }

}

/*Desktop View*/
@media (min-width: 720px){
  .header-nav-list{
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 0px;
    top: 0px ;
    z-index: 2;
    padding: 0.5rem;
    background-color: var(--color-gris);
    position: fixed;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    box-shadow: 0px 2px 15px #000;
  }
}
