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

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content {
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.title {
    text-align: center;
}

h1 {
    font-family: 'Righteous', cursive;
    margin: 0;
    padding: 0;
    transition: 0.2s;
}

.discover {
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.discover img {
    width: 80px;
}

.right-arrow {
    transform: scaleX(-1);
}

button {
    font-family: 'Righteous', cursive;
    margin-right: 10px;
    color: white;
    border: none;
    font-size: 40px;
    padding: 5px 10px;
    background-color: red;
    box-shadow: 1px 0 1px #a30000, 0 1px 1px #ff7b7b, 
    2px 1px 1px #a30000, 1px 2px 1px #ff7b7b, 
    3px 2px 1px #a30000, 2px 3px 1px #ff7b7b, 
    4px 3px 1px #a30000, 3px 4px 1px #ff7b7b, 
    5px 4px 1px #a30000, 4px 5px 1px #ff7b7b, 
    6px 5px 1px #a30000, 5px 6px 1px #ff7b7b, 
    7px 6px 1px #a30000, 6px 7px 1px #ff7b7b, 
    8px 7px 1px #a30000, 7px 8px 1px #ff7b7b, 
    9px 8px 1px #a30000, 8px 9px 1px #ff7b7b, 
    10px 9px 1px #a30000;
}

.info-content button {
    font-size: 60px;
    padding: 10px;
    line-height: 40px;
}

button:hover, button:focus {
    outline: none;
    cursor: pointer;
    box-shadow: 1px 0 1px #a30000, 0 1px 1px #ff7b7b, 
    2px 1px 1px #a30000, 1px 2px 1px #ff7b7b, 
    3px 2px 1px #a30000, 2px 3px 1px #ff7b7b, 
    4px 3px 1px #a30000, 3px 4px 1px #ff7b7b, 
    5px 4px 1px #a30000, 4px 5px 1px #ff7b7b, 
    6px 5px 1px #a30000, 5px 6px 1px #ff7b7b, 
    7px 6px 1px #a30000;
    margin-top: 6px;
    margin-left: 7px;
}

button:active, button:visited {
    outline: none;
    margin-top: 12px;
    margin-left: 12px;
    box-shadow: 1px 0 1px #a30000, 0 1px 1px #ff7b7b, 
    2px 1px 1px #a30000, 1px 2px 1px #ff7b7b, 
    3px 2px 1px #a30000, 2px 3px 1px #ff7b7b, 
    4px 3px 1px #a30000;
}

.reference {
    font-family: 'Righteous', cursive;
    width: 100vw;
    position: absolute;
    bottom: 0px;
    text-align: center;
    color: rgb(117, 117, 117);
}

.reference a {
    color: white;
    position: relative;
    text-decoration: none;
    transition: 0.5s;
}

.reference a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 51%;
    margin-left: -1%;
    height: 20px;
    background-color: rgb(117, 117, 117);
    transition: 0.5s;
    z-index: -1;
}

.reference a:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 51%;
    margin-right: -1%;
    height: 20px;
    background-color: rgb(117, 117, 117);
    transition: 0.5s;
    z-index: -1;
}

.reference a:hover {
    color: black;
}

.reference a:hover::before {
    width: 0%;
    margin-right: 51%;
}

.reference a:hover::after {
    width: 0%;
    margin-left: 51%;
}

.retour {
    position: absolute;
    top: -50px;
    left: 0;
    width: 250px;
    height: 200px;
    background-image: url(assets/blob.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    overflow: visible;
}

.retour a {
    font-family: 'Righteous', cursive;
    color: rgb(117, 117, 117);
    transition: 0.5s;
    width: 100%;
    padding: 90px 0px;
    text-align: center;
    text-decoration: none;
}

.retour:hover {
    background-size: 90%;
    cursor: pointer;
}

.retour:hover a {
    color: white;
}

.info {
    position: absolute;
    top: -20px;
    right: -10px;
    background-image: url(assets/blob.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    overflow: visible;
}

.info:hover {
    background-size: 100%;
    cursor: pointer;
}

.info g {
    transition: 0.5s;
}

.info:hover g {
    fill: white;
}

.info svg {
    transform: scale(0.3);
}

.info-blob {
    position: absolute;
    top: 35px;
    right: 45px;
    width: 0px;
    height: 0px;
    transition: 4s;
    z-index: 1;
    opacity: 0.9;
    backdrop-filter: blur(2px);
}

.info-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 1s;
    opacity: 0;
    pointer-events: none;
}

.info-content h2 {
    color: white;
    font-family: 'Righteous', cursive;
    font-size: 60px;
}

.info-content p {
    color: white;
    font-family: 'Righteous', cursive;
    font-size: 20px;
    width: 80vw;
    text-align: center;
    margin-bottom: 5vh;
}

.info-content button {
    position: absolute;
    top: 50px;
    right: 50px;
}

.info-content button:hover {
    margin-top: 3px;
    margin-right: 7.5px;
}

.background {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    position: absolute;
    top: 0;
    left: 0;
}

.test {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -20vh;
    opacity: 0;
    background-image: url('assets/tete-crop.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: falling 10s ease-out, turning 2s infinite ease;
    transform: rotate(-0.1turn);
}

@keyframes falling {
    0% {
        opacity: 0.3;
        top: -20vh;
    }
    90% {
        top: 110vh;
        opacity: 0.3;
    }
    91% {
        opacity: 0;
    }
    100% {
        display: none;
    }
}

@keyframes turning {
    0% {
        transform: rotate(-0.1turn);
    }
    50% {
        transform: rotate(0.1turn);
    }
    100% {
        transform: rotate(-0.1turn);
    }
}