@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lexend+Deca&family=Roboto:wght@300&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
	border: none;
	outline: none;
}
body{
    font-size: 15px;
    font-family: 'Inter','Lexend Deca', sans-serif;
    overflow-x: hidden ;
    background-color: hsl(233, 47%, 7%);
    padding: 10vh 0;    
}
.main{
    background-color: hsl(244, 38%, 16%);
    color: hsl(0, 0%, 100%);
    border-radius: 5px;
    width: 80%;
    text-align: center; 
    margin: 0 auto;
}

.main__info{
    padding: 5vh 5vw;
    display: flex;
    flex-direction: column;
}
.main__img{
    width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    background-color: hsl(277, 100%, 34%);
}

.img__img{
    width: 100%;
    display: block;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    opacity: 0.5;
}

.infor__title{
    font-size: 1.2rem;
}

.title__span{
    color: hsl(277, 64%, 61%);
}
.info__text{
    width: 95%;
    margin: 20px auto;
    font-size: 0.9rem;
    line-height: 2;
    color: hsla(0, 0%, 100%, 0.6)
}

.stats{
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: hsla(0, 0%, 100%, 0.6);
}
.stats__item{
    width: 5rem;
    font-size: 1rem;
    padding: 1rem 0;
    text-align: center;  
    line-height: 1.5;

}
.item__span{
    color: hsl(0, 0%, 100%);
    font-size: 1.6rem;
    font-weight: 600;
}

@media (min-width: 1440px) {
    .main{
        display: flex;
        height: 400px;
        max-width: 1200px;
    }  
    .main__img{
        border-radius: 0px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        width: 45%;
        order: 1;
    }
    .img__img{
        border-radius: 0px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        height: 100%;
        max-height: 100%;
    }
    .main__info{
        padding: 50px;
        text-align: justify;
        width: 55%;
        order: 0;
    }
    .infor__title{
        font-size: 1.5;
    }
    .info__text{
        margin-left: 0;
        line-height: 1.5;
        font-size: 1.1rem;
    }
    .stats{
        margin-top:20px;        
        flex-direction: row;
        justify-content: space-between;
    }
}