*,
*::before,
*::after {
  box-sizing: border-box;
    margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;

}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

:root{
    font-family: 'Playfair Display', sans-serif;
}



img{
    max-inline-size: 100%;
    width: 100%;
;



}

header{
  background-color: black;
  padding: 1em;
}



.text-container-header{ 
  border: 2px solid rgb(255, 255, 255);
  min-height: 90svh;

  margin: 1em;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 1em;
  justify-content: space-between;
  color: white;
  background-color: black;
  border-radius: .7em;
  text-wrap: balance;

  h1{
    font-size: clamp(3rem, 6vw, 7rem);
    color: rgb(248, 41, 41);
    text-align: end;
    font-family: 'Anton', sans-serif;
    

  }
  p{
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1;
    width: min(80%, 1000px);
    font-weight: bold;
  }
}

.objetivo{
  font-size: clamp(1.6rem, 4vw, 2.5rem);

  line-height: 1;
  padding: .5em;
  color: black;
  border: 2px solid black;
  border-radius: .4em;
  margin-bottom: 2em;
}


.publicações-container {
      width: min(90%, 1200px);
      margin-inline: auto;
      margin-top: 4em;
  h3{
  
    font-size: clamp(3rem, 5vw, 5rem);
    border-bottom: 2px solid black;
    margin-bottom: 1em;

  }

}

main{
    background-color: rgb(255, 255, 255);
}


.text-img-container{
    border-top: 2px solid black;
  
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    align-items: center;
    background-color: rgb(0, 0, 0);
   
    color: white;
    img{
        height: 100%;
        object-fit: cover;
     
    }
    .text{ 
         padding-left: 1em;
        h6{
            margin: .5em 0;
            border: 1px solid black;
            width: fit-content;
            line-height: 1;
            border-bottom: 2px solid red;
            padding: .5em 0;
            

            color: rgb(255, 255, 255);
            font-size: clamp(.5rem, 4vw, 1.3rem);
        }
        h2{
        font-size: clamp(1.8rem, 5vw, 3rem);
        padding: .5em 0;
        
    }
        p{
            
            width: 90%;
            font-size: clamp( 1.3rem, 4vw, 1.8rem);
            line-height: 1;
            margin-bottom: 1em;
        }

    }
    
}



details{
  border: 2px solid black;
  background-color: #f6f7f67c;
  
    margin-bottom: 4em;
}



summary{

  padding:  .5em 0;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  line-height: 1;
  text-align: center;

}

article{
  width: min(95%, 800px);
  margin-inline: auto;
    padding: 1em 0;

  p{
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    line-height: 1.3;


  }
  h2{
    font-size: clamp(2rem, 5vw, 3rem);
    border-bottom: 2px solid black;
    margin: 2em 0
  }
  img{
    margin-top: 2em;
    border: 2px solid black;
  }
}














figcaption{
padding: .5em 0;
border-bottom: 2px solid black;
color: rgb(20, 100, 28);
line-height: .9em;
font-size: clamp(1.2rem, 2vw, 3rem);

}

table{
  margin: 2em auto;
  border: 2px solid black;
  border-collapse: collapse;
  font-size: clamp(1.5rem, 2vw, 4rem);
  background-color: rgba(91, 171, 217, 0.782);
  width: min(95%, 1200px);
  margin-inline: auto;
}

table tr{
  border-bottom: 2px solid;
}

th{
  text-align: left;
 


}

thead th{
  text-align: center;
}

td{
  padding: 2em;
}

tbody th{
  border-right: 2px solid;
  padding: 0 1em
}

caption{
  caption-side: bottom;
  text-align: left;
  padding-left: 1em;
  line-height: .9em;
}


ul{
  list-style-type: none;
  display: grid;  
  gap: 2em;
  width: 100%;

}

li{
  border-bottom: 2px solid black;
  font-size: clamp( 2rem, 3vw, 3rem);
  line-height: 1;


}











.sugestoes{
  padding: 4em 0;
  a{
    display: block;
    margin-bottom: 1em;
  }
}

.livros{

color: rgb(0, 0, 0);

}


.livros ul{

  width: 95%, 1200px;
  padding-bottom: 4em;
  display:grid;

grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  li{
    display: grid;
    align-items: end;
  }
  
}

.livros li{

  background-color: #d3d3f1;
  padding: .5em;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  line-height: 1;
  
 
}

.livros li img{
  max-height: 10em;
  width: auto;
  margin-bottom: 1em;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
 }

.galeria-container{

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));    
    gap: .5em;
    img{
        border: 2px solid black;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



footer{
  min-height: 50svh;
  font-family: 'Montserrat';
  margin-top: 3em;
  background-color: black;
  color: white;
  display: flex;

  flex-direction: column;
  justify-content: center;
  padding: 1em;
  h5{
  font-size:clamp(1.2rem, 4vw, 2.5rem);
  width: 70%;
  padding: 1em 0;
  text-wrap: wrap;
     }


 }


