@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* Estilização global */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    font-family: "Raleway", sans-serif;
    background-image: url(imgs/background.jpg);
    background-size: cover;
    background-attachment: fixed;
}

/* Estilização dos elementos específicos */

/* Cabeçalho */
nav {
    background-color: #1E2328;
    height: 60px;
    width: 100%;
    padding: 0px 20px;
    position: fixed;
    z-index: 2;
    top: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul li {
    list-style: none;
    padding: 0;
}

.logo {
    flex: 15%;
}

.navSearchBar {
    display: flex;
    justify-content: center;
    flex: 85%;
}

header {
    height: 150px;
    /* margin: 65px 0px; */
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #ffffff;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin-top: 130px;
}

/* Estilo da search bar */
.searchBar {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    border-radius: 50px;
    height: 40px;
    padding: 0 20px;
    transform: translateX(-147px);
}

.searchInput {
    font-family: "Raleway", sans-serif;
    margin-left: 8px;
    outline: none;
    border: none;
    background: transparent;
    width: 350px;
}

.searchInput::placeholder {
    color: #00000080;   
}

/* Section principal do site */
section {
    margin-top: 100px;
}

/* Div que recebe os cards */
.cardsContainer {
    width: 100%;
    height: 1000px;
    display: flex;
    column-gap: 40px;
    row-gap: 40px;
    padding: 0px 100px;
    flex-flow: row wrap;
    justify-content: space-evenly;
    filter: brightness(100%), blur(0px);
    transition: 0.5s;
}

/* Estilos para o corpo do card */
.card_box {
    width: 300px;
    height: 400px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: transparent;
    z-index: 0;
    box-shadow: rgba(0, 0, 0, 0.6) 5px 5px 20px;
    transition: all .2s;
}

.card_box:hover {
    transform: translateY(-2em);
    transform: scale(1.1);
    cursor: pointer;
}



/* Container dos textos do card */
.name_titleBox {
    border-radius: 0px 0px 6px 6px;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, .40);
    height: 80px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
}

/* Estilos para o nome do campeão */
.name_box {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    padding-left: 15px;
    text-shadow: 2px 2px #1E2328;
}

/* Estilos para o título do campeão */
.title_box {
    padding: 8px 8px 8px 15px;
    text-transform: capitalize;
    font-size: 1.5rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 5px;
}

/* Estilos para a imagem do campeão */
.art_box {
    width: 300px;
    height: 400px;
    position: absolute;
    z-index: -1;
    clip-path: fill-box;
    border-radius: 6px;
}

.art_box img {
    transform: translateX(-10%);
    width: 380px;
    height: 400px;
    transition: ease-in 0.2s;
}

/* Estilos para a descrição/lore do campeão */
.lore_box {
    font-size: 14px;
    line-height: 1.5;
}

/*Estilos do card PopUp*/

/* Container do popup */
.cardPopup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-20%);
}

/*Conteúdo do popup*/
.popupContent {
    z-index: 0;
    color: #f5f5f5;
    margin: 15% auto;
    background: transparent;
    width: fit-content;
    border-radius: 6px;
}

/* Splash-art */
.popupContent img {
    border-radius: 10px;
    position: absolute;
    z-index: -1;
    width: 1000px;
    height: 590px;
}

/* Caixa de texto */
.popupText {
    width: 1000px;
    height: 590px;
    padding: 20px 20px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: end;
    background-color: rgba(0, 0, 0, 0.25);
    text-shadow: 2px 2px black;
    border-radius: 10px;
}

/* Nome do Campeão */
.popupText h2 {
    font-size: 5rem;
}

/* Título */
.popupText h3 {
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.2rem;
}

/* Lore */
.popupText p {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Tags */
.popupText h4 {
    font-size: 2rem;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Dificuldade */
.popupText span {
    font-size: 2rem;
    font-weight: 500;
}
