body,
html {
    margin: 0;
    padding: 0;
}

div {
    margin: 0 auto;
}
.container {
    margin: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

@media screen and (min-width: 996px) {

    .box1 {
        width: 100%;
        flex: 0.6;
    }

    .box2 {
        width: 100%;
        flex: 1.1;
        background-size: cover;
        background-position: center;
    }

    .box3 {
        width: 100%;
        flex: 2;
    }

    .box4 {
        width: 100%;
        background-color: #272424;
        flex: 0.45;
        margin-bottom: 0.96rem;
    }

    #domainname {
        margin: 0;
        padding-left: 3rem;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 2.1rem;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 600;
    }

    #quotes {
        position: absolute;
        top: 54%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    #quotes p {
        text-align: justify;
        text-indent: 2rem;
        font-size: 1.5rem;
        font-family: "Catamaran", sans-serif;
        font-weight: 360;
    }

    #quotes a {
        display: block;
        background-color: #00a1d6;
        color: #f7f7f7;
        border-radius: 4.2px;
        text-decoration: none;
        float: right;
        padding: 0.15rem 0.6rem
    }

    #footer {
        margin: 0;
        padding-left: 3rem;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 1rem;
        color: #fefefe;
    }
}


@media screen and (max-width: 768px) {

    .box1 {
        width: 100%;
        flex: 3;
    }

    .box3 {
        width: 100%;
        flex: 6.1;
    }

    .box4 {
        width: 100%;
        background-color: #272424;
        flex: 0.9;
    }

    .box2 {
        display: none;
    }

    #domainname {
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 2.1rem;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 600;
        justify-content: center;
        color: #f7f7f7;
    }

    #quotes {
        position: absolute;
        top: 57%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 81%;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    #quotes p {
        text-align: justify;
        text-indent: 1rem;
        font-size: 1.2rem;
        font-family: "Catamaran", sans-serif;
        font-weight: 360;
        color: #f7f7f7;
    }

    #quotes a {
        display: block;
        background-color: #00a1d6;
        color: #f7f7f7;
        border-radius: 4.2px;
        text-decoration: none;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.15rem 0.9rem;
        justify-content: center;
        width: 15%;
        margin: 0 auto;
    }
    
    #footer {
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 0.75rem;
        color: #fefefe;
        justify-content: center;
    }

}


@media screen and (min-width: 768px) and (max-width: 996px){

    .box1 {
        width: 100%;
        flex: 3;
    }

    .box3 {
        width: 100%;
        flex: 6.1;
    }

    .box4 {
        width: 100%;
        background-color: #272424;
        flex: 0.9;
    }

    .box2 {
        display: none;
    }

    #domainname {
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 2.1rem;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 600;
        justify-content: center;
        color: #f7f7f7;
    }

    #quotes {
        position: absolute;
        top: 54%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 81%;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    #quotes p {
        text-align: justify;
        text-indent: 1rem;
        font-size: 1.2rem;
        font-family: "Catamaran", sans-serif;
        font-weight: 360;
        color: #f7f7f7;
    }

    #quotes a {
        display: block;
        background-color: #00a1d6;
        color: #f7f7f7;
        border-radius: 4.2px;
        text-decoration: none;
        text-align: center;
        font-size: 1rem;
        padding: 0.15rem 1rem;
        justify-content: center;
        width: 12%;
        margin: 0 auto;
    }
    
    #footer {
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 0.9rem;
        color: #fefefe;
        justify-content: center;
    }

}