:root {
    --bg: #fff;
    --title: #71777b;
    --text: #333;
    --reverstext: #ddd;
    --primary: #046380;
    --accent: #84C225;
    --lightgrey: #71777b;
    --error: #ff0000;
}

html {
    font-family: 'Jost', sans-serif;
    font-size: 62.5%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*, *::before, *::after {
    box-sizing: border-box;
}

main {
    flex-grow: 1;
}

.main-page {
    margin: auto;
    padding: 0 2rem;
    max-width: 1024px;
}

h1 {
    font-weight: 500;
    font-size: 2.8rem;
    color: var(--title);
    text-align: center;
}

h2 {
    font-weight: 500;
    font-size: 2.3rem;
    color: var(--title);
    text-align: center;
}

h3 {
    font-weight: 500;
    font-size: 2.3rem;
    color: var(--title);
    text-align: center;
}

p, li, a, dd, dt, table, input {
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    color: var(--text);

}

p, a {
    text-align: center;
}

.bold {
    font-weight: bold;
}

ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

dl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

dd {
    display: list-item;
}

.button {
    margin: 2rem 0;
    text-decoration: none;
    color: var(--primary);
    padding: 1rem 2rem;
    border: solid 3px var(--primary);
    border-radius: 120px 15px 100px 15px/15px 90px 15px 90px;
    background-color: var(--bg);
}

.button:hover, .button:focus {
    background-color: var(--primary);
    color: var(--bg);
    transition-duration: 0.3s;
}

.inverted {
    margin: 2rem 0;
    text-decoration: none;
    color: var(--bg);
    padding: 1rem 2rem;
    border: solid 3px var(--bg);
    border-radius: 120px 15px 100px 15px/15px 90px 15px 90px;
    background-color: var(--primary);
}

.inverted:hover, .inverted:focus {
    background-color: var(--bg);
    color: var(--primary);
    transition-duration: 0.3s;
}

/* TITLE */

main .main-block .title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
}

main .main-block .title:not(.noLine) {
    border-bottom: solid 2px var(--accent);
}

main .main-block .title div {
    margin: auto;
    flex: 1;
}

main .main-block .title div img{
    width: 8rem;
}

main .main-block .title::before {
    content: '';
    flex-grow: 1;
}

/* SUBTITLE didier */

#subIcon {
    width: 3.5rem;
}

h4 {
    font-weight: 300;
    font-size: 2rem;
    color: var(--title);
    text-align: center;
}

/* Boeking didier */

#bookImg {
    width: 20rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* MAIN */
.language-selector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main .main-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

main .main-block div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /*align-items: center;*/
}

main .main-block .colorbox {
    margin: 4rem 0;
    padding: 2.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    width: 99vw;
    border-radius: 60% 30% 30% 70%/5rem 10rem 15rem 3rem;
    overflow: hidden;
    max-width: 1024px;
    gap: 3rem;
}

main .main-block .colorbox section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-block .colorbox h1, .main-block .colorbox h2, .main-block .colorbox h3, .main-block .colorbox p, .main-block .colorbox li, .main-block .colorbox dt, .main-block .colorbox dd, .main-block .colorbox a {
    color: var(--reverstext);
}

main .main-block .colorbox div {
    padding: 2rem;

}

main .main-block  img {
    width: 100%;
    border-radius: 60% 30% 70% 40%/5rem 10rem 3rem 7rem;
}

main .main-block .inTextImg {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

main .main-block .inTextImg img {
    height: 50vh;
    width: auto;
    border-radius: 0;
}

main .catchphrase {
    display: flex;
    text-align: center;
    font-weight: bold;
    font-size: 1.9rem;
    color: var(--text);
}

table {
    border-collapse: collapse;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

main .main-block .noBorderRadius {
    border-radius: 0;
}

main form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

main form div label {
    font-size: 1.8rem;
    font-weight: normal;
}

main form div label abbr, main form fieldset abbr {
    color: var(--error);
}

main form div input:not(.radio) {
    padding: 1rem;
    font-size: 1.8rem;
    width: 30rem;
}

main form div .checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;

    input {
        width: auto;
    }
}

main fieldset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    border: none;
}

main .main-block fieldset legend {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 2rem auto;
}

main .main-block fieldset div {
    display: flex;
    flex-direction: row;
}

main .main-block fieldset div label {
    font-weight: normal;
}

.error {
    color: var(--error);
}

main .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.facebookButton {
    width: 3.5rem;
}

.facebookBtnLink {
    margin-right: 2rem;
}

@media (min-width: 750px) {
    .main-page img {
        max-width: 50rem;
    }
}