* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.attribution { 
    font-size: 11px; 
    text-align: center;
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}



.container {
    display: flex;
    margin: auto;
    width: min(80%, 600px);    
}
body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: hsl(30, 38%, 92%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.second-item h1 {
    font-family: 'Fraunces', sans-serif;
}
.fourth-item h2 {
    font-family: 'Fraunces', sans-serif;
    color: hsl(158, 36%, 37%);
}
.img-section  {
    width: 50%;    
}
.img-section img {
    height: 100%;
    width: 100%;
    border-top-left-radius: 10px; 
    border-bottom-left-radius: 10px; 
}
.text-section {
    width: 50%;
    padding: 20px;
    background-color: hsl(0, 0%, 100%);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.text-section .second-item,
.text-section .third-item,
.text-section .fourth-item {
    padding-top: 10px;
    padding-bottom: 10px;
}
.first-item {
    padding-bottom: 10px;
}
.fifth-item {
    padding-top: 10px;
}
.fifth-item button{
    background-color: hsl(158, 36%, 37%);
    border: none;
    padding: 10px 50px;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    color: white
}
.fifth-item button:hover {
    background-color: hsl(158, 37%, 20%);
}
.fourth-item s {
    font-size: 14px;
    color: hsl(212, 21%, 14%);
}
p { 
    font-size: 14px;
    line-height: 20px;
}

@media only screen and (max-width: 500px) {
    .container {
        width: min(90%, 400px);
        display: block;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .img-section  {
        width: 100%;
        margin: 0;    
    }
    .text-section {
        width: 100%;
    }
    .img-section img {
        display: block;
        content: url(images/image-product-mobile.jpg); 
        border-bottom-left-radius: 0px;
        border-top-right-radius: 10px;
    }
    .text-section {
        border-top-right-radius: 0px;
        border-bottom-left-radius: 10px;
    }
}
/*.container {
        display: block;
        width: 100%;
    }

    .img-section  {
        width: 100%;    
    }
    .text-section {
        width: 100%;
    }
    body {
        display: block;
    }*/


