@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*/

body {
   
    background: linear-gradient(45deg, rgb(0, 0, 0),rgb(2, 46, 17), rgb(1, 27, 9));
    background-size: 100%;
    animation: colors 20s ease infinite;
}


@keyframes colors {
    0% {
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    } 
}

* {
    padding: 0cm;
    margin: 0cm;
}

.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;
}

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;
    color: rgb(202, 199, 199);
}

a :hover{
    color: rgb(69, 141, 93); 
}

#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;
}

.container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: calc(100vh - 55px);
    align-items: center; 
    justify-content: space-around;

}

#child{
    color: rgb(143, 140, 140);
    border: Solid transparent  6px;
    padding: 30px;
    margin-top: 40px;
    background-color: rgba(17, 16, 16, 0.692);
    font-size: 13pt;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    display: flex;
}


#btn-mobile {
    display: none;
}


@media (max-width: 800px){

        li {
            font-family: 'Open Sans', sans-serif;
        }
}


@media screen and (max-width: 730px) { 
    


   

    
    /*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;
        }

        .container{
            flex-direction: column;
            justify-content:center;
            align-items: center;
        }

      
    }