@font-face {
    font-family: 'cowboy';
    src: url('../fonts/Cowboy-font.ttf') format('truetype');  
}

.fullscreen {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('../img/5_background/layers/desert-background.png');     
    background-position: center;
    background-size: cover;
}
body {
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'cowboy', Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
    font-size: 48px;
    text-shadow: 5px 3px 2px rgba(0, 0, 0, 0.5);
    color: #FFCB1A;
}

.canvas-element {
    position: relative;
}

.privacy {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.information-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

canvas {
    background-color: black;
    display: block;
}

.landscape-format {
    font-family: 'cowboy', Arial, Helvetica, sans-serif;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(234, 232, 229, 0.8);
    color: #d7af2c;
    font-size: 36px;
    text-align: center;
}

.d-none {
    display: none;
}

.sound-icon {
    position: absolute;
    top: 15px;
    right: 15px;
}

.sound-img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.mobile-btn {
    width: 100%;
    position: absolute;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.move-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.btn-arrow {
    width: 40px;
    height: 40px;
}

.btn-d {
    width: 65px;
    height: 65px;
    padding-top: 12px;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-family: 'cowboy';
    background-image: url('../img/5_background/layers/desert-background.png');
    background-position: center;
    background-size: cover;
}

button {
    all: unset;
}

.btn-home {
    width: 220px;
    height: 50px;
    border: unset;
    background-image: url('../img/5_background/layers/button-background.png');
    background-position: center;
    background-size: cover;
    text-align: center;
    font-size: 28px;
    font-family: 'cowboy';
    cursor: pointer;
    color: #a37023;
}

.btn-home:hover {
    color: #8b4e07;
    border: solid ;
    border-radius: 10px;
    border-color: #FFCB1A;
}

.start-game-icon {
    position: absolute;
    width: 100%;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.start-game {
    width: 220px;
    height: 70px;
    cursor: pointer;
}

.fullscreen-icon-content{
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.fullscreen-icon {
    cursor: pointer;
    width: 40px;
    height: 40px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-win-screen{
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-evenly;
}

.btn-back-to-home {
    cursor: pointer;
    width: 300px;
    height: 90px;
}

p {
    font-size: 20px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

b {
    font-size: 24px;
}

a {
    text-decoration: none;
}

.main-content-legal-notice {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-family: 'cowboy';
    background-image: url('../img/5_background/layers/desert-background.png');
    background-position: center;
    background-size: cover;
}

footer {
    background-color: #F3AC5E;
    height: 50px;
}

/* Smartphones ---------*/

@media only screen and (max-width: 950px) {
    h1 {
        display: none;
    }
}

@media only screen and (max-width: 720px) {
    canvas {
        height: 100vh;
    }
}

@media only screen and (max-height: 480px) {
    canvas {
        height: 100vh;
    }

    .start-game {
        width: 180px;
        height: 40px;
    }


    .start-game-icon {
        bottom: 10px;
    }

    .information-icon {
        width: 30px;
        height: 30px;
    }

    .fullscreen-icon {
        width: 30px;
        height: 30px;
    }

    .sound-img {
        width: 35px;
        height: 35px;
    }

    .btn-arrow {
        width: 30px;
        height: 30px;
    }

    .btn-d {
        width: 45px;
        height: 45px;
    }
}

@media only screen and (max-width: 1370px) {
    .mobile-btn {
        display: flex;
    }
}

@media only screen and (min-width: 1370px) {
    .mobile-btn {
        display: none;
    }
}
