

*::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;
}

body{
    font-family: 'Krona One', sans-serif;
    margin: 0;

}

  .projetos-container, .escritos-container{
       width: min(90%, 1000px);
    margin-inline: auto;
    padding: 1em 0;
  }



p{
    font-family: 'Montserrat', sans-serif;
}



header{

  background-color: BLACK;
  color: white;
  height: 75svh;
   position: relative; 
    h1{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    font-size: clamp(1.5rem, 6vw, 4rem);
    padding-bottom: .3em;
    border-bottom: 2px solid black;
    width: 80%;
    color: black;
    text-align: center;



     }
     video{
      height:100%;
      width: 100%;
      object-fit: cover; 
     

     }
    
 }

   h2{
    font-size: clamp(2rem, 4vw, 5rem);
    border-bottom: 2px solid black;

  }





  .projeto-wrapper{

    border: 2px solid black;
    margin: 4em 0;
     h3{
    font-size: clamp(2.5rem, 5vw, 5rem);
     border-bottom: 2px solid black;
     background-color: black;
     margin: 0;
     padding: .5em;
     color: rgb(248, 11, 11);
     text-align: end;
     height: 3em;
     
    
   
  }

  

  a{
    display: flex;
    font-size: clamp(.6rem, 3vw, 1.5rem);
  gap: 1em;

   
    padding: 1em;
        align-items: center;
  
    }
    img{
      display: block;
      height: 1em;
      display: grid;
  
    }
    p{
      font-size: clamp(1.2rem, 4vw, 2.5rem);
      color: white;
      background-color: black;
      margin: 0;
      padding: 1em;
      text-align: end;
      line-height: 1;
   
    }
  }

  .post-container{

    border: 2px solid black;
    margin: 3em 0;


    
    .title-img-container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%),1fr));
      align-items: center;
      height: fit-content;
      
     
       img{
        display: block;
          object-fit: cover;
          height: 12em;
          padding: 1em;
          display: grid;
margin-inline: auto;
          max-width: 100%;
       }
       h3{
        padding: 1em;
        font-size: clamp(1.5rem, 4vw, 1.8rem);
        margin-right: .3em;
        margin: 0;
      
       }
    }

    details{
 

      article{
           width: min(90%, 600px);
      margin-inline: auto;
      padding-bottom: 3em;
   

      .quote{
        border-left: 4px solid red;
        margin: 2em 1em;
        padding: 1em;
        font-size: clamp(1.5rem, 4vw, 2rem);
      }
      p{
        font-size: clamp(1rem, 4vw, 1.5rem);
      }
      img{
        width: 100%;
        object-fit: cover;
        margin: 2em 0;
        border-top: 2px solid black;
      }

      h4{
        margin-top: 6em;
      }

      ul{
        list-style: none;
        padding: 0;
        li { 
          padding: .5em 0;
        border-bottom: 1px solid black;
        }
      }

      }
      
    summary{
      background-color: black;
      color: white;
      padding: 1em;
      text-align: center;
      font-size: clamp(.6rem, 4vw,1.1rem);
    
    }


    }

    
  }

  .sol{
    margin-top: 5em;
    background: #f50000;
background: radial-gradient(circle, rgba(245, 0, 0, 1) 22%, rgba(255, 106, 0, 1) 57%, rgba(0, 0, 0, 1) 65%);
display: grid;
height: 50vh;
place-content: center;
color: white;
padding-left: 1em;
font-size: clamp(1.5rem, 4vw, 2rem);
  }

footer{
  height: 40vh;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  h5{
    border-bottom: 2px solid black;
    font-size: clamp(2rem, 4vw, 2.5rem);

  
  }
  p{
    font-size: clamp(1.3rem, 4vw, 3rem);
  }
}

.anton{
  font-family: 'Anton', sans-serif;
}
    
