@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap'); /*Roboto*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap'); /*Open Sans*/
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300&display=swap');/*Source Sans Pro*/

body {
background-color: rgb(22, 22, 22);
}

* {
    padding: 0cm;
    margin: 0cm;
}

.backcolors {
    background: linear-gradient(45deg, rgb(0, 0, 0),rgb(94, 187, 11), rgb(6, 26, 12),rgb(94, 188, 12));
    background-size: 400%;
    animation: colors 20s ease infinite;
    
}

@keyframes colors {
    0% {
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    } 
}

.header {
    height: 55px;
    background-color: transparent;
    justify-content: space-between; /*'justify-content' só funciona se o 'dispaly' for 'flex'*/
    display: flex;
    width: 100%;
    align-items: center;
    box-sizing: border-box;

}

#logo {
    width: 30px;
    height: 30px;
    padding-left: 21px;
    margin: 7px;
    margin-top: 13px;
}


ul {
    display: flex;
    flex-wrap: wrap;
}


    li {
        color: aliceblue;
        list-style: none; /*'list-style' seve para personalizar as bolinhas que têm em uma lista, quando se coloca 'none' tira as bolinhas*/
        cursor: pointer; /*quando o mouse passar em cima aparecerá uma mãozinha*/
        padding-left: 1rem;
        padding-right: 0.9rem;
        margin: 18px;
        font-family: 'Roboto', sans-serif;
    }
    

a {
    text-decoration: none;
}

a :hover{
    color: rgb(0, 0, 0);
    font-size: 11.9pt;
}

#cape {
    width: 100%;
    height: 100%;
}

#tophm {
    color:white;
    font-size: 25px;
    padding-left: 5px;
    margin: 7px;
    padding-top: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    letter-spacing: 1px;
}

#top-logo {
    display: flex;
    justify-content: space-between;
}

#titulo-2 {
    color: white;
    text-align: center;
    font-size: 26pt;
    font-family: 'Open Sans', sans-serif;
    margin-top: 90px;
}

#container-2{
    color: aliceblue;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15pt;
    margin-top: 30px;
    padding: 45px;
}

#paragrafo-1{
    margin-inline: 60px;
}

#paragrafo-2{
    margin-top: 50px;
    margin-inline: 60px;
    padding-bottom: 110px;
}

#btn-mobile {
    display: none;
}

@media only screen and (max-width: 450px) {
  

    #container-2{
        color: aliceblue;
        font-family: 'Open Sans', sans-serif;
        text-align:start;
        margin-left: 2px;
        padding-left: 2px;
        font-size: 17pt;
        margin-top: 0%;
    }

    #titulo-2 {
        margin-inline: 50px;
        font-family: 'Open Sans', sans-serif;
        margin-bottom: 0;
        padding-bottom: 0%;
       
    }



    .backcolors {
        width: auto;
    }

    #paragrafo-1{
        margin-inline: 50px;
        margin-top: 0px;
        padding-top: 0%;
    }

 
}

@media screen and (max-width: 730px) { 
    

    li {
        font-family: 'Open Sans', sans-serif;
    }
   

    
    /*nav responsivo*/


    #menu {
        display:block;
        position: absolute;
        width: 70%;
        top: 55px;
        left: 0px;
        background-color: rgb(0, 0, 0) ;
        height: 0;
        transition: 0.6s;
        z-index: 10000; /*se tiver outro elemento o menu ficará em cima*/
        visibility: hidden;
        overflow-y: hidden ;
        font-family: 'Open Sans', sans-serif;
    
    }

    #nav.active #menu {
        display: block;
        height: calc(100vh - 70px);
        visibility: visible;
        }


    #btn-mobile{
        display: flex;
        padding: .5rem 1rem;
        font: 1rem;
        border: none;
        background:none;
        cursor: pointer;

    }

  

        #menu li{
            border-bottom: solid 1px rgb(20, 20, 20);
            padding: 1rem;
            font-size: 15pt;
        }

        #hamburger {
            border-top: 2px solid;
            width: 20px;
            color: white;

        }

        #hamburger::after,  #hamburger::before{
            content: '';
            display: block;
            width: 20px;
            height: 2px;
            background: currentColor;
            margin-top: 5px;
            position: relative;
            transition: 0.3s;
        }

        #nav.active #hamburger {
            border-top-color: transparent;
        }

        #nav.active #hamburger::before {
            transform: rotate(135deg);
        }

        #nav.active #hamburger::after {
            transform: rotate(-135deg);
            top: -7px;
        }


}
