main{
    width: 90%;
    margin: 6.5rem auto 0;
}

.tabs{
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-top: 7rem;
    margin-bottom: 2rem;
}

.tabs li{
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0 1rem;
    color: black;
    cursor: pointer;
    position: relative;
}

.tabs li::after{
    content: '';
    position: absolute;
    bottom: -20%;
    left: -3%;
    width: 0%;
    height: 5px;
    background: #fbe122;
    border-radius: 1rem;
    transition: width .8s ease;
}

.tabs li.active::after{
    width: 100%;
}

/*Modificar contenido de los tabs*/
.container{
    width: 100%;
    height: 100vh;
    position: relative;
}

.content{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.content.active{
    display: block;
    animation: fade 1s ease;
}

.formulario{
    background-color: #D9D9D9;
    width: min(80rem, 100%);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset{
    border: none;
}

.formulario legend{
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
    color: black;
}

.campo{
    margin-bottom: 1rem;
}

.campo label{
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea{
    height: 20rem;
}

.input_text{
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}


@keyframes fade {
    from{
        opacity: 0;
    }

    to{
        opacity: 1;
    }
}

@media screen and (max-width:800px){
    main{
        width: 100%;
    }
}