*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

:root{
    --color-primary: #0A0E19;
    --color-segundary: #EF0E3D;
}
html{
    scroll-behavior: smooth;
}
body{
    background-repeat: no-repeat;
    background-attachment:  fixed;
    background-size: cover;
}
/*CABEÇALHO - HEADER*/
.header{    
    background-color: #0a0e19c2;
    height: .1em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2rem;
    position: fixed;
    z-index: 3;
    box-shadow: 0px 0px 20px 10px #0a0e199c;
}

.header img{
    height: 3em;
}

.menu ul,li,a{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all .10s;
    display: flex;
    gap: 2em;
    list-style:none;
    text-decoration: none;
    color: white;
    font-size: 17px;
}

.menu a:hover, li:hover{
    color: var(--color-segundary);
}


.back{
    position: relative;
}

.back h1{
    color: white;
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    text-shadow: 0px 0px 20px black;
}


.back1{
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    max-height: 90%;
}
.back1 img:hover{
    transform: translateY(-1rem) scale(2);
}

.back2{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    max-height: 90vh;
}



/*PARTE DO SOBRE DOS PERSONAGENS*/
.info-sobre{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5rem;
    background-color: #0A0E19;
    height: auto;
    box-shadow: 0px 0px 20px 10px #0A0E19;
}


.info-left{
    display: flex;
    flex-direction: column;
    text-align: start;
    gap:10px;
}
.info-left h1{
    color: #EF0E3D;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}
.info-left p{
    color: white;
    font-size: 25px;
}


.info-right img{
    border-radius: 35px;
    transition: all .5s;
    width: 100%;
    margin: auto auto;
    display: flex;

}
.info-right img:hover{
    transform: translateY(-0.5rem) scale(1);
}


/*PARTE ONDE FICA O SEGUNDO BLOCO SOBRE OS PERSONAGENS*/
.teia{
    display: flex;
    justify-content: space-between;
    padding: 5rem;
    gap: 9rem;
    background-color: #171e3163;
    border-radius: 25px;
    margin: 4rem auto;
    width: 90%;
    height: auto;
    box-shadow: 0px 0px 6px 7px rgba(0, 0, 0, 0.235);
}

.teia-right h1{
    color: #EF0E3D;
    font-family: 'Poppins', sans-serif;
}

.teia-right p{
    color: white;
    font-size: 25px;
}

.teia-left img{
    width: 600px;
    height: 400px;
    transition: all .5s;
}
.teia-left img:hover{
    transform: translateY(-.5rem) scale(1);
}




.movies{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EF0E3D;

}







/* CARDS DOS HERÓIS */
.main{
    background-image: url(imgs/fundo2.jpg);
    background-size: cover;
    height: auto;
    background-attachment: fixed;
    padding-left: 5em;
    padding-right: 5em;
    padding-top: 5em;
    margin: 0;

}




/* CARDS DOS HERÓIS */
.card-image {
	display: block;
	min-height: 20rem; 
	background: #fff center center no-repeat;
	background-size: cover;
	filter: blur(5px); /* DESFOQUE NAS IMAGENS */
}

.card-image > img {
	display: block;
	width: 100%;
	opacity: 0; 
}

.card-image.is-loaded {
	filter: blur(0px);
    transition: all .50s;
}
.card-image.is-loaded:hover {
    transition: all .50s;
	filter: none; /* RETIRA O DESFOQUE DA IMAGEM */
}

.card-list {
	display: block;
	margin: 1rem auto;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

.card-list h2{
    color: #EF0E3D;
    font-family: 'Marvel', sans-serif;
    font-size: 30px;
}

.card {
    background-color: #0A0E19;
    max-height: 36rem;
	display: inline-block;
	width: 100%;
	max-width: 20rem;
	margin: 1rem;
	font-size: 1rem;
	text-decoration: none;
	overflow: hidden;
	box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
	transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem 1rem #0a0e196b;
}

.card-description {
	display: block;
	padding: 1em 0.5em;
	color: white;
	text-decoration: none;
}

.card-description > h2 {
	margin: 0 0 0.2em;
}

.card-description > p {
	margin: 0;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}
















@media (max-width:1500px){
    .teia{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    .teia-left img{
        width: 800px;
        height: 500px;
    }
}




@media (max-width:1100px){
    .info-sobre{
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        padding: 2rem;
        align-items: center;
    }

    .info-left h1{
        display: flex;
        align-self: flex-start;
    }
    

    .teia{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2rem;
    }
}

@media (max-width:970px){
    .teia-left img{
        width: 500px;
        height: 300px;
        transition: all .5s;
    }

    .teia-right p{
        font-size: 20px;
    }

    
    .teia{
        padding: 2rem;
    }
}
@media (max-width:862px){
    .main{
        padding-left: .5em;
        padding-right: .5em;
        padding-top: 2em;
    }
    
    .card-list {
        display: block;
        margin: 1rem auto;
        padding: 0;
        font-size: 0;
        text-align: center;
        list-style: none;
    }
    .card {
        height: 34em;
        display: inline-block;
        width: 40%;
        margin: .5rem;
        font-size: 1rem;
    }
}

@media (max-width:740px){
    .main{
        padding-left: .5em;
        padding-right: .5em;
        padding-top: 2em;
    }
    
    .card-list {
        display: block;
        margin: 1rem auto;
        padding: 0;
        font-size: 0;
        text-align: center;
        list-style: none;
    }
    .card {
        height: 30em;
        display: inline-block;
        width: 40%;
        margin: .5rem;
        font-size: 1rem;
    }
}

@media (max-width:670px){
    .teia-left img{
        width: 420px;
        height: 250px;
        transition: all .5s;
    }
    .teia-right p{
        font-size: 17px;
    }

    .info-left p{
        font-size: 20px;
    }
    .teia{
        padding: 1rem;
    }
    .menu ul,li,a{
        font-size: 15px;
        gap: 1rem;
    }
    
    .header{
        padding: 2rem 1rem;
    }
}

@media (max-width:475px){
    .main{
        padding-left: .1em;
        padding-right: .1em;
        padding-top: 2em;
        width: 100%;
    }
    
    .card-list {
        display: block;
        margin: 1rem auto;
        padding: 0;
        font-size: 0;
        text-align: center;
        list-style: none;
    }
    .card {
        height: 28em;
        display: inline-block;
        width: 100%;
        margin: 1rem;
        font-size: 1rem;
    }
    .card-image > img {
        display: block;
        width: 40%;
        opacity: 0; 
    }
    .card-image {
        display: block;
        height: 10rem; 
    }
    
}
@media (max-width:460px){
    .teia-left img{
        width: 300px;
        height: 200px;
        transition: all .5s;
    }
    .teia-right p{
        font-size: 17px;
    }
    .info-left p{
        font-size: 15px;
    }

    .teia{
        padding: 1rem;
    }
}

@media (max-width:340px){
    .teia-left img{
        width: 200px;
        height: 100px;
        transition: all .5s;
    }

    .teia{
        padding: 1rem;
    }
    
    .teia-right p{
        color: white;
        font-size: 100%;
    }
}