body {
    background: url(img/background1.jpeg) no-repeat center center fixed;
    background-size:  cover;
    font-family: Helvetica, Sans-Serif;
}

header, footer {
    display: flex;
    justify-content: center;
    background-image: url(img/back_white.png);
    background-repeat: repeat-x;
    box-shadow: 0 0 5px #000000;
    min-height: 100px;
    
}
header {
    margin: -1rem -1rem 0 -1rem;
}
footer {
    position: fixed;
    bottom: 0;
    width: 101%;
    margin: auto -1rem 0 -1rem;
}
footer div {
    width: 60rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header img {
    margin: 1rem;
}
main {
    text-align: center;
    background-image: url(img/back_blue.png);
    margin: auto;
    width: 15%;
    padding: 10rem 20rem;
    margin-top: 15rem;
    box-shadow: 0 0 5px #000000;

}

h1 {
    font-weight: 500;
    font-size: 36px;
    line-height: 40px;
    color: #cc071e;
}
h2 {
    font-weight: 500;
    font-size: 30px;
    line-height: 33px;
    color: #cc071e;
}
p {
    border-bottom: 1px dashed #7f9dbc;
    padding: 10px;
    color: white;
}
a {
    text-decoration: none;
}
/* tablet */
@media only screen and (max-width: 74.9975em) and (min-width: 47.99875em){
    main {
        width: 20%;
        padding: 10rem 15rem;
    }
    
}
/* mobile */
@media screen and (max-width: 74.9975em) {
    main {
        width: 75%;
        padding: 1rem 1rem;
        margin: 1rem 2rem;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 30px;
    }
    p {
        font-size:25px;
    }
    header img {
        transform: scale(0.5);
    }
    header {
    margin: -1rem -1rem 0 -1rem;
    }
    footer div {
        width: 20rem;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1600px) {
    
    main {
        width: 50%;
        margin: 1.5rem 6rem;
        padding: 5rem 10rem;
    }
}
@media screen and (min-width: 1600px) {
    main{
        margin-top: 2rem;
        padding: 3rem 15rem;
    }
    
}