
body {
    padding: 0;
    margin: 0;
    background: linear-gradient(to right,rgb(255, 16, 155),  rgb(255, 52, 16));
}

ul {
    padding: 0;
    margin: 0;
    display: flex;
    gap: .9rem;
    font-size: 30px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 248, 248, 0.171);
    height: 100px;
    padding: 0px 30px;
    box-shadow: 1px 1px 15px black;
}
.btn-menu {
    display: none;
    font-size: 25px;
}

header a {
    color: rgb(0, 248, 227);
    text-decoration: none;
    font-family: sans-serif;
    padding: 20px;
}

header a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

header li {
    list-style: none;
}


.lenguages {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 500px;
    margin: 10px auto;
    gap: 20px;
    margin-top: 40px;
}
.opt{
    border: 1px solid rgb(0, 248, 227);
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .7s;
}
.opt:hover {
    background-color: rgba(0, 0, 0, 0.103);
}

.active{
    background-color: rgba(0, 0, 0, 0.774);
    color: white;
}

main {
    height: 480px;
    width: 450px;
    background-color: rgb(253, 255, 254);
    margin: 0 auto;
    margin-top: 2.5rem;
    margin-bottom: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 3px solid rgb(0, 248, 227); */
    padding-bottom: 30px;
    box-shadow: 5px 5px 5px rgb(66, 65, 65);
}

main h1 {
    
}


.input {
    width: 90%;
    height: 200px;
    margin: 40px auto;
    text-align: center;
    border: none;
    outline: none;
    box-shadow: 0px 1px 5px black;
    font-size: 30px;
    overflow-y: auto;
    background-color: rgb(240, 240, 240);
}

button.btn {
width: 90%;
height: 100px;
font-family: 'Times New Roman', Times, serif;
font-size: 30px;
border: none;
outline: none;
background: linear-gradient(to right,rgba(255, 16, 155, 0.8),  rgba(255, 52, 16, 0.8));
font-weight: bolder;
cursor: pointer;
color: rgb(0, 248, 227);
}

.td{
    position: fixed;
    bottom: 10%;
    right: 5%;

    height: 50px;
    width: 50px;
}

.txt {
    position: absolute;
    bottom: 100%;
    right: 3%;
    background-color: rgb(255, 255, 255);
    width: 200px;
    text-align: center;
    padding: 20px;
    border: 1px solid black;
    font-weight: bolder;
    display: none;
  
}
.zap {
    position: absolute;
    cursor: pointer;
}



.td:hover .txt{
    display: block;
}

footer {
    height: 70px;
    background-color: rgba(255, 248, 248, 0.671);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

@media (max-width: 790px) {
    ul {
        font-size: 20px;
    }
}

@media (max-width: 650px) {
    .lenguages{
        width: 70%;
        gap: 10px;
        justify-content: center;
    }

    .opt {
        width: 90px;
        font-size: 25px;
    }

    main {
        width: 90%;
        height: 400px;
    }

    .img {
        top: 5%;
        left: 3%;
    }

    .td {
        bottom: 9%;
        right: 1%;
        height: 30px;
   
    }
    .txt{
        bottom: 100%;
        right: 50%;
        height: 40px;
    }

    
    ul {
        visibility: hidden;
        overflow-y: hidden;
        overflow-x: hidden;
        display: block;
        position: absolute;
        width: 100%;
        top: 110px;
        right: 0px;
        height: 0px;
        transition: .6s;
        background-color: rgb(167, 162, 162);
        border-bottom: 5px double black;
    }
    
    nav.true ul {
        display: block;
        height: calc(99vh - 100px);
        visibility: visible;
        overflow-y: auto;
        
    }
    
    li {
        height: 12%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-bottom: 1px solid rgb(119, 115, 115);
    }

    li:hover {
        background-color: rgb(40, 41, 41);
    }
    
    header a {
        color: rgb(255, 255, 255);
        padding: 20px 100% 20px 15px;
    }
    
    header a:hover{
        background-color: initial;
    }
    
    .btn-menu {
        display: flex;
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
        color: white;
        padding: 1.6rem 1.3rem;
        gap: 2rem;
    }
    .hamburguer {
        display: block;
        width: 30px;
        border-top: 2px solid black;
        color: #000;
    }

    .hamburguer::after, .hamburguer::before{
        content: "";
        display: block;
        height: 2px;
        width: 30px;
        background-color: currentColor; /*tem o valor que estiver em hamburguer */
        margin-top: 7px;
        transition: .3s;
        position: relative;
    }

    .nav.true .hamburguer{
        border-top-color: transparent;
    }

    .nav.true .hamburguer::before {
        transform: rotate(135deg);
    }

    .nav.true .hamburguer::after {
        transform: rotate(-135deg);
        top: -8px;
    }
}