@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root{
    --texto: 'Open Sans', sans-serif;
    --cor-red: #ff4656;
    --cor-b: #fff;
    --cor-p: #1f2326;
}

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

*{
    margin: 0;
    padding: 0;
    /* border: 1px solid blue; */
}

html{
    overflow: hidden;
}

body{
    background-image: linear-gradient(242deg, rgba(255,70,86,1) 0%, rgba(31,35,38,1) 80%), url('img/background.svg');
    background-size: 400%;
    font-family: var(--texto);
}

header, main, footer{
    margin: 0 5%;
}

header{
    height: 10vh;
}

header nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.137);
}

nav a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.riot{
    font-size: 24px;
    color: var(--cor-b);
    text-decoration: none;
}

main{
    display: flex;
    height: 90vh;
}

.personagens{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    gap: 5%;
}

.personagens h1{
    font-size: 56px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--cor-b);
    color: transparent;
}

.personagens-img{
    width: 90%;
    display: flex;
    gap: 10%;
}

.persona-nome{
    text-align: center;
}

.persona{
    position: absolute;
    z-index: 1;
}

.persona-nome:hover .stroke{
    z-index: -1;
    animation: transition 1s ease forwards;
}

.stroke{
    position: relative;
    z-index: 2;
    bottom: 15px;
    right: 15px;
    opacity: 0;
}

.persona-nome p{
    padding: 5% 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--cor-red);
}

.img-principal{
    width: 40%;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    z-index: -20;
}

@keyframes transition {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 50;
    }
    100%{
        opacity: 100;
    }
}

@media (max-width:700px){
    html{
        overflow-x: hidden;
        overflow-y: scroll;
    }
    main{
        width: 100%;
        height: 100vh;
    }
    .personagens-img{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .img-principal{
        opacity: 0.5;
    }
}