/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body
{
    background-image: url('../images/background/red_black_maroon_1302674908.jpg');
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center;
}

#Main
{
    width: 100%;
    height: auto;
    padding-top: 15vh;
    margin-bottom: 3rem;
}
.AboutH
{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.AH
{
    color: #fff;
    font-size: 2.7rem;
    border-bottom: solid 3px #dc3545;
    width: 15rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1vh;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}
.Details
{
    margin-top: 2rem;
    height: auto;
    width: 83vw;
    /* background-color:blue; */
    margin-left: auto;
    margin-right: auto;
}
.img
{
    height: 38rem;
    background-image: url('../images/about/1.jpg');
    background-size: 100% 140%;
    background-position: top;
    background-repeat: no-repeat;

}
.Text
{
    height: 38rem;
    background-color: #000;
    padding: 1rem;
    padding-top: 2rem;
    overflow: hidden;
}
.Heading
{
    color: #fff;
    text-align: center;
    font-size: 3rem;
    font-family: 'Roboto', sans-serif;
    animation: animateHeading ease 3s;
}
.ABTEXT
{
    color: #fff;
    text-align: justify;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    animation: animateHeading ease 3s;
}
@keyframes animateHeading
{
    0%
    {
        opacity: 0;
        transform: translateX(80px);
    }
    100%
    {
        opacity: 100%;
        transform: translateX(0);
    }
}

/* Responsive CSS */
@media (max-width: 1000px)
{
    .Details
    {
        width: 95vw;
    }
    .img
    {
        height: 46rem;
    }
    .Text
    {
        height: 46rem;
    }
}
@media (max-width: 767px)
{
    .Details
    {
        width: 88vw;
    }   
    .img
    {
        height: 30rem;
        background-size: 100% 170%;
        background-position: top;
    }
    .Text
    {
        height: auto;
    }
}
@media (max-width: 600px)
{
    #Main
    {
        padding-top: 20vh;
        margin-bottom: 5rem;
    }
}
@media (max-width: 500px)
{
    #Main
    {
        padding-top: 21vh;
    }
    .Details
    {
        width: 90vw;
    }   
    .img
    {
        height: 23rem;
        background-size: 100% 170%;
        background-position: top;
    }
    .Text
    {
        height: auto;
    }
}