@import url('https://fonts.googleapis.com/css2?family=Calistoga&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?&family=Roboto&family=Merriweather&family=Alex+Brush&family=Great+Vibes&family=Lobster&family=Pacifico&display=swap');

body {
    font-size: 16px;
    font-family: Fustat, Roboto, Arial, Tahoma;
    font-weight: 500 !important;    
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Calistoga, Roboto, Arial, Tahoma;
    font-weight: 400 !important;
}

h1 .label, h2 .label, h3 .label, h4 .label, h5 .label, h6 .label {
    font-family: Fustat, Roboto, Arial, Tahoma;
}

a {
    color: #4a55e0;
}

a.default {
    color: initial;
    text-decoration: initial;
}

.background {
    position: absolute;    
    background-image: url('imagens/background.png');
    background-attachment: fixed;
    background-size: contain;
    background-position: center;
    z-index: 9;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transition: opacity 5s ease;
}

.degrade {
    position: absolute;
    background: linear-gradient(135deg, #E1764A, #4A56E0);
    background-size: 300% 300%;
    animation: colors 10s ease infinite;
    z-index: 8;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.btn {
    text-wrap: balance;
}

.btn-primary {
    background-color: #4a55e0;
    border-color: #4a55e0;
}

.btn-primary.btn-link {
    background-color: transparent;
    border-color: transparent;
}

.center {
    text-align: center;
}

.footer {
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    color: #FFF;
    text-align: center;
}

.footer img {
    height: 20px;
}

.container {
    position: relative;
}

.container.session {
    position: absolute;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    top: 100%;
    left: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 2s ease;
    padding: 50px 0;
}

.container.session.active {
    top: 0;
}

.container.session .col-md-8 {
    background: #FFF;
    border-radius: 10px;
    box-shadow: 10px 10px 10px #777;
    max-height: calc(100vh - 100px);
    overflow-x: hidden;
    overflow-y: auto;
}

#etapa-5.container.session .col-md-8 {
    width: 706px;
}

.container.session .alert {
    margin: 30px 0;
}

.container.session form {
    background-color: #EEE;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.container.session form .form-group {
    margin-bottom: 0;
}

.container.session form button, .container.session form a {
    margin-top: 30px;
}

.container.session form .waggle {
    animation: waggle 1s 0s forwards ease-out;
}

.container.session form input#foto {
    display: none;
}

.navbar .container .row {
    display: flex;
}

#home p {
    max-width: 100vw;
    color: #FFF;
}

#home h2, #home h3 {
    max-width: 100vw;
    color: #FFF;
    text-shadow: 10px 10px 10px #777;
}

#home h2{
    font-size: 3rem;
}

#home h3 {
    font-size: 9rem;
}

#home .mobile h2 {
    font-size: 2rem;
}

#home .mobile h3 {
    font-size: 5rem;
}

#home a {
    margin-top: 30px;
}

#home .mobile {
    display: none;
}

ul#escolha-modelos {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

ul#escolha-modelos li {
    width: calc(33% - 9px);
    cursor: pointer;
}

ul#escolha-modelos li:hover, ul#escolha-modelos li.active {
    scale: 1.03;
}

ul#escolha-modelos li.not-selected {
    opacity: 0.4;
}

ul#escolha-modelos li img {
    max-width: 100%;
}

.imagem-gerada {
    display: none;
}

.imagem-gerada.active {
    display: block;
}

body.mobile .background {
    opacity: 0;
}

body.mobile #home .desktop {
    display: none;
}

body.mobile #home .mobile {
    display: block;
}

@keyframes waggle {
    0% {
      transform: none;
    }
    50% {
      transform: rotateZ(-20deg) scale(1.2);
    }
    60% {
      transform: rotateZ(25deg) scale(1.2);
    }
    67.5% {
      transform: rotateZ(-15deg) scale(1.2);
    }
    75% {
      transform: rotateZ(15deg) scale(1.2);
    }
    82.5% {
      transform: rotateZ(-12deg) scale(1.2);
    }
    85% {
      transform: rotateZ(0) scale(1.2);
    }
    100% {
      transform: rotateZ(0) scale(1);
    }
}

@keyframes colors {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}

@media screen and (max-width: 800px) {

    .background {
        opacity: 0;
    }

    #home .desktop {
        display: none;
    }
    
    #home .mobile {
        display: block;
    }

}