body {
    margin: 0;
    font-family: 'Archivo Narrow', sans-serif;
}

header {
    background-color: rgba(255,0,0, .3);
    text-align: center;
    padding-top: 166px;
    padding-bottom: 188px;
    background-image: url('../images/dog.webp'); 
    background-size: cover;
    background-position: center;
    color: rgb(0, 0, 0)
}

h1, h2, h3, h4, p {
    margin: 0;
}

h1 {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 16px;
}

h2{
    text-align: center;
    font-size: 40px
}

header h2 {
    font-size: 30px;
    line-height: 1;
}

section {
    padding-top: 40px;
}

section h2 {
    margin-bottom: 33px;
}

section:first-of-type p {
    line-height: 25px;
    margin-bottom: 17px;

}

section:first-of-type {
    background-color: rgb(241, 107, 23);
    padding-bottom: 40px;
}

.main-column {
    width: 960px;
    margin: auto;
    font-size: 18px;
}

.goldfish {
    width: 400px;
    height: 300px;
    float: right;
    padding-left: 40px;
    padding-bottom: 20px
}

section:nth-of-type(2) {
        background-color: rgb(60, 182, 194);
        padding-bottom: 25px;
}

.grid {
    padding: 0;
}

h3 {
    margin-bottom: 8px;
    letter-spacing: 10%;
}

.text {
    line-height: 25px;
    padding-right: 25px;
}

.grid img {
    width: 200px;
    height: 150px;
    float: left;
    padding-bottom: 16px;
    object-fit: cover;
    padding-right: 12px;
    }

.grid li {
    display: block;
    width: 25%;
    text-align: left;
    font-size: 18px;
    margin-bottom: 8px;
}

.using-grid {
    display: grid;
    grid-template-columns: 1fr 1fr ;
}

.using-grid li {
    width: 100%;
}

section:nth-of-type(3) {
    background-color: rgb(162, 86, 143);
    padding-bottom: 105px;
}

.sectionthreetitle {
    margin-top: -2px;
}

.sectionthree {
    font-size: 26px;
    text-align: center;
    padding-left: 128px;
    padding-right: 128px;
    line-height: 36px;
}

section:nth-of-type(4) {
    background-color: rgb(239, 227, 90);
    background-size: cover;
    padding-bottom: 40px;
}

.footer {
    margin-top: -5px;
}






