:root {
    --Pcolor: #339;
    --dSize: 16pt;
    --Hcolor: #009;
}

@font-face {
    font-family: "graph";
    src: url("../fonts/whoa!.ttf");
}

@font-face {
    font-family: "thistyCaps";
    src: url("../fonts/ThirstyCaps.otf");
}
@font-face {
    font-family: "Alarm";
    src: url("../fonts/alarm\ clock.ttf");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Calibri;
    color: #000;
}

body {
    background: linear-gradient(#EE8, #AA3);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 105vh;
}

.container {
    width: 1110px;
    height: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-areas:
        'header header header'
        'word word pub'
        'alphabet info info';
        gap: 5px;
    grid-template-columns: 40% 30% 29%;
    grid-template-rows: 100px 175px auto;
}

.adsence {
    grid-area: pub;
    background: #FFF;
}

#word {
    grid-area: word;

}

#word>div {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.wordContainer {
    display: flex;
    justify-content: center;
    min-width: 24%;
    gap: 25px;
    margin-inline-start: 45px;
}

.wordContainer::after {
    content: ' - ';
    line-height: 30px;
    font-size: var(--dSize);
}

.wordContainer:last-child::after {
    content: ''
}

button {
    display: none;
    background: var(--Pcolor);
    font-size: var(--dSize);
    padding: 18px;
    margin: 5px;
    color: #FFF;
    border: none;
    border-radius: 100% / 50px 20px 110px 0;
    width: 200px;
}

button:hover {
    cursor: pointer;
    background: var(--Hcolor);
}

#clue {
    transition: .7s;
    animation: highlight .7s ease-in-out .7s infinite;
}

#word p {
    margin: 8px auto;
    width: 80%;
    line-height: 2rem;
    font-size: var(--dSize);
    overflow: auto;
    max-height: 80px;
    display: none;

}

.find {
    width: 35px;
    border-bottom: 1px solid;
    min-height: 40px;
    font-size: 2rem;
    text-align: center;
}

.whiteSpace {
    width: 80px;
    min-height: 40px;
}

header {
    grid-area: header;
}

h1 {
    font-family: graph;
    background: linear-gradient(#33E, var(--Pcolor));
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 43pt;
    letter-spacing: 5px;
    text-align: center;
}
.adsence a{
    font-size: 25pt;
    text-decoration: none;
}
#timer{
    background: var(--Hcolor);
    padding: 15px;
    margin: 15px 15px 0 0;
    height: 61px;
}
#timer span{
    font-size: calc(var(--dSize)*2);
    color: #333;
    position: absolute;
    font-family: Alarm;
    letter-spacing: 5px;
}
#timer .content{
    color: #FFFE;
}
#alpha {
    grid-area: alphabet;
    min-height: 450px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 5px;
    padding: 10px;
}
._button{
    max-width: 180px;
    padding: 5px;
    text-decoration: none;
    background: var(--Hcolor);
    color: #FFF;
    margin: 5px;
    border-radius: 11px;
}
.letter {
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background: var(--Pcolor);
    color: #FFF;
    transition: .7s;
    box-shadow: 2px 2px 2px #009;
}

.letter:hover {
    background: #855;
    font-size: calc(var(--dSize)*2);
    cursor: pointer;
    box-shadow: -2px 2px 2px #009;
    transform: scale(1.5);
}

aside {
    grid-area: info;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

aside span {
    font-size: var(--dSize);
    text-align: center;
}

aside img {
    width: 150px;
    background: #FFF;
    margin: 10px;
    box-shadow: 3px 4px 10px #000;
    border-radius: 100% / 25% 10% 25% 10%;
}

footer {
    grid-area: footer;
}

/*ALERTE*/
.overlay {
    width: 100%;
    height: 100%;
    background: #6669;
    display: block;
    position: fixed;
    z-index: 2;
}

.alert_msg {
    max-width: 180px;
    aspect-ratio: 4/2;
    padding: 20px;
    position: relative;
    left: 40%;
    top: 45%;
    background: #FFF;
    color: #000;
    font-size: var(--dSize);
}
.choose{
    max-width: 450px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    left: 40%;
    top: 45%;
    background: #FFF;
    color: #000;
    font-size: var(--dSize);
}
.choose p{
    width: 100%;
    margin: 5px;
    padding: 10px;
}
@keyframes highlight {
    0% {
        border: 4px solid #885;
    }

    50% {
        border: 4px solid #FFF;
    }

    100% {
        border: 4px solid #885;
    }
}