@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');
*{
    padding: 0;
    margin: 0;
}
body{
     background: #824DA6;
    min-height: 100vh;
    opacity: 0.9;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width:100vw;
}
.reset{
    display: block;
    background: #f085ae;
    padding:0.6rem 1.2rem;
    outline: none;
    border: none;
    transition: all .2s ;
    margin: 0 auto;
    margin-top:0.8rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 0.8rem;
    
}
.reset:hover{
    outline: none;
    border:none;
    opacity: 0.8;
    transform: scale(1.1);
}
div{
    background:rgb(108, 64, 140);
}

.main{
    background:rgb(108,64,140,0.5);
    display: flex;
    margin:1rem auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0.9;
}
img{
    width: 60%;
    display:block;
    height:360px;
    object-fit: cover;
    margin: 0 auto;
}
.section-1 h1{
    font-size:4rem;
    font-family: 'Sacramento', cursive;
}
h1,p{
    text-align: center;
}
.section-1 p{
    font-size:0.99rem;
}
.main-h1{
    display: flex;
    margin-bottom: 1.5rem;
 }
span{
    border-bottom: 2px solid #333;
    display: inline-block;
    font-size: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    text-transform: uppercase;
    width: 2rem;
    margin: 0.2rem;
}

@media only screen and (max-width:786px){
    /* .section-1{
        display:block;
        margin: 0rem auto;
    } */
    .section-1 h1{
        font-size: 2.5rem;
    }
    .section-1 p{
        font-size: 0.62rem;
    }
    img{
        width: 70%;
        display:block;
        height:200px;
        object-fit: cover;
        margin: 0 auto;
    }
    .main{
        height:200px;
        min-width: 300px;
    }
    .main-h1{
        display: block;
        margin: 0 auto;
    }
    span{
        width:0.8rem;
        font-size: 1.3rem;
    }
    #main-h3{
        margin-top: 0.7rem;
        font-size: 1rem;
        opacity: 0.8;
    }
    .reset{
        font-size: 0.9rem;
        padding:0.7rem;
    }
}
