* { margin: 0; padding: 0; }

body {
    max-width: 1000px;
    margin: auto;
    background-image: url("images/fishnets.png");
    overflow-x: hidden;
}

header nav {
    width: 100%;
    border-top: 5px double #FF503F;
}

header nav ul {
    list-style-type: none;
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-end;
}

header nav ul li a {
    color: #000000;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 70px;
    line-height: 3;
}

.mainContent {
    margin: auto;
    padding: 50px;
    font-size: 22px;
    line-height: 1.8;
}

.mainContent h1 {
    text-align: center;
    display: table;
    font-family: 'Emilys Candy', cursive;
    font-size: 36px;
}

.mainContent img {
    float: left;
    padding-right: 30px;
    padding-bottom: 5px;
}

.top {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
    margin-bottom: 80px;
    background-image: url(images/pink-chevron-stripes-pattern-2309.png);   
    opacity: .99;
}

.top img {
    border: thin solid #000;
}

.top h1 {
    font-size: 32px;
    text-align: center;
    padding-bottom: 20px;
    font-family: 'Emilys Candy', cursive;
}

.top article {
    height: 300px;
    width: 300px;
    padding: 40px 15px;
    line-height: 2;
    margin: auto;
    justify-content: space-between;
}

button {
    width: 150px;
    height: 40px;
    margin-left: 75px;
    background-color: rgba(156,211,216,1.00);
    border: none;
    font-size: 18px;
    border-radius: 4px;
}

button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    border: thin solid #000;
}

.bottom {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bottom article {
    width: 240px;
    margin: auto;
    padding: 20px 20px;
}

.bottom article h1 {
    font-size: 24px;
    padding: 10px;
    border-bottom: 5px double #FF503F;
    font-family: 'Emilys Candy', cursive;
}

.bottom article p {
    margin: 10px;
    font-size: 18px;
}

.bottom p, .mainContent p {
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
}

footer {
    background-color: rgba(156,211,216,.70);
    border: 5px double #FF503F;
    display: flex;
    justify-content: space-between;
    position: relative;
}

footer img {
    display: block;
}
.footnav ul {
    list-style-type: none;
    padding-bottom: 30px;
    padding-right: 50px;
}

.footnav ul li {
    padding-top: 30px;
}

.footnav ul li a{
    text-decoration: none;
    color: #FF503F;
    font-size: 24px; 
}

.footnav ul li a:hover {
    color: #000;
}

.mail a {
    position: absolute;
    bottom: 10px;
    left: 45%;
    text-decoration: none;
    color: black;
    font-size: 24px;
}

.box {
    position: absolute;
    background-color:rgba(0,182,255,0.40);
    z-index: -2;
    transform: rotate(3deg);
    width: 1000px;
    height: 810px;
    overflow-x: hidden;
}

.box2 {
    position: absolute;
    background-color:rgba(255,80,63,0.40);
    z-index: -1;
    transform: rotate(-3deg);
    width: 1000px;
    height: 810px;
}



@media only screen and (max-width: 600px) {
    
    header h1 {
        display: flex;
        justify-content: center;
    }
    
    .mail {
        display: none;
    }
    
    .mainContent {
        padding: 25px;
    }
}
@media only screen and (max-width: 1006px) {
    
    .box, .box2 {
        display: none;
    }
    
    .top {
        background-color: rgba(255,80,63,0.20);
    }
}
