
* {
    font-family: "Times New Roman", Times, serif;
}

.link {
    text-decoration: none;
    color: #ec8641;
    font-weight: bold;
}

.link:visited {
    color: #ec8641;
}

.link:hover {
    color: #ec8641;
}

.header {
    box-sizing: border-box;
    position: relative;
    padding: 20px 30px;
    color: #FFFFFF;
    background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('./../images/background.jpg');
    height: 100vh;
    background-size: cover;
    background-position-x: right;
    box-shadow: 0 2px 5px #e1e1e1;
}

@media screen and (max-width: 480px) {
    .header {
        height: 200px;
    }
}

.header__image {
    width: 150px;
    border-radius: 50%;
}

.header__title {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    position: absolute;
}

@media screen and (min-width: 481px) {
    .header__title {
        font-size: 28px;
        line-height: 34px;
        left: 30px;
        bottom: 120px;
    }
}

@media screen and (max-width: 480px) {
    .header__title {
        font-size: 18px;
        line-height: 22px;
        bottom: 65px;
        right: 20px;
        text-align: right;
    }
}

.header__subtitle {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    position: absolute;
}

@media screen and (min-width: 481px) {
    .header__subtitle {
        font-size: 18px;
        line-height: 24px;
        bottom: 100px;
        left: 30px;
    }
}
@media screen and (max-width: 480px) {
    .header__subtitle {
        font-size: 12px;
        line-height: 16px;
        bottom: 50px;
        right: 20px;
        text-align: right;
    }
}

.header__contact {
    color: white;
    position: absolute;
}

@media screen and (min-width: 481px) {
    .header__contact {
        bottom: 20px;
        left: 30px;
    }
}

@media screen and (max-width: 480px) {
    .header__contact {
        right: 20px;
        bottom: 15px;
    }
}

.header__link, 
.header__link:hover, 
.header__link:visited {
    color: white;
    text-decoration: none;
    font-size: 30px;
    line-height: 40px;
    cursor: pointer;
}

@media screen and (max-width: 480px) {
    .header__link, 
    .header__link:hover, 
    .header__link:visited {
        font-size: 20px;
        line-height: 24px;
    }
}

.beta-note {
    font-size: 12px;
    padding: 20px;
    text-align: right;
    color: #403C3C;
}

.nav-menu {
    border: 0;
}

.nav-menu__option {
    text-align: center;
    background-color: #0f0d0d;
    display: block;
    color: white;
    box-sizing: border-box;
    text-decoration: none;
    border: 0;
    font-weight: 500;
}

@media screen and (min-width: 1281px) {
    .nav-menu {
        font-size: 16px;
        width: 200px;
        margin-top: -60px;
        float: right;
        margin-right: 40px;
        box-shadow: 2px 2px 4px #e1e1e1;
        border-radius: 5px;
    }

    .nav-menu__option {
        width: 200px;
        height: 60px;
        line-height: 60px;
    }
    .nav-menu__option--first {
        background-color: white;
        color: black;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .nav-menu__option--last {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        
    }
}

.nav-menu {
    display: none;
}

.content {
    margin: 0;
    padding: 0;
}
@media screen and (min-width: 1281px) {
    .content {
        width: 1100px;
        margin: 0 auto;
    }
}
@media screen and (min-width: 481px) and (max-width: 1280px) {
    .content {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .content {
        width: 100%
    }
}

.article {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 40px;
    font-size: 16px;
    line-height: 20px;
    color: #272525;
    border: 1px solid #ffcaa6;
    margin: 20px;
    box-shadow: 2px 2px 4px #e1e1e1;
}

.article--profile, .article--europa {
    background-color: #ffe0cc;
}

@media screen and (min-width: 481px) {
    .article {
        margin: 20px;
    }
}
@media screen and (max-width: 480px) {
    .article {
        padding: 10px 20px;
        margin: 10px;
    }
}

@media screen and (min-width: 481px) {
    .article__image {
        flex: 30%;
    }
    .article__image--profile img, .article__image--europa img {
        width: 80%;
        border-radius: 50%;
    }
}

@media screen and (max-width: 480px) {
    .article__image {
        flex: 100%;
        text-align: center;
    }
    .article__image img{
        width: 60%;
        border-radius: 50%;
    }
}

.article__content {
    flex: 100%;
}

@media screen and (min-width: 481px) {
    .article__content--profile, .article__content--europa {
        flex: 70%;
    }
}

.article__title {
    flex: 100%;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 28px;
    text-align: center;
    line-height: 20px;
    border-bottom: 1px solid #ffcaa6;
    padding: 0 0 20px 0;
    color: #ec8641;
    font-weight: 600;
}

.article__subtitle {
    flex: 100%;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 18px;
    text-align: left;
    line-height: 20px;
    padding: 0 0 10px 0;
    color: #ec8641;
    font-weight: 600;
}

@media screen and (max-width: 480px) {
    .article__title {
        font-size: 18px;
    }
}

.article__subtitle {
    color: #ec8641;
}

.teams {
    display: flex;
}

.team {
    flex: 20%;
}

.team img {
    width: 80%;
    border-radius: 10px;
    aspect-ratio: 1/1;
    object-fit: cover;
    background-color: white;
}

.team--ballena img {
    width: 80%;
    border-radius: 10px;
    aspect-ratio: 1/1;
    object-fit: scale-down;
}

.game {
    width: 100%;
}

.game__screen {
    display: block;
    width: 100%;
    border: 5px solid #ec8641;
    background: white;
    border-radius: 5px;
    aspect-ratio: 5 / 2;
    padding: 10px 15px;
    box-sizing: border-box;
}

.game__keyboard {
    margin: 10px 0;
    border: 5px solid #ec8641;
    width: 100%;
    display: flex;
    box-sizing: border-box;
}

.game__keyboard-commands {
    text-align: right;
    flex: 1 1 auto;
}

.game__keyboard-actions {
    text-align: center;
    flex: 3 1 auto;
}

.game__keyboard-teams {
    flex: 2 1 auto;
}

.game__button, .game__who, .game__action, .game__instructions__button {
    background-color: white;
    border: 1px solid #ec8641;
    border-radius: 5px;
    color: #ec8641;
    aspect-ratio: 1 / 1;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    box-sizing: border-box;
    margin: 2px;
}

.game__button {
    margin: 1px;
    width: 140px;
    box-sizing: border-box;
}

.game__button--ballena,
.game__button--cangrejo,
.game__button--rana,
.game__button--pollito,
.game__button--saltar,
.game__button--palmas,
.game__button--pata-coja,
.game__button--boca,
.game__button--agachar,
.game__button--borrar,
.game__button--jugar {
    font-size: 0;
}

.game__button--disabled {
    opacity: 30%;
    cursor: not-allowed;
}

.game__button--enabled {
    cursor: pointer;
}

.game__button.game__button-speed,
.game__button.game__button-stop {
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    height: 40px;
}

.game__screen .game__instruction {
    margin: 5px 0;
    padding: 0;
    display: inline-flex;
    height: 100px;
}

.game__instruction + .game__instruction {
    border-left: solid #ec8641 1px;
    margin-left: 15px;
    padding-left: 20px;
}

.game__who, .game__action {
    display: inline-flex;
    width: 100px;
    aspect-ratio: 1/1;
}

.game__button--ballena, .game__who--ballena {
    background-image: url('./../images/ballena.avif');
    background-size: 100% auto;
}

.game__button--cangrejo, .game__who--cangrejo {
    background-image: url('./../images/cangrejo.jpg');
}

.game__button--rana, .game__who--rana {
    background-image: url('./../images/rana.jpg');
}

.game__button--pollito, .game__who--pollito {
    background-image: url('./../images/pollito.jpg');
}

.game__button--palmas, .game__action--palmas {
    background-image: url('./../images/aplaudir.jpg');
}
.game__button--saltar, .game__action--saltar {
    background-image: url('./../images/salto.jpg');
}
.game__button--agachar, .game__action--agachar {
    background-image: url('./../images/agachar.webp');
}
.game__button--boca, .game__action--boca {
    background-image: url('./../images/tapar_boca.jpg');
}
.game__button--pata-coja, .game__action--pata-coja {
    background-image: url('./../images/pata-coja.png');
}
.game__button--jugar {
    background-image: url('./../images/jugar.svg');
}
.game__button--borrar {
    background-image: url('./../images/borrar.svg');
}

.game__board--programming {
    display: none;
}

.game__board--playing {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
}

.game__board-actions {
    width: 100%;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin: 10px 0;
}

.game__board-actions .game__button {
    margin: 10px 2px;
    box-sizing: border-box;
}

.game__board .game__instruction {
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    position: absolute;
    -moz-transition: opacity 1.5s;
    -webkit-transition: opacity 1.5s;
    -o-transition: opacity 1.5s;
    transition: opacity 1.5s;
}

.game__board .game__instruction.visible {
    opacity: 100;
}

.game__board .game__action-container {
    width: 100%;
    height: 100%;
}

.game__board .game__who-container {
    height: 20%;
    width: 100%;
    text-align: center;
}

.game__board .game__who {
    height: 100%;
    width: auto;
}

.game__board .game__action {
    width: 100%;
    height: 80%;
    border: 0;
}

.game__board .game__who {
    border: 0 !important;
    border-style: solid;
}