*,
*::before,
*::after {
  box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
body {
    min-height: 100vh;
  
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0; padding: 0;
  }
  
  ul[class],
  ol[class] {
    list-style: none;
  }
  
  a:not([class]) {
    text-decoration-skip-ink: auto;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  article > * + * {
    margin-top: 1em;
  }
  
  input,
  button,
  textarea,
  select {
    font: inherit;
  }
  
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  html {
    scroll-behavior: smooth;
   
    
  }
  body{
    min-height: 100vh;
    max-width: 100vw;
    margin-left:auto;
    margin-right: auto;
  }
  
  @font-face {
    font-family: Roboto;
    src: url("assets/fonts/Roboto.ttf");
  }
.header-container{
  background:   rgb(98, 89, 136);
  padding: 0 200px;
}

  .container{
    max-width: 1440px;
    margin: 0 auto;
  }
  .nav-list{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 0 20px;
    line-height: 50px;
    text-decoration: none;
    
    
  }
  a{
    text-decoration: none;
    color:rgb(239, 216, 189);
  }
  a:hover {
    color: rgb(198, 186, 170);
    transition: 0.5s;
  }
  li{
    padding: 0 5px;
  }
  
  .main-container{
    display: flex;
    justify-self:center;
    margin: 0 0 20px 0;
    border-radius:2%;
  }
  .main{
    background:  rgb(158, 148, 201);
  }
  
  
  .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
  }
  
  .section-title{
    display: flex;
    flex-direction: row;
    gap: 0px;
    width: 470px;
    min-height: 150px;
    justify-content: center;
  }
  .junior{
    font-size: 20px;
    font-weight: 600;
  }
  .section-title> img{
    width: 50%;
  }
  .text-title{
    justify-self: center;
  }
  .foto-container{
    width: 220px;
  }
  .foto {
    max-width: 40%;
    justify-self: center;
    border-radius: 40%;
  }
  h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    color: rgb(96, 57, 9);
    
  }
  h2 {
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    color:rgb(232, 185, 127);
    background:  rgb(98, 89, 136);;
    
    }
    .code{
        padding-left: 25px;
      }

    .section {
        width: 500px;
        min-height: 250px;
        border-radius: 5px;
      }

    .icons-list li {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .container-footer{
        display: flex;
        justify-content:space-around;
        flex-direction: row;
        align-items: center;
      }
      .footer{
        background: rgb(98, 89, 136);
       }

       .projects-list{
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
        justify-content: center;
       }
      .projects__image{
        object-fit: cover;
        width: 200px ;
        height: 141px;
      }
      .projects__title{
        text-align: center;
        color: rgb(232, 185, 127);
        background-color: rgb(98, 89, 136);;
        
      }

       @media(max-width: 1365px) {

        .header-container{
          padding: 0 150px ;
        }
        }
        @media(max-width: 1250px) {
        
          .header-container{
            padding: 0 100px ;
          }
          }
          @media(max-width: 1150px) {
        
            .header-container{
              padding: 0 50px ;
            }
            }
        
        @media(max-width: 768px) {
          .section{
            width: 100%;
           }
        .header-container{
          padding: 0 ;
        }
        }
        
        @media(max-width: 500px) {
          .section{
            width: 100%;
            }
            .section-title{
              width: 90%;
            }
            li {
              padding: 0 2px;
          }
          .main-container {
            display: flex;
            justify-self: center;
            margin: 0 0 20px 20px;
            border-radius: 2%;
        }
        
        }
        @media(max-width: 400px) {
          .main-container{
            margin: 0;
          }
          .section-title{
            display: block;
          }
          
        }