*{
    box-sizing: border-box;
}

/* BODY */
body {
    background-color: rgb(0, 10, 32);
    margin: 0;
}

/* ACESSIBILIDADE */
a:focus-visible, .card:focus-visible {
    outline: 3px solid yellow;
    outline-offset: 3px;
}

a:focus,
.card:focus {
    outline: none;
}

/* HEADER */
header{
    width: 100%;
    text-align: center;
}

header h1{
    font-family: "Sixtyfour", sans-serif;
    color: yellow;
    font-size: clamp(40px,6vw,70px);
    margin: clamp(10px, 2vw, 20px) 0 5px 0;
}

/* NAV */
nav{
    width: 100%;
    background: rgba(0, 10, 32); 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(10px,2vw,25px);
    padding: 10px 10px 20px 10px;
}

nav a{
    font-family: "Pixelify Sans", sans-serif;
    text-decoration: none;
    color: yellow;
    font-size: clamp(14px,2vw,22px);
    padding: 0 10px;
    -webkit-text-stroke: 0.1px white;

}

nav span {
    color: yellow;
    -webkit-text-stroke: 0.2px white;
}

nav a:hover,
nav a:focus {
    color: white;
}

/* HEADER IMAGE */
.headerImage{
    width: 100%;
    height: clamp(150px,20vw,280px);
    background-image: url("../../menuReceitas/assets/Images/Page/headerImage.png");
    background-size: cover;
    background-position: center;
}

/* GRID */
.receitas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 40px);
    width: 90%;
    max-width: 1200px;
    margin: clamp(30px, 6vw, 60px) auto;
}

/* CARD */
.card {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 30px);
    padding: clamp(15px, 3vw, 30px);
    border-radius: 20px;
    border: 3px solid white;
    background: #051330;
    position: relative;
}

/* IMAGEM FLEXÍVEL */
.card img {
    width: clamp(120px, 20vw, 200px);
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

/* LOGO */
.logo {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
}

.logo img {
    width: clamp(55px, 10vw, 70px);
    height: clamp(55px, 10vw, 70px);
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

/* CONTEÚDO */
.info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info h2 {
    font-size: clamp(18px, 2.5vw, 26px);
    color: white;
    font-family: "Pixelify Sans", sans-serif;
    margin-bottom: 10px;
}

.info h3 {
    margin-bottom: 5px;
}

.subtitulo {
    font-weight: bold;
    font-size: 14px;
    color: white;
    font-family: "Pixelify Sans", sans-serif;
}

.lista {
    padding-left: 20px;
    line-height: 1.5;
    color: white;
    font-family: "Pixelify Sans", sans-serif;
    text-align: left;
}

/* CARD 3 FULL WIDTH */
#inGame {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

#inGame img {
    width: clamp(200px, 40vw, 450px);
}

#inGame h3,
#inGame p {
    font-family: "Pixelify Sans", sans-serif;
}

#inGame .info{
    max-width: 500px;
}

/* BLOCOS */
.bloco {
    padding: 10px;
    border-radius: 8px;
    color: white;   
    padding: 8px 10px;
}

/* FOOTER */
.footerDoSite {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: clamp(20px, 5vw, 40px);
    background: rgb(0, 6, 20);
}

.footerDoSite section {
    flex: 1 1 250px;
}

.about p {
    text-align: justify;
}

.turma p,
.integrantes p {
    text-align: center;
}

.footerDoSite h3 {
    color: yellow;
    text-align: center;
    font-family: "Pixelify Sans", sans-serif;
    -webkit-text-stroke: 0.1px white;
}

.footerDoSite p {
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
}

.highlight h3,
.highlight p {
    animation: piscarTexto 1s ease-in-out ;
}

@keyframes piscarTexto {

    0% {
        -webkit-text-stroke: 0.1px white;
        text-shadow: none;
    }

    50% {
        -webkit-text-stroke: 0.1px white;
        text-shadow: 0 0 5px yellow, 0 0 5px yellow;
    }

    100% {
        -webkit-text-stroke: 0.1px white;
        text-shadow: none;
    }

}

/* TABLET */
@media (max-width: 900px) {
    .receitas {
        grid-template-columns: 1fr;
    }
}

/* CELULAR */
@media (max-width: 600px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        transform: translate(35%, -35%);
    }

    .logo img {
        width: 65px;
        height: 65px;
    }

    nav span {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}