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


:root{
    --Very-dark-blue: hsl(233, 47%, 7%);
    --card-blue:hsl(244, 38%, 16%);
    --soft-violet: hsl(277, 64%, 61%);
    --white: hsl(0, 0%, 100%);
    --twhite: hsla(0, 0%, 100%, 0.75);
    --twhite-stats: hsla(0, 0%, 100%, 0.6);
}

body{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    background-color: var(--Very-dark-blue);
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-blue);
    border-radius: .5em;
    max-width: 70em;
}

.cont{
    padding: 1em 4em 1em 4em;
}

img{
    border-top-right-radius: .5em;  
    border-bottom-right-radius: .5em;  
    opacity: .5;
}

.main-content {
    position: relative;
}
  
.main-content::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:hsl(277, 64%, 61%) ; /* Change the color and opacity as needed */
}
  
.main-content img {
    display: block;
}

h1{
    color: var(--white);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding-bottom: 1em;
}

h2{
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.span{
    color: var(--soft-violet);
}

p{
    color: var(--twhite);
    font-weight: 400;
    font-family: 'Lexend Deca';
}

.box{
    color: var(--white);
    font-weight: 400;
    font-family: 'Inter', sans-serif
}

.b{
    color: var(--twhite-stats);
    font-family: 'Lexend Deca', sans-serif;
    text-transform: uppercase;
}

.bottom{
    display: flex;
    justify-content: space-between;
    padding-top: 2em;
}

@media screen and (max-width:905px){
    .container{
        display: flex;
        flex-direction: column-reverse;
        max-width: 85vw;
    }

    .box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .bottom{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .main-content{
        border-top-right-radius: 1em;
        border-top-left-radius: 1em;
        max-width: 85vw;
        max-height: 85vh;
    }
    img{
        border-top-right-radius: 1em;
        border-top-left-radius: 1em;
        max-width: 85vw;
        max-height: 85vh;
    }
}