@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
:root{
    --font-small:200;
    --font-medium:600;
    --font-large:1000;
}
p{
    font-size: 15px;
    font-weight: var(--font-medium);
    color: hsl(229, 6%, 66%);
}
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-container{
    margin: 20px 0px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.top-content{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 15px;
}
.h21{
    font-weight: var(--font-small);
}
.h22{
    font-weight: var(--font-large);
}
.top-p{
    max-width: 516px;
    text-align: center;
}
.bottom-content{
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.content{
    width: 325px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 10px 10px  hsl(0, 0%, 85%);
    margin: 10px 15px 10px 15px;
}
.top-border{
    width: 100%;
    height: 5px;
    background-color: black ;
    position:absolute ;
    top: 0;
    left: 0;
}
.content2{
    margin-bottom: 20px;
}
.contents{
    width: 90%;
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
img{
    align-self: flex-end;
}
h3{
    margin-bottom: 10px;
}
.top-part{
    width: 300px;
}
.blue{
    background-color: hsl(212, 86%, 64%);
}
.red{
    background-color: hsl(0, 78%, 62%);
}
.green{
    background-color:hsl(180, 62%, 55%);
}
.yellow{
    background-color: hsl(34, 97%, 64%);
}

@media(min-width:752px){
    .bottom-content{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .content{
        width: 400px;
        height: 240px;
    }
}