@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital@1&family=Open+Sans:wght@400;700&display=swap');

/*CSS RESET*/
* {
  margin: 0;
  border: 0;
  padding: 0;
}

html{
    scroll-behavior: smooth; /*efeito de rolagem suave*/
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1em; /*Equivale a 16px*/
  color:#000;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #9c9a9a 100%);
}

/* LAYOUTS DO SITE */
.container {
  margin: 0 auto;
}

  /* Criando classes flex para reutilizar */
.Flex {
  display: flex;
  justify-content: space-between;
}
.Flex2 {
  display: flex;
  align-items: center;
}
.Flex3 {
  display: flex;
  flex-direction: column;
}
.Flex4 {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    align-items: center;
}
.Flex4::-webkit-scrollbar {
  display: none;
}
.Flex5{
    display: flex;
    flex-direction: column-reverse;
}

.Botao {
  text-decoration: none;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  background-color: #c00000;
  padding: 10px 40px;
  border: 2px solid #fff;
  border-radius: 25px;
}



#topo {
  position: fixed;
  right: 10px;  /* Para usar right, bottom, top e left separados é necessário o uso do position:fixed  */
  bottom: 10px;
}

.Card{
    margin: 20px;
    width: auto;
    height: 520px;
    background-color: #e8e8e8;
    border: 1px solid #a1a1a1;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(39, 39, 39, 0.7);
    transition: 0.3s;
}

.Card img{
    border-radius: 25px 25px 0px 0px;
    flex-shrink: 0;

}
.Card h3{
    margin-top: 15px;
}
.Card p{
    text-align: left;
    color: #434343;
    padding: 10px 30px 50px 30px;
}
.Card:hover {
  transform: scale3d(1.1,1.1,1);
  transition: all 600ms ease-in-out;
}
.Cards{
  margin: 10px 0px;
  
}


.pre-btn,
.nxt-btn {
  border: none;
  width: 2vw;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  cursor: pointer; 
  z-index: 8;
}
.pre-btn {
  left: 0;
  transform: rotate(180deg);
}
.nxt-btn {
  right: 0;
}
.pre-btn img,
.nxt-btn img {
  opacity: 0.4;
}
.pre-btn:hover img,
.nxt-btn:hover img {
  opacity: 1;
}


/* ------ SMARTPHONE PORTRAIT (RETRATO) ------*/

header {
  height: 60px;
}

#logo img {
  width: 128px;
  height: 128px;

}

#check {
  display: none;
}

#check:checked ~ ul { /* ~ irá trocar uma propriedade ul */
  right: 0;
}

label {
  font-size: 3em;
  position: fixed;
  top: 5px;
  right: 15px;
  color: rgba(0, 0, 0, 0.5);
}

nav ul {
  list-style: none;
  text-transform: uppercase;
  font-weight: 700;
  height: 100vh;
  position: fixed;
  top: 60px;
  right: -100%;
  width: 100%;
  transition: all 0.5s;
}
nav ul li {
  padding: 20px;
  border-bottom: 1px solid #a9a9a9;
}
nav ul li a {
  text-decoration: none;
  color: #363636 ;
}

main {
  
  height: 75vh;
  background: url(../img/banner.png);
  background-size: cover;
  background-position: center;
  /*centralizar as imagens*/
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: flex-end;
  text-align:center;
}
main h1 {
  font-size: 40px;
}
main h2 {
  font-size: 25px;
} 

#bio {
  padding: 50px 0px;
  background: url(../img/background.png);
  background-size: cover;
  background-position: center;
}

#imgPerfil {
  display: none;
}

#textoBio {
  color: #fff;
  font-weight: 400;
  padding: 0px 10px;
  text-align: justify;
}
#textoBio h2 {
  margin-bottom: 10px;
}
#textoBio P {
  padding: 5px;
  text-indent: 30px;
  
}
#textoBio a{
  text-decoration: none;
  color: darkblue;
}
#textoBio a:hover{
  color: blue;
}

#referencia {
  padding: 50px 10px;
}
#referencia h2 {

  margin-bottom: 25px;
  color:  #488b70;
  font-family: 'Josefin Sans', sans-serif;  
}


#video iframe {
  width: 340px;
  height: 191px;
  border: 0;
}

#livro {
    padding: 50px 0px;
    background: url(../img/background.png);
    background-size: cover;
    background-position: center;
}

#textoLivro {
  color: #fff;
  font-weight: 400;
  padding: 0px 10px;
}
#textoLivro h2 {
  margin-bottom: 10px;
}
#textoLivro p {
  margin-bottom: 40px;
}

#textoLivro span {
  display: none;
}

#capaLivro {
  display: none;
}

#premios{
  padding: 0px;
  position: relative;
  overflow: hidden;
}

#premios h2{
    margin: 20px 0px;
    text-align: center;
}


#todos {
    margin-top: 50px;
    text-align: center;
}
#todos a{
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1.25em;
}


footer{
    padding: 10px;
    background-color: #545454;
    color: #fff;
    text-align: center;
    border-top: 2px solid rgba(216,238,225,.2);

}

#social{
    margin-bottom: 25px;
}




/* ------ SMARTPHONE LANDSCAPE (PAISAGE) ------*/
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  main h1,
  main h2 {
    text-shadow: #000 0.05em 0.05em 0.05em;     /*sombra nas tags*/
  }

  #video iframe {
    width: 560px;
    height: 315px;
  }

  .Flex5{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #social{
    margin: 0;
  }


}

/* ------ TABLET PORTRAIT (RETRATO) ------*/
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  main {
    height: 45vh;
  }
}

/* ------ TABLET LANDSCAPE (PAISAGE) ------*/
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  main {
    height: 70vh;
  }
  
}

/* ------ PC e NOTEBOOK ------*/
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  header {
    height: 120px;
  }

  #logo img {
    width: 189px;
    height: 189px;
    margin-top: 30px;
  }

  label {
    display: none;
  }

  nav ul {
    position: static;  /* irá ignorar o position fixed do breakpoint smartphone */
    height: auto;
    background-color: transparent;
    margin-top: 50px;
  }

  nav ul li {
    float: left;
    border: 0;
  }

  nav ul li a {
    color:#545454;
  }

  nav ul li a:hover {
    opacity: 0.5;
  }

  #bio {
    background-attachment: fixed;     /*rolagem parallax*/
  }

  #imgPerfil {
    display:inline;
  }

  #imgPerfil img {
    border-radius: 50%;
    margin-right: 50px;
  }

  .Flex3 {
    flex-direction: row;
    align-items: center;
  }

  #livro{
    background-attachment: fixed;
  }

  #livro span{
    display: inline;
  }
  #capaLivro{
    display: inline;

  }
  #capaLivro img{
    width: 225px;
    height: 343px;
    margin-right: 50px;
  }
}
