* {
    margin: 0;
}

body {
    background-color: lightgray;
    background: linear-gradient(-30deg, white, rgb(120, 120, 120), rgb(160, 160, 160), rgb(160, 160, 160), rgb(220, 220, 220),  lightgray, white);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
    margin: 10px;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media (min-width:800px) {
    body {
        background-color: lightgray;
        margin: 5vh;
    }
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url(fonts/CormorantGaramond-Regular.woff2) format("woff2");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url(fonts/CormorantGaramond-Bold.woff2) format("woff2");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url(fonts/Inter-Regular.woff2) format("woff2");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url(fonts/Inter-Bold.woff2) format("woff2");
    font-weight: 200;
    font-style: normal;
}

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

button {
    color: black;
    text-decoration: none;
}

a:hover {
    background-image: linear-gradient(white 100%, transparent 100%);
    background-position: 0 4vh;
    background-repeat: repeat-x;
    background-size: auto 6vh;
}

.home {
    display: block;
}

@media (min-width:800px) {
    .home {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(9, 9vh);
        gap: 0 10px;
    }
}

/*   Titres Index  */

.header-title {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Arial, sans-serif;
    font-weight: 100;
    text-align: left;
    grid-column: 1 / 12;
}

.header-language {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Arial, sans-serif;
    font-weight: 100;
    text-align: left;
    grid-column: 12 / 12;
}

.header-project {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Arial, sans-serif;
    font-weight: 100;
    text-align: left;
}

@media (min-width:800px) {
    .header-project {
        color: black;
        font-size: 62px;
        text-indent: -20px;
        font-family: "Cormorant Garamond", Arial, sans-serif;
        font-weight: 100;
        text-align: left;
        grid-column: 3 / 12;
    }
}

.header-detail {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Arial, sans-serif;
    font-weight: 100;
    text-align: left;
}

@media (min-width:800px) {
    .header-detail {
        grid-column: 4 / 12;
        grid-row: 3 / 12;
        color: black;
        font-size: 62px;
        text-indent: -20px;
        font-family: "Cormorant Garamond", Arial, sans-serif;
        font-weight: 100;
        text-align: left;
    }
}

/*   Textes   */

.div-detail {
    background-color: white;
    color: black;
    font-family: "Inter", Arial, sans-serif;
    font-size: 24px;
    text-align: left;
    grid-column: 1 / 7;
    grid-row: 4 / 9;
    padding: 50px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.detail-info {
    font-weight: 200;
    padding-bottom: 20px;
}

.detail {
    font-weight: 100;
    padding-bottom: 20px;
}

/*   Images   */

.detail-gallery {
    background: lightgray;
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: normal;
    width: 100%;
}

@media (min-width:800px) {
    .detail-gallery {
        grid-column: 7 / -1;
        grid-row: 4 / 9;
        background: lightgray;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
    }
}

.gallery {
    background: lightgray;
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: normal;
    width: 100%;
}

@media (min-width:800px) {
    .gallery {
        grid-column: 1 / -1;
        grid-row: 4 / 9;
        background: lightgray;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
    }
}

img {
    height: auto;
    width: 100%;
}

@media (min-width:800px) {
    img {
        height: 100%;
        width: auto;
    }
}

iframe {
    height: 100%;
    width: 100%;
    background: lightgray;
}

@media (min-width:800px) {
    iframe {
        height: 100%;
        width: 100%;
    }
}

/*   Pied de page et pages liées  */

.footer {
    display: block;
}

@media (min-width:800px) {
    .footer {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        height: 9vh;
        gap: 10px;
    }
}

.footer-contact {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Helvetica, sans-serif;
    font-weight: 100;
    text-align: left;
    grid-column: 1 / 3;
}

.footer-a-propos {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Helvetica, sans-serif;
    font-weight: 100;
    text-align: left;
    grid-column: 4 / 8;
}

.footer-mentions {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Helvetica, sans-serif;
    font-weight: 100;
    text-align: left;
    grid-column: 8 / 12;
}

.a-propos-date {
    font-weight: 200;
}

.a-propos-degree {
    font-weight: 100;
    padding-bottom: 20px;
}

.header-contact {
    color: black;
    font-size: 62px;
    font-family: "Cormorant Garamond", Arial, sans-serif;
    font-weight: 100;
    text-align: left;
}

@media (min-width:800px) {
    .header-contact {
        grid-column: 4 / 12;
        color: black;
        font-size: 62px;
        text-indent: -20px;
        font-family: "Cormorant Garamond", Arial, sans-serif;
        font-weight: 100;
        text-align: left;
    }
}

.div-contact {
    background-color: white;
    color: black;
    font-family: "Inter", Arial, sans-serif;
    font-size: 24px;
    text-align: left;
    grid-column: 4 / 10;
    padding: 20px;
    font-weight: 100;
}

.div-formation {
    background-color: white;
    color: black;
    font-family: "Inter", Arial, sans-serif;
    font-size: 24px;
    text-align: left;
    grid-column: 4 / 10;
    grid-row: 4 / 9;
    padding: 50px;
    overflow-x: hidden;
    overflow-y: scroll;
    font-weight: 100;
}

.div-mentions {
    background-color: white;
    color: black;
    font-family: "Inter", Arial, sans-serif;
    font-size: 24px;
    text-align: left;
    grid-column: 4 / 10;
    grid-row: 3 / 9;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: initial;
    font-weight: 200;
}