:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}


.attribution { 
    font-size: 11px; text-align: center; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}



.header {
    text-align: center !important;
    line-height: 0.8;
    padding-bottom: 50px;
    padding-top: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media screen and (min-width: 1024px){
.header {
    padding: 2rem 6rem;
}
}

.header p {
    margin: 0 auto;
    /* line-height: 2; */
    color: var(--grayishBlue);
    text-align: center !important;
}


.box p {
    color: var(--grayishBlue);
}

.box {
    border-radius: 5px;
    box-shadow: 0px 30px 40px -20px var(--grayishBlue);
    padding: 30px;
    margin: 20px;  
}

.card-img {
    float: right;
    width: 64px;
    padding-top: inherit;
}


.cyan {
    border-top: 3px solid var(--cyan);
}
.red {
    border-top: 3px solid var(--red);
}
.blue {
    border-top: 3px solid var(--blue);
}
.orange {
    border-top: 3px solid var(--orange);
}

h2 {
   
    font-weight: var(--weight3);
}

.card-heading{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: none;
}

.cm-details{
    background-color:#EEE;
    padding:30px;
    margin:60px auto;
    width:600px;
    position:relative;
  }
  .cm-details::before{
    content:"1";
    background-color:red;
    padding:20px;
    position:absolute;
    top:5px;
    left:-20px;
    color:white;
    font-weight:bold;
  }

@media (min-width: 950px) {
    .row1-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .row2-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .box-down {
        position: relative;
        top: 150px;
    }
    .box {
        width: 20%;
     
    }
    .header p {
       
    }
    
}
@media (max-width: 450px) {
    .box {
        height: 200px;
    }
}

@media (max-width: 950px) and (min-width: 450px) {
    .box {
        text-align: center;
        height: 180px;
    }
}
@media (max-width: 400px) {
    h1 {
       
    }
}
