body {  
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    background-color: #f4eaef;
}

.centre {  
    width: 88vw;
    height: 92%;
    margin: 0 auto;
    margin-top: 8px;
    border-radius: 20px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

header {    
    width: 100%;
    height: fit-content;
    margin: 0 auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

a {  
    text-decoration: none;
}

.brand {
    width: 96%;
    height: max-content;
    margin: 0 auto;
    font-size: 24px;
    margin-top: -12px;
    text-align: center;
    color: #d11912;
    font-family: "Great Vibes";
}

nav {
    width: 60%;
    height: max-content;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

ul {   
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

ul li {
    list-style: none;
    margin-left: -40px;
    font-size: 14px;
}

ul li a {
    color: #17344e;
    font-family: "Lato";
}

main{
    width: 100%;
    height: max-content;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}

main .row {
    width: 100%;
    height: max-content;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}

main .row img {
    width: 33%;
    height: 100%;
}

main p {
    margin-top: 20px;
    font-style: oblique;
    font-size: 8px;
}
main p a {
    color: #d11912;
}


@media screen and (max-width: 1440px) {
    body {
        height: max-content;
    }

    .centre {
        width: 96vw;
        margin-top: 32px;
    }

    main .row {
        height: 72vh;
    }
}

@media screen and (max-width: 912px) {
    .centre {
        width: 100vw;
        margin-top: 16px;
    }

    .brand {
        margin-top: 0;
    }
    
    main p {
        margin-top: 32px;
    }

    main .row {
        height: 80vh;
    }
}

@media screen and (max-width: 768px) {
    .centre {
        margin-top: 8px;
    }

    .brand {
        font-size: 20px;
    }

    main p {
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px) {
    body {
        overflow-y: scroll;
    }

    .centre {
        width: 96vw;
    }

    .brand {
       font-size: 16px;
    }

    nav {
        width: 92%;
    }

    ul li {
        font-size: 12px;
    }

    main .row {
        flex-flow: column;
        height: max-content;
    }

    main .row img {
        width: 100%;
    }
}
