html,
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f5faff;
    font-family: 'Text', sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

.design-btn {
    background-color: #E22722;
    transform: rotate(-1deg);
}

.design-btn > * {
    transform: rotate(1deg);
}

.header-title {
    color: #0439A7;
}

.header-contact i {
    color: #0439A7;
}

/******************************************************\
|***                     Cards                      ***|
\******************************************************/

#home {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40vh;
    padding-top: 12.5vh;
}

.cards-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80%;
    width: 95%;
}

.card {
    border-radius: 5px;
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    height: 100%;
    width: 22.5%;
}

.underlay {
    background-color: rgba(0,0,0,0.4);
    padding: 5% 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.card-link {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.card-link h1 {
    margin: .5% .5% .5% 3%;
    font-size: 3.5vh;
}

.card-link h2 {
    margin: .5% .5% .5% 8%;
    font-size: 2vh;
}

.self-top-card {
    margin: 2%;
    text-align: center;
}

#home .cards-container .first-img {
    background-image: url("/static/vie.jpg");
}

#home .cards-container .second-img {
    background-image: url("/static/cata.jpg");
}

#home .cards-container .third-img {
    background-image: url("/static/habitable.jpg");
}

#home .cards-container .fourth-img {
    background-image: url("/static/ecole.jpg");
}

/******************************************************\
|***                     About                      ***|
\******************************************************/

#about {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#annonce {
    display: flex;
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 4px solid #E22722;
    margin-top: 5vh;
    border-radius: 9px;
    padding: 1%;
}

#annonce h3 {
    margin: .5rem 0;
    font-size: 1.5rem;
}

#annonce a, #webcam-info a {
    color: #0D47A1;
    text-decoration: underline;
}

#webcam-info {
    display: flex;
    width: 80%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 4px solid transparent;
    margin-top: 5vh;
    border-radius: 9px;
    padding: 1%;
    margin-bottom: 1%;
}

/******************************************************\
|***                  Illustration                  ***|
\******************************************************/

#illustration {
    display: flex;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../cover.jpg);
    height: 45vh;
    width: 100%;
    margin: 10vh 0;
}

/******************************************************\
|***                     Values                     ***|
\******************************************************/

#value {
    width: 85%;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.main-values {
    display: flex;
}

.icon-values {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: black;
    width: 100%;
    pointer-events: none;
    cursor: default;
}

.icon-values img {
    display: flex;
    max-height: 10vh;
    max-width: 10vh;
}

/******************************************************\
|***                     Speech                     ***|
\******************************************************/

#details {
    display: flex;
    justify-content: space-around;
}

#speech {
    display: flex;
    flex-direction: column;
    width: 60%;
}

#speech h1 {
    margin-top: 2.5vh;
    font-size: 1.5rem;
}

#speech h2, #speech p {
    font-size: 1.25rem;
    font-weight: normal;
    text-align: justify;
    margin: 0;
    padding: 0;
}

#news {
    display: flex;
    flex-direction: column;
    width: 25%;
}

#news h2 {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 3% 0;
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #E20816;
}

#news .news-item {
    color: black;
    display: flex;
    padding: 2.5%;
    justify-content: center;
    box-shadow: 0 1px 4px 0 gray;
    background-color: white;
    align-items: center;
    flex-direction: column;
}

#news .news-item-text {
    margin: 1%;
    font-weight: bold;
    color: #0D47A1;
}

#news .news-item-date {
    font-size: .8rem;
    align-self: flex-end;
}

/******************************************************\
|***                     Contact                    ***|
\******************************************************/

#contact {
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.container-contact {
    display: flex;
    flex-direction: row;
    width: 75%;
    justify-content: space-around;
}

.container-contact div a, .container-contact a {
    color: #CC3333;
}

.phone, .place, .internet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    background-color: white;
    padding: 4vh;
    border-radius: 6px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    transition: .25s, -webkit-box-shadow .25s;
    position: relative;
}

.phone:hover, .place:hover, .internet:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.phone div , .place div, .internet div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.container-contact div span {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 2.5vh;
}

.button-contact {
    position: absolute;
    right: 24px;
    bottom: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #CC3333;
    box-shadow:  0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

.button-contact i {
    text-align: center;
    line-height: 40px;
    width: inherit;
    color: white;
}

.newsletter-form {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 12.5vh;
}

.mc-field-group {
    margin: 1%;
    width: 100%;
    text-align: center;
}

.mc-field-group label {
    margin: 0 1%;
}

.newsletter-form input {
    border: none;
    font-size: 1.25rem;
    border-bottom: 2px solid black;
    background-color: transparent;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .button:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.newsletter-form .button {
    margin-top: 2.5vh;
    color: white;
    padding: .5rem 1rem;
    background-color: black;
    font-family: 'Text', sans-serif;
    border: 2px solid black;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/******************************************************\
|***                     Footer                     ***|
\******************************************************/

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: 10vh;
    margin-top: 10vh;
    padding-bottom: 2.5vh;
    background-color: #4279A7;
}

footer div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 25%;
    height: 100%;
}

footer div a {
    color: black;
}

footer div h1, footer div p {
    margin: 0;
    font-size: 1rem;
}

footer .heart-color {
    color: red;
}

footer .footer-beta {
    color: orange;
}

footer .footer-beta a {
    color: white;
    text-decoration: underline;
    font-style: italic;
}
