/* Font imported */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400&display=swap');

/* Figma based stylesheet for Desktop with min-resolution: 1090px*/
body {
    margin: 0;
    background: #F3F5FC;
    font-family: 'Inter','Franklin Gothic Book';
    font-style: normal;
    font-weight: 400;
}

header {
	height: 35px;
    font-weight: 200;
	color: #0A3871;
}

main {
    position: absolute;
    height: 90%;
    width: 100%;

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

footer {
	width: 100%;
	height: 8%;

    position: absolute;
    display: flex;
    justify-content: space-between;

    font-weight: 200;

	color: #efefef;
	background-color: #0A3871;
	bottom: 0;
}

footer p {
    font-size: 15px;
    margin: 0.5rem 1rem;
}

/* ----- Alura Logo Frame ----- */
.frameLogo {
    display: flex;
    padding: 0px;

    position: fixed;
    width: 120px;
    height: 48px;
    left: 40px;
    top: 40px;
}

/* Alura's Logo inside frame */
.logo {
    height: 47px;
    width: 31px;
    position: absolute;
    left: 36.67%;
    right: 37.43%;
    top: 0%;
    bottom: 0%;
}

/* ----- Buttons ----- */
button {
    padding: 24px;
    gap: 8px;

    width: 270px;
    height: 67px;

    font-size: 17px;
    line-height: 19px;
    text-align: center;
}

button.dark {
    background: #0A3871;
    border: 1px solid #0A3871;
    border-radius: 24px;

    color: #FFFFFF;
}

button.light {
    background: #F3F5FC;
    border: 1px solid #0A3871;
    border-radius: 24px;

    color: #0A3871;
}

/* Button's effect */
button:hover {
    cursor: pointer;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

#btn-iniciar {
    width: 300px;
    height: 120px;
    font-size: 22px;
    line-height: 50px; 
}

/* Center Button's frame */
.main-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ----- Input ----- */
input {
    width: 90%;
    border: none;
    outline: none;
    resize: none;
    display: block;
    margin-bottom: 6rem;

    font-family: 'Inter';
    font-size: 30px;
    line-height: 150%;

    color: #0A3871;
    background-color: #F3F5FC;
}

/* ----- Frame for advice message ----- */
.advice-frame {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#img-alerta {
    height: 15px;
    width: 15px;
}

/* Advice message style */
.advice {
    font-size: 12px;
    color: #55575a;
    opacity: 0.8;
    margin: 8px;
}

#play-game-frame {
    flex-direction: column;
}

#canvas-game {
    display: block;
    margin-bottom: 1rem;
}

.buttons-game {
    
    display: flex;
    justify-content: center;
    gap: 30px;
    bottom: 1rem;
}

@media screen and (max-width: 1089px) {
    header {
        height: auto;
        font-size: 12px;
    }

    .frameLogo {
        position: absolute;
        left: 0px;
        top: 10px;
    }

    main {
        position: relative;
        min-height: 450px;
        bottom: 0;
    }
    
    footer {
        position: relative;
        display: block;
        height: 150px;
    }

    footer p {
        font-size: 11px;
    }

    button {
        padding: 15px;
        font-size: 16px;
        gap: 0;
        margin-bottom: 10px;
    }

    #play-game-frame {
        position: relative;
        bottom: 1px;
    }

    #canvas-game {
        margin: 0;
        aspect-ratio: 350/200;
    }

    .buttons-game {
        flex-direction: column;
        align-items: center;
        gap: 0;
        bottom: 0;
    }

    #add-word-frame {
        width: 270px;
    }

    input {
        width: 270px;
        font-size: 25px;
    }
}