@import url(reset.css);

nav {
    width: 70%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    background-color: bisque;
    margin-left: auto;
    margin-right: auto;
}
a {
    color: black;
    text-decoration: none;
}

main {
    display: grid;
    grid-template-areas: 
    'image1'   
    'text2'
    'text3'
    'text4'
    'text5';
    gap: 50px;
    margin-top: 0px;
    margin-left: 80px;
    margin-right: 80px;
}
main > * {
    border-radius: 10px;
}
.section1 {
    grid-area: image1;
    margin-left: auto;
    margin-right: auto;
}
.section2 {
    grid-area: text2 
}
.section3 {
    grid-area: text3 
}
.section4 {
    grid-area: text4 
}
.section5 {
    grid-area: text5 
}
@media screen and (min-width: 1200px) {
    nav {
        width:90%;
    }
    .Page2 {
        display: none;
    }
    h2 {font-size: 50px;}
    h1 {font-size: larger;}
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
    nav {
        width:90%;
    }
    .Page1 {
        display: none;
    }
    h2 {font-size: 40px;}
    h1 {font-size: large;}
}

@media screen and (max-width: 599px) {
    nav {
        width:90%;
        display: flex;
        flex-direction: column;
        font-size: larger;
    }
    .Page1 {
        display: none;
    }
    .Page2 {
        display: none;
    }
    h2 {font-size: 40px;}
    h1 {font-size: large;}
    a {font-size: 50px;}
}