@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

/* variaveis */

:root {
    --laranja: #ff7300;
}

/* barra de scroll */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    width: 8px;
    background-color: var(--laranja);
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.preload {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ff6700;
    z-index: 2;

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

.preload .ball {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;

    animation: efeito 0.5s infinite;
}

@keyframes efeito {
    0% {
        box-shadow: 0 0 0 0 #fff;
    }
    100% {
        box-shadow: 0 0 0 15px rgb(255, 255, 255, 0.3);
    }
}

body {
    background: url('../imgs/bg.webp?v=1.0.1') no-repeat;
    background-position: center;
}

body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000066;
    z-index: -1;
}

/* header */

header {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #00000080;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

li a i{
    color: #fff;
    cursor: pointer;
    transition: .3s ease-in-out;
}

@media (min-width: 700px){
    html, body {
        padding-top: 20px;
    }
  	
    header {
        top: 0;
    }
    header ul {
        width: 50%;
    }
    li a i:hover {
        font-size: 20px;
    }
}

/* começo */
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header .logo {
    width: 350px;
    margin: 20px 0 10px 0;
}

.header p {
    font-size: 2rem;
    color: var(--laranja);
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

/* calculadora */

.calc-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

form {
    background-color: #ffffff07;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 2px 5px 12px 7px #00000077;
    padding: 20px 24px;
}

fieldset {
    border: 4px solid var(--roxo);
    border-radius: 12px;
    height: 100%;
    padding: 20px 24px;
    width: 100%;
}

legend {
    border-radius: 8px;
    padding: 10px 20px;
    text-align: center;
    color: white;
    font-weight: 700;
  }

.inputBox {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.inputBox input {
    background: none;
    border: none;
    border-bottom: 2px solid #7a2c8d;
    outline: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    width: 100%;
}

.inputLabel{
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: linear .3s;
    color: white;
}

.inputBox input:focus ~ .inputLabel,
.inputBox input:valid ~ .inputLabel {
    top: -20px;
    font-size: 12px;
    color: var(--roxo);
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.buttons button {
    font-size: 16px;
    padding: 4px 12px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease-out;
    &:hover {
        transform: scale(.95);
    }
}

#calcularBtn {
    background-color: #5b28c8;
}

#limparBtn {
    background-color: #f1451a;
}

#resultado {
    display: none;
}

#resultado.active {
    display: block;
    border: 2px dashed var(--roxo);
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/* parceiros */

.banners {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
    width: calc(100% - 10%);
}

h1 {
    font-size: 2rem;
    /*background: linear-gradient(to right, #4a1058 ,30%, #ffffff);*/
    -webkit-background-clip: text;
    color: #fff;
    position: relative;
}

.imagens {
    display: flex;
    flex-wrap: wrap;
    background-color: #00000080;
    border-radius: 7px;
    align-items: center;
    justify-content: space-around;
    padding: 5px 0;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding: 10px 20px;
    transition: all .4s ease-out;
}

.banner:hover {
    transform: scale(1.04);
}

.banner a {
    width: 70px;
}

.banner img {
    width: 100%;
    border-radius: 20px;
}

/* update text */

.update-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.update-text .container {
    background-color: var(--laranja);
    border-radius: 20px;
    display: flex;
    text-align: center;
    padding: 20px 5px;
    font-size: 1rem;
    gap: 12px;
    color: white;
}

/* games */

#gameResults {
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.game {
    background-color: transparent;
    box-shadow: 2px 5px 12px 7px #00000077;
    border-radius: 0 0 5px 5px;
    width: 150px;
    height: 300px;
    gap: 10px;
    padding: 0 0 15px 0;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.game p {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.game img {
    width: 100%;
    height: 175px;
  	margin-bottom: 10px;
}

.game .loading-bar {
    width: 130px;
    height: 12px;
    background-color: #ffffff9f;
    border-radius: 7px;
  	margin: auto;
}

.game .loading-bar .loading-bar-inner {
    width: 100%;
    height: 12px;
    border-radius: 7px;
}

.header .logo {
    max-width: 80%;    
}

#gameResults {
    grid-template-columns: repeat(auto-fill, 175px);
}

.game {
    height: auto;
    width: 100%;
  	position: relative;
    align-self: stretch;
}

.game p {
    font-size: 15px;
}

#aposta_sugerida {
    width: 92%;
    margin: 10px auto 0;
    border-radius: 15px;
    background-color: rgba(0,0,0, .3);
    text-align: center;
    padding: 10px 5px;
    font-size: 13px;
}

#aposta_sugerida span {
    display: block;
    margin-bottom: 7px;
}

.update-text .container {
    align-items: center;
    max-width: 80%;
    padding: 20px 15px;
}

.distribution {
	position: absolute;
  	right: 0;
  	top: 0;
  	padding: 5px 10px;
  	font-size: 14px;
  	background-color: rgba(0,0,0,.6);
    border-radius: 5px 0 0 5px;
}

@media(max-width:700px) {
  body {
  		background-position: 52%;
  	}
}
@media(max-width:374px) {
    .banner {
        padding: 2vw 4vw;
    }
    .banner a {
        width: 18vw;
    }
    h1 {
        font-size: 8vw;
    }
    #gameResults {
        grid-template-columns: repeat(auto-fill, 44vw);
    }
}