*,
::before,
::after {
    -moz-box-sizing: border-box; 
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body{
    min-height: 100vh;
    background-color: lightgray;
    display: grid;
    position: relative;
    font-family: Montserrat, Helvetica, sans-serif;
}

#sec2{    
    position: relative;
    max-width: 1000px;
    margin: 0 auto 0 auto;
    overflow: hidden;
    background-color: lightgray;

}

#sec2-img1{
    margin: 40px 10vh 40px 0;
    line-height: 27px;
    text-align: justify-all;
    max-width: 40%;   
    font-size: 1.2em;
    font-weight: 700;
    float: right;
    color: #333;
    animation: slideDown 1s;
    transition: 0.5 ease-in-out;
    position: relative;
}

#sec2-title{
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 2em;
    font-weight: 900;
    animation: slideDown 1s;
    transition: 0.5 ease-in-out;
}

hr {
    border: none;
    border-top: 3px double #333;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
    width: 100px;
    margin: 15px auto;
}

hr:after {
    background: #fff;
    padding: 0 4px;
    position: relative;
    top: -13px;
}


#sec2-p{
    margin-top: 40px;
    line-height: 27px;
    text-align: justify-all;
    max-width: 40%;   
    font-size: 1.2em;
    font-weight: 700;
    float: left;
    color: #333;
    animation: slideDown 1s;
    transition: 0.5 ease-in-out;
    position: relative;
}

.div-vid{
    margin: auto;
    margin-top: 5vh;
    text-align: center;
}

.vid{
    margin: auto;
    align-items: center;
}

@keyframes slideDown{
    from{
        transform: translateY(2000px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}



@media (max-width:690px) {
    #sec2-p{
        font-size: 1em;
    }
    #sec2-img1{
        font-size: 1em
    }
}

@media (max-width:590px){
    .sec2-div1{
        float: none;
        padding: none;
        margin: none;
    }

    #sec2-p{
        margin: 5vh 0 0 0;
        margin-left: 10px;
        display: inline-flex;
        float: none;
        padding: none;
        text-align: justify-all;
        max-width: 100%;
    }

    #sec2-img1{
        margin: 5vh 0 0 0;
        margin-left: 10px;
        display: inline-flex;
        float: none;
        padding: none;
        text-align: justify-all;
        max-width: 100%;
    }
}

@media (max-width:500px){
    #sec2{
        align-items: center;
        justify-content: center;
    }
}

@media (max-width:400px)
{
    #sec2-title{
        font-size: 1.5em;
    }

    #sec2-p,
    #sec2-img1{
        font-size: 0.8em;
        line-height: 20px;
        margin-top: 2vh;
    }
}