

body{
    margin: 0;
    padding: 0;
    background-color: hsl(233, 47%, 7%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}



.parent{
    margin: 100px;
    display: flex;
    flex-direction: column;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    
    
    
    
    
    
.child-two{
    
    background-color: hsla(277, 80%, 55%, 0.703);
}
.child-two img{
    width: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.3;
}
    
}
.child-one{
    background-color: hsl(244, 37%, 16%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    
}
.child-one h {
    color: hsl(0, 0%, 100%);
    font-size: 1.8rem;
    text-align: center;
}

.child-one p{
    color:  hsla(0, 0%, 100%, 0.6);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 15px;

}
#insights{
    color: hsl(277, 64%, 61%);
}
.child-two img{
    object-fit: cover;
    width: 100%;


    
}
.rate{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 10px;
    color: hsla(0, 0%, 100%)
}
.ratings{
    font-size: 1.5rem;
    line-height: 1.5rem;
}


.ratee{
    display: flex;
    flex-direction: column;
    color:  hsla(0, 0%, 100%, 0.6);
    font-size: x-small;

}


@media(min-width: 1024px ) {
    .parent{
        display: flex;
        flex-direction: row-reverse;
        width:750px;
        border-radius: 5px;
       
        
        
    }
    .child-one{
        width: 50%;
        padding: 50px;
         box-sizing: border-box;
    }
    .child-two{
        width: 50%;
        background-color: hsl(277, 64%, 61%);;
        background-repeat: no-repeat;
        height: auto;
    }

    .child-two img{
        content: url(images/image-header-desktop.jpg);
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .rate{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .child-one h {
      text-align: start;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    .child-one p{
       text-align: start;
       margin-bottom: 20px;
       font-size: 12px;
       line-height: 1.6;
       padding: 5px;

    }

    .ratings{
        font-size: 1rem;
        margin-top: 10px;
    }

}