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

html, body{
    max-width: 100%;
    overflow-x: hidden;
}

:root{
    --color-primary: #191d3b;
    --color-secondary: #27AE60;
    --color-white: #fff;
    --color-black: #000;
    --color-third: #020;
    --color-forth: #f089;
    --color-grey0: #dbe1e8;
    --color-grey1: #b2becd;
    --color-grey2: #6c7983;
    --color-grey0: #f8f8f8;
    --color-grey4: #454e56;
    --color-grey5: #2a3e35;
    --color-grey6: #121813;
    --br-5m: 4px;
   
}

body{
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: all ease-in-out;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: -1;
}

a{
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
}

header{
    width: 100%;
    color: var(--color-white);
    overflow: hidden;
    background-color: var(--color-grey5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; 
    position: fixed;
    top: 0;
    z-index: 9;
}

.logo-container{
    display: flex;
    flex-direction: column;
} 

/* container do header */
.header-container{
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 4rem;
    justify-content: center;
    align-items: center;
   
} 

/* Logo */

 .logo{
    margin: 0 0 0 2rem;
    font-size: 2rem;
}

 .logo a{
    color: var(--color-forth);
    font-size: 3rem;
   
    border-right: 5px solid var(--color-grey0);
}

.logo a:hover{
    color: var(--color-secondary);
}

 .logo span{
    text-transform: uppercase;
    color: var(--color-grey2);
    margin-left: 1rem;
}

.active{
    background-color: var(--color-secondary);
    padding: .121rem .123rem;
    border-radius: 10px;
}

/* Dropdown menu */
.navbar{
    position: fixed;
    top: 8;
    right: 15%;
    z-index: 1000;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    .navbar-menu{
        cursor: pointer;
        font-size: 1.4rem;
        color: var(--color-grey1);
    }

    img{
        width: 45px;
        height: 45px;

    }
}
.dropdown-content {
  display: none;
  position: absolute;
 height: auto;
 padding: 20px;
  background-color: #f1f1f1;
  /* min-width: 160px; */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 7px;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}

/* Estilização do menu */
.menu {
    margin-top: 2rem;
    margin-right: 4rem;
    display: flex;
    list-style: none;
    margin-bottom: 4rem;
  }
  
  .menu li a {
    font-size: 1.2rem;
    margin-left: 2rem;
    text-decoration: none;
    color: var(--color-grey1);
    transition: .4s;
  }
  
  .menu li a:hover:not(.active) {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: .123rem .167rem;
    border-radius: 6px;
  }

  .menu li a.active{
    background-color: var(--color-secondary);
  }

  .menu li a.active:hover{
    font-size: 1.4rem;
  }

  footer{
    color: var(--color-white);
    background-color: var(--color-grey5);
    height: 190px; 
    width: 100%;
    position: absolute;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  footer p{
    text-align: center;
    font-size: 1.4rem;
    margin-top: 3%;
  }

  footer span{
    text-transform: uppercase;
    color: var(--color-grey2);
  }

  footer .social-redes{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  }

  

 @media screen and (max-width: 600px) {

    html, body{
    max-width: 100%;
    overflow-x: hidden;
}

    body{
        padding: 10px;
       
    }

    .main-title .title-about{
      font-size: 2rem;
  }

  .big-text{
      font-size: 2rem;
    }

    header{
        height: auto;
        padding: 0;
        margin: 0;
        position: static;
        width: 100%;
       
    }

    .logo a{
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 1.5rem;
    }


/*Menu oculto */
    .navbar{
        position: absolute;
        top: 0.2%;
        right: 10%;
       
    }

    .header-container{
        display: grid;
        grid-template-columns: 1fr;
    }
    .header-container {
        margin: auto;
        .logo{
            text-align: center;
        }
    
        .logo span{
            font-size: 3rem;
        }
    }  
   
    nav ul{
       display: flex;
       flex-direction: column;   
    }

    .menu {
        margin: .2rem 4rem 0 1rem;
        
      }

    .menu li a{
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.5rem;
        background-color: var(--color-secondary);
        padding: .5rem .3rem;
        border-radius: 10px;
        color: var(--color-white);
        cursor: pointer;
    }
    .menu li a:hover{
        background-color: var(--color-forth);
    }

    footer{
        position: absolute;
        top: 100%;

        .social-redes{
            gap: 35px;
        }
    }
 }

 @media screen and (min-width: 600px) and (max-width: 880px) {
    .header-container .logo  a{
        font-size: 1.8rem;
    }

    .header-container .logo span{
        font-size: 1.4rem;
    }

    footer{
        width: 100%;
    }
    
 }