@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=New+Amsterdam&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
body{
    background-image: url(imgs/background.png);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: -15%;
}
/* Header da página*/
div#topo{
    display: block;
    margin: auto;
    margin-top: 0;
    padding: 0;
    text-align: center;
    align-items: center;
}
img{
    margin-top: -50px;
    padding: 0;
    margin: auto 0;
    width: 30%;
    margin-bottom: -17%;
}
h1{
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal; 
    font-size: 1.5em;
}

hr{
    width: 70%;
    margin: 10px auto;
}

/* Div de geração*/
div#gen-area{
    position: relative;
    text-align: center;
    margin: auto;
    width: 400px;
    height: 400px;
}
select{
    margin: auto;
    display: block;
    padding: 10px;
    width: 80%;
    margin-bottom: 20px;
}
a#tutorial{
    display: block;       
    margin: 18px auto 0;
    color: #e2840a;
    font-style: italic;
    font-weight: bold;
}
button{
    display: flex;
    width: 250px;
    height: 40px;
    padding: 10px;
    border-radius: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
} 
button::before{
    content: '';
    position: absolute;
    width: 250px;
    height: 20px;
    background: linear-gradient(180deg, #2a1297, #13025e);
    animation: animate 5s linear infinite;
}
@keyframes animate{
    100%{
        transform: rotate(360deg);
    }
}
button::after{
    font: normal normal 400 1.5em 'Roboto Condensed', sans-serif;
    padding-top: 1px;
    content: 'Generate';
    position: absolute;
    background-color: #ffffff;
    inset: 5px;
    border-radius: inherit;
}
button:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 20px #2c1a867c;
}
#link{
    display: none;
    padding-top: 30px;
    color: red;
    animation: palpitar 1s infinite;
    font-size: 1em;
    font-weight: bold;
    font-style: italic;
}
.naodisponivel{
    padding-top: 30px;
    color: white;
    font-size: 1em;
    font-weight: bold;
    font-style: italic;
}
@keyframes palpitar {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/*Div de Explicações*/
div#container{
    display: flex;
    margin: auto;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
}
div.card {
    width: 400px;
    height: 254px;
    border-radius: 30px;
    background: #212121;
    box-shadow: 15px 15px 30px rgb(25, 25, 25),
             -15px -15px 30px rgb(60, 60, 60);
    margin: 10px;
    position: relative;
}
div.card > p{
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal; 
    font-size: 1.5em;
    text-align: center;
    padding: 10px;
}
div.card > img{
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 300px;
    position: relative;
    top: -100px;
}

div.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #3108e67c;
}

/* Rodapé */
footer{
    text-align: center;
    font-style: italic;
    margin-top: 100px;
}

@media (max-width: 750px) {
    #container{
        flex-direction: column;
        gap: 30px;
    }
    #topo > img{
        width: 100%;
        margin-bottom: -60%;
    }
    body{
        margin-top: -50%;
    }
}