@font-face {
    font-family: 'Pokerace';
    src: url("../font/AngryBirdsPixela.ttf") format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: black;
    font-family: Arial, sans-serif;
    margin: 0px;
    padding: 0px;
    gap: 16px;
}

header {

    background-image: url("../images/backgroundIntro.jpg");
    background-size: cover;
    aspect-ratio: 16/9;
    border-radius: 16px;
    width: 80%;
    max-width: 900px;
    overflow: hidden;
}


button {
    border: solid 1px transparent;
    background-color: transparent;
    color: white;
    font-size: 1.5rem;
    padding: 15px 15px;
}

button:hover {
    border: solid 1px white;
    border-radius: 32px;
}

main {
    border-radius: 16px;
    width: 80%;
    max-width: 900px;
    opacity: 1;
    background-color: white;
    color: white;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 30px;
}

.introBloc {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 900px;
    aspect-ratio: 16/9;
    width: 100%;

}

.video_muted {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.introtext {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.pokerace {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    font-size: 4rem;
    font-family: "Pokerace";
    color: white;
    text-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    -3px -3px 0 #000,
    3px -3px 0 #000;
}

.pokeraceRed {
    color: #F92034;

}


.linkStart {
    background-color: transparent;
    border: solid 3px black;
    font-size: 2rem;
    font-weight: 900;
    padding: 10px 30px;
    background-color: #F92034;
    color: white;
    text-decoration: none;
    border-radius: 32px;
    transition: all 0.3s ease-out;

}

.linkStart:hover {
   transform: scale(1.1);
}