/* ROUGE VERT + BLEU OU ORANGE*/

/* *{
    border: 2px solid red;
}*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Karla:ital,wght@1,500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Karla:ital,wght@1,500&display=swap');

@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

html {
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-around;
    right: 0;
    left: 0;
    top: 0;
    font-family: Helvetica, sans-serif;
    z-index: 1000;
}

nav a {
    height: 30px;
    padding: 11px;
}

.waviy {
    position: relative;
}

.waviy span {
    position: relative;
    display: inline-block;
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    animation: flip 2s infinite;
    animation-delay: calc(.2s * var(--i))
}

@keyframes flip {

    0%,
    80% {
        transform: rotateY(360deg)
    }
}

body {
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
    margin: 0;
    margin-left: 0;
    background-image: url(IMG/rrt1.webp);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;

}

.bonus {
    width: 700px;
    
}

a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    color: rgb(255, 255, 255);
    font-size: 18px;
}

.ytb {
    color: rgb(255, 255, 255);
    border-radius: 15%;
    padding: 10px 20px;
    margin-top: 16px;
    color: #922f2f;
    font-weight: bold;
    text-decoration: underline;
}

#divInterne2 {
    width: 520px;
    height: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Title {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerReponse {
    margin: 10px;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reponse {
    border-left: 1px grey;
    border-bottom: 1px gray;
    width: 300px;
    display: inline-block;
}

h1 {
    /* En JS faire en sorte que lorsqu'on arrive sur le site, 5 seconde après, le texte apparait petit à petit.*/
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    color: rgb(255, 255, 255);
}

h2 {
    color: white;
}

p {
    color: rgb(255, 255, 255);
    font-family: 'Righteous', sans-serif;
}

.sectionAnalogies {
    height: 100vh;
    padding-top: 300px;
}

.h2Analogies {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-family: 'Exo 2', sans-serif;
    color: rgb(224, 183, 68);
}

.divAnalogies {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.flexReverse {
    flex-direction: row-reverse;
}

#divInterne2 > img {
    width: 500px;
    filter: drop-shadow(2px 4px 8px hsla(0, 0%, 100%, 0.5));
}

.divAnalogies>p {
    width: 800px;
    line-height: 40px;
    font-size: 1.5rem;
}

#contenu {
    /* border: solid 1px; */
    margin-left: 16px;
}

.mainLink {
    padding-right: 16px;
    margin-right: 6px;
    transition: font-size 1s;
}

a.mainLink:hover {
    font-size: 24px;
}

.fruitLink {
    transition: font-size 1s;
}

a.fruitLink:hover {
    font-size: 24px;
}

.objectLink {
    transition: font-size 1s;
}

a.objectLink:hover {
    font-size: 24px;
}

.filmLink {
    transition: font-size 1s;
}

a.filmLink:hover {
    font-size: 24px;
}

.sportLink {
    transition: font-size 1s;
}

a.sportLink:hover {
    font-size: 24px;
}

.colorLink {
    transition: font-size 1s;
}

a.colorLink:hover {
    font-size: 24px;
}

.countryLink {
    transition: font-size 1s;
}

a.countryLink:hover {
    font-size: 24px;
}

.songLink {
    transition: font-size 1s;
}

a.songLink:hover {
    font-size: 24px;
}

#formulaire {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ce8129;
}

fieldset {
    padding: 50px;
    margin-bottom: 10px;
}

legend {
    font-size: 36px;
    margin-bottom: 24px;
    color: rgb(224, 183, 68);
}

label {
    font-size: 24px;
}

textarea {
    display: flex;
}

#basDePage {
    margin-top: 80px;
}

.legal-copyright {
    background-color: rgb(85, 85, 85);
    color: white;
    margin-top: 40px;
}

.footer {
    font-family: 'Courier New', Courier, monospace;
}

/* CODE RECUPERE ICI : https://nikitahl.com/custom-styled-input-type-file */
input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: rgb(224, 183, 68);
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
  }
  
  input[type=file]::file-selector-button:hover {
    background:  rgb(240, 181, 19);
  }