/*
Feliz★* 。 • ˚ ˚ ˛ ˚ ˛ •
•。★Navidad★ 。* 。
° 。 ° ˛˚˛ * _Π_____*。*˚
 ˚ ˛ •˛•˚ •/______/~＼。˚ ˚ ˛
˚ ˛ •˛• ˚ ｜ 田田 ｜門｜ ˚
*/

/* General */
html {
    background-image: url('../img/bg.jpg');
    background-size: 200px;
    background-color: #00000027;
    background-blend-mode: darken;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: "Mountains of Christmas", serif;
    overflow: hidden;
}

.letter {
    background-image: url( '../img/paper.png' );
    background-color: white;;
    box-shadow: 0 0 70px rgb(71, 3, 3);
    padding: 20px;
    opacity: 0.95;
    border-radius: 3px;
    transition: .3s;
}

.hidden {
    display: none !important;
    height: 0px;
}

/* Home options */
.options {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.option {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 0 15px;
    transition: .3s;
}

.option:hover {
    transform: scale(1.2);
}

.option:hover .option-text {
    text-shadow: 0 20px 40px black;
}

.option a {
    color: black;
    text-decoration: none;
}

.option .option-text {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.option .option-icon {
    max-width: 150px;
    width: 100%;
    animation: linear 4s glowing-icons infinite;
}

.option .option-icon:active {
    opacity: 0.8;
}

/* Letters */
.letter.letter-modal {
    width: 400px;
}

.letter .letter-title {
    font-size: 1.5em;
    margin: 0 0 5px 0;
}

.letter .write-here-mirey {
    font-family: "Nothing You Could Do", cursive;
    background-color: transparent;
    background-image: url('../img/write.png');
    background-size: 54rem;;
    
    font-weight: bold;
    padding: 5px;
    color:darkblue;
    font-size: 1.3em;
    width: calc(100% - 10px);
    max-height: 60vh;
    height: 20em;
    resize: none;
}

/* Buttons */
.action-bar {
    text-align: right;
}

.mate-selector {
    background-color: #b82c1b;
    color: white;
    font-size: 1.2em;
    margin-bottom: 10px;;
    padding: 5px 10px;
}

.action-bar button {
    background-color: #b82c1b;
    color: white;
    border: 2px solid white;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
}

.action-bar button.button-cancel {
    background-color: rgb(56, 56, 56);
}

.action-bar button:hover {
    opacity: 0.9;
}

/* Santa */
.santa {
    max-width: 150px;
    position: fixed;
    top: 10px;
    animation: linear 10s flying-viejo-sabroso infinite;
}

.letter-sent, .letter-sent .action-bar {
    text-align: center;
}
.cringe {
    max-width: 150px;
    margin-bottom: 10px;
}

/* Anims */
@keyframes flying-viejo-sabroso {
    0% { left: calc(100% + 400px); }
    100% { left: -400px;}
}

@keyframes glowing-icons {
    0% { transform: scale(1);}
    50% { transform: scale(0.95);}
    100% { transform: scale(1);}
}

/* Media queries */
@media (max-width: 400px) {
    .letter {
        border-radius: none;
    }
    .options {
        flex-direction: column;
        width: 100%;
    }
    .option {
        margin: 10px;
    }
}