.main {
    background: url(/img/fundo-main.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 200px 10px;
    position: relative;
}
.main-grid {
    position: relative;
    z-index: 5;
}
.main-grid h1{
    color: #FFED00;
    text-align: center;
    font-size: 3.375rem;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3em;
}
.main-grid h2 {
    color: #FFF;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
}
.main-grid a {
    background-color: #e30613;
    color: #ffed00;
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: 900;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    transition: .3s ease-out;
}
.main-grid a:hover {
    box-shadow: 0px 0px 0px 3px #FFED00;
}

#rastro1 {
    position: absolute;
    right: 0px;
    top: -90px;
    z-index: 1;
}
#rastro2 {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}

@media only screen and (min-width: 580px) and (max-width: 775px) {

    .main {
        padding: 100px 10px;
    }

    .main-grid h1 {
        font-size: 2.5rem;
    }
    .main-grid h2 {
        font-size: 1.3rem;
    }
    #rastro1 {
        transform: scale(.8);
        right: -23px;
    }
    #rastro2 {
        transform: scale(.8);
        left: -35px;
    }
    
}
@media only screen and (min-width: 341px) and (max-width: 579px) {

    .main {
        padding: 100px 10px;
    }

    .main-grid h1 {
        font-size: 1.8rem;
    }
    .main-grid h2 {
        font-size: 1rem;
    }
    #rastro1 {
        transform: scale(.8);
        right: -23px;
    }
    #rastro2 {
        transform: scale(.8);
        left: -35px;
    }
    
}
@media only screen and (min-width: 0px) and (max-width: 340px) {

    .main {
        padding: 100px 10px;
    }

    .main-grid h1 {
        font-size: 1.3rem;
    }
    .main-grid h2 {
        font-size: .8rem;
    }
    #rastro1 {
        transform: scale(.6);
        right: -45.5px;
        top: -120px;
    }
    #rastro2 {
        transform: scale(.6);
        left: -62px;
    }
    
}