body {
    width: 100%;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Fredoka", sans-serif;
    color: #8a815a;
    background-color:#f5f4f3;
}

.item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
    margin-top: 70px;
}

.item .text {
    line-height: 1.4;
    margin: 12px;
}

.item img {
    max-width: 620px;
    max-height: 405px;
}

h1 {
  font-family: "Balsamiq Sans", sans-serif;
  text-transform: capitalize;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  letter-spacing: .2rem;
  margin-left: -10px;
  margin-top: 100px;
  color:#443c2a;
}

.header h3 {
    font-family: "Fredoka", sans-serif;
    font-style: normal;
    margin-left: -10px;
    font-weight: 300;
    color:#8a815a;
}

h3 {
    font-family: "Balsamiq Sans", sans-serif;
    font-style: normal;
    margin-left: -10px;
    font-weight: 400;
    color:#443c2a;
}

.before {
display: flex; 
flex-wrap: wrap;
gap: 40px;
 justify-content: center;
}

.before span {
    display:block;
    font-weight: 500;
    color:#443c2a;
    text-transform: uppercase;
    letter-spacing: .1rem;
}

.before p {
     text-align: center;

}
.source {
    
    font-size: 13px;
    font-weight: 300;
    color:#605c49;
    margin-top: -10px;
}

a {
    color:#E06D2B;
}

footer {
    font-family: "Fredoka", sans-serif;
    font-style: normal;
    margin-left: -10px;
    font-weight: 400;
}

p {
    font-family: "Fredoka", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
}

.copyright {
    font-size: 13px;
    font-weight: 400;
}

.grid {
    display: flex;
    flex-wrap: wrap;}

.grid img {
    width: 100%;
    padding: 6px;
}
.needs {
    display: grid;
    font-size: 17px;
   grid-template-columns: auto auto;   
    justify-content: center;            
    gap: 90px;
}

.needs h3 {
    font-family: "Fredoka", sans-serif;
    font-weight: 500;
    letter-spacing: .1rem;
    margin-left:30px;
}

.steps h3:first-of-type {
     font-family: "Fredoka", sans-serif;
    font-weight: 500;
    letter-spacing: .1rem;
    margin-left:30px;
     font-size: 20px;
}

.steps h3:not(:first-of-type) {
     font-family: "Fredoka", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 300;
     margin-left:30px;
}
.steps ol {
    list-style-position: inside;       
    gap: 20px;
    padding: 0;
    margin: 0 auto;
}

.steps li {
    background-color: #eae8e0;
    border-radius: 20px;
    overflow: hidden;  
        min-width: 0;   
        padding: 10px 20px; 
            place-items:center;                                 
}
.steps .img-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.steps li img {
    display: flex;
    max-width: 300px;
    max-height: 300px; 
    margin: 20px;                            
}

.steps li p {
    margin: 2px;
    padding: 16px;
    font-size: 17px;
}

@media (min-width: 640px) {
       /* body {
        background-color: #e8632e;  
    }  */ 
      h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 500px) {
     hr {
        width: 45%; 
     }
        
        h1 {
        font-size: 3rem;
    }

    .item {
        grid-template-columns: 1fr;
            margin: 20px;
        place-items: center;
}

    .item .text {
        width: 50%;
        padding-right: 40px;
        
    }

.item img {
    width: 50%;
}
body {
    place-items: center;
    margin: 30px;
    width: 50%;
}

.before p {
    width: 35%;         
    margin: 8px 0;
}
.needs {
        grid-template-columns: 1fr;
        width: 75%;
}
.steps li img {
    width: 50%;
}

.steps .img-row {
    grid-template-columns: 1fr;
}
}

@media (max-width: 900px) {
    hr {
        width: 60%; 
     }
     
     h1 {
        font-size: 2.5rem;
    }

    .item {
        grid-template-columns: 1fr;
        margin: 20px;
        place-items: center;
}

    .item .text {
        width: 50%;
        padding-right: 40px;
    }

.item img {
    width: 50%;
    grid-template-columns: 1fr;
}

body {
    place-items: center;
    margin: 30px;
    width: 75%;
}
.needs {
        grid-template-columns: 1fr;
        width: 50%;
}
.steps li img {
    width: 75%;
}

.steps .img-row {
    grid-template-columns: 1fr;
}
}

@media (max-width: 1100px) {

     hr {
        width: 80%; 
     }
.item img {
    width: 80%;
    margin-top: 50px;
}
body {
    place-items: center;
    margin: 30px;
    width: 80%;
}
.steps li img {
    width: 80%;
}
.steps .img-row {
    grid-template-columns: 1fr;
}
}

img {
  border-radius: 20px;
}

hr {
  border: none;            
  height: 0.5px;          
  background-color:#8a815a;
  margin: 40px 0;
}

input[type="checkbox"] {
  accent-color: #E06D2B;
}

ul {
  list-style-type: none;
}

.steps .img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
    margin: 20px 0;
}

.steps .img-row img {
    margin: 0;
    width: 100%;
    max-width: 300px;
    height: auto;
}

