* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #e6e5f2;
}

header {
    background-color: #141122;
}

/* PARTE DE ARRIBA */


nav {
    top: 0;
    z-index: 1000;
}


.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    border-top: 1px solid #2c2c2c;
    border-bottom: 1px solid #2c2c2c;
    background-color: #141122;
}

.nav-left,
.nav-right {
    width: 220px;
    height: 100%;
}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box img {
    height: 70px;
    width: auto;
    display: block;
}


.main-nav {
    background-color: #141122;
    border-bottom: 1px solid #2c2c2c;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    padding: 18px 20px;
    margin: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: #617ebc;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s;
}


#about_preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 30px;
}


#about_preview img {
    width: 500px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.about_text {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about_text h1 {
    color: #2f2951;
    margin: 0;
    font-size: 52px;
    line-height: 1.1;
    font-family: 'Permanent Marker', cursive, sans-serif;
}

.about_text h1 span{
    margin: 0;
    color: #617ebc;
    font-size: 52px;
    line-height: 1.1;
    font-family: 'Permanent Marker', cursive, sans-serif;
}

.about_text p {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    color: #2f2951;
    text-decoration: none;
    border-radius: 8px;
}

.about_btn {
    display: inline-block;
    width: fit-content;
    padding: 12px 24px;
    background-color: #2f2951;
    text-decoration: none;
    color: #617ebc;
    font-weight: bold;
    border-radius: 12px;
}

/* Release */

.release_preview {
    background-image: url(img/Miles\ Morales\ _\ Wallpaper.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;


    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px;
    margin-top: 80px;
    background-color: #2f2951;
}

.release_text {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 50px;
}

.release_text h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #617ebc;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.release_text h1 span{
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #fff200;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.release_text p {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    color: #617ebc;
    max-width: 900px;
}

.Comic_box {
    display: flex;
    gap: 200px;
    justify-content: center;
    margin-top: 30px;
}

.comic_item {
    text-align: center;
    max-width: 250px;
}

.comic_item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.comic_item h3 {
    margin-top: 12px;
    color: #fff200;
    font-size: 18px;
    font-weight: bold;
}

.comic_type {
    font-size: 14px;
    color: #617ebc;
    margin: 4px 0;
}

.comic_price {
    font-size: 16px;
    font-weight: bold;
    color: #fff200;
}

.release_btn {
    display: inline-block;
    width: fit-content;
    padding: 12px 24px;
    background-color: #617ebc;
    color: #fff200;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    align-self: center;
}

/* Los comics*/
.comic_preview {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px;
    margin-top: 80px;
}

.comic_text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.comic_text h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #2f2951;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comic_text h1 span {
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #617ebc;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comic_text p {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    color: #2f2951;
    max-width: 900px;
}

.comi_item {
    text-align: center;
    max-width: 250px;
}

.comi_item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}


.comi_price {
    font-size: 16px;
    font-weight: bold;
    color: #2f2951;
}

.comi_item h3 {
    margin-top: 12px;
    color: #2f2951;
    font-size: 18px;
    font-weight: bold;
}


.Graphic_preview {
    background-image: url(img/Miles\ Morales\ _\ Wallpaper.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px;
    margin-top: 80px;
}

/*Visitar*/
.visit_item2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.item_3 {
    flex: 1 1 600px;
}

.item_3 iframe {
    width: 100%;
    height: 450px;
    display: block;
    border-radius: 20px;
}

.visit_text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.visit_text h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #2f2951;
}

.visit_text p {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    color: #2f2951;
}


/*Footer*/
.footer {
    background-color: #1f1b3a;
    color: white;
    padding: 60px 40px 20px;
}

.footer_container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}


.footer_brand img {
    width: 160px;
    margin-bottom: 15px;
}

.footer_brand p {
    max-width: 300px;
    line-height: 1.6;
    color: #cfcde4;
}


.footer_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_links h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer_links a {
    text-decoration: none;
    color: #cfcde4;
    font-size: 16px;
    transition: 0.3s;
}

.footer_links a:hover {
    color: #ffffff;
}

/* El boton */
.footer_bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #3a3563;
    padding-top: 20px;
    font-size: 14px;
    color: #aaa8c7;
}



.reviews_section {
    padding: 80px 60px;
    background-color: #f5f5fa;
}

.reviews_header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews_header h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #2f2951;
}

.reviews_header span {
    color: #617ebc;
}

.reviews_header p {
    font-size: 20px;
    color: #2f2951;
}

.reviews_container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}


.review_card {
    background-color: white;
    padding: 25px;
    border-radius: 16px;
    max-width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.review_card:hover {
    transform: translateY(-5px);
}

.review_top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}


.review_avatar {
    width: 50px;
    height: 50px;
    background-color: #617ebc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}


.review_rating {
    color: #fff200;
    font-size: 16px;
}

.review_text {
    font-size: 16px;
    line-height: 1.5;
    color: #2f2951;
}


.about_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/GroupInFRTofBuilding2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.about_overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 34, 0.68);
}

.about_content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    color: white;
    animation: fade_up 0.8s ease;
}

.about_content h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 68px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.about_content h1 span {
    color: #fff200;
}

.about_content p {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #f3f1ff;
}

.about_content .about_btn {
    margin-top: 12px;
}



.story_section {
    padding: 80px 60px;
}

.story_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}


.story_image img {
    width: 500px;
    max-width: 100%;
    border-radius: 16px;
    display: block;
}


.story_content {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story_content h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 52px;
    color: #2f2951;
}

.story_content span {
    color: #617ebc;
}

.story_content p {
    font-size: 20px;
    line-height: 1.6;
    color: #2f2951;
}

/* Pagina de comics */
.comics_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/HeroPic14\ \(1\).jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.all_comics_section {
    padding: 80px 60px;
}

.all_comics_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px 28px;
    margin-top: 40px;
}

.all_comic_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.all_comic_card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.all_comic_card h3 {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    text-transform: uppercase;
}

.all_comic_card p {
    margin-top: 6px;
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}


/* Novelas graficas */
.graphic_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/HeroPic15.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

/* Juegos */
.games_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/board_games_close.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

/* Formulario */

.visit_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/comics/image-asset\ copy.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.contact_form_box {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form_row input,
.form_row textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #d6d1f0;
    border-radius: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    outline: none;
}

.form_row:first-child {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.form_row:first-child input {
    width: 50%;
}

.contact_form .release_btn {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

/* Calendario */
.events_hero {
    position: relative;
    min-height: 80vh;
    background-image: url("img/GroupInFRTofBuilding.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.calendar_embed {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
}


.footer_gif {
    margin-top: 15px;
    text-align: center;
}

.footer_gif img {
    width: 120px;
    border-radius: 10px;
}

.gif_text {
    font-size: 0.85rem;
    margin-top: 5px;
    color: #ccc;
}

/* Hover */

.carousel-inner {
    height: 750px; 
    overflow: hidden;
  }

.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


.main-nav ul li a:hover {
    color: #fff200;
    
}

.about_btn:hover {
    background-color: #fff200;
    transform: translateY(-2px);
}

.release_btn:hover {
    background-color: #fff200;
    transform: translateY(-2px);
}


.all_comics_grid img:hover {
    transform: scale(1.05);
}

.all_comic_card img:hover {
    transform: scale(1.03);
}


/* Animacion de la web */
@keyframes fade_up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform:  translateY(0)
    }
}




/*REsponsive*/

@media (max-width: 1100px) {
    .main-nav ul {
        gap: 25px;
        padding: 16px 15px;
    }

    #about_preview {
        flex-direction: column;
        text-align: center;
        padding: 0 30px;
    }

    .about_text {
        align-items: center;
    }

    .release_text,
    .comic_text {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .Comic_box {
        gap: 60px;
        flex-wrap: wrap;
    }

    .story_container {
        flex-direction: column;
        text-align: center;
    }

    .story_content {
        align-items: center;
    }

    .visit_item2 {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 900px) {
    .nav-top {
        height: auto;
        padding: 15px 0;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .logo-box img {
        height: 60px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 18px;
        padding: 15px;
    }

    .main-nav ul li a {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .carousel-inner {
        height: 500px;
    }

    .about_text h1,
    .about_text h1 span,
    .release_text h1,
    .release_text h1 span,
    .comic_text h1,
    .comic_text h1 span,
    .story_content h1,
    .reviews_header h1 {
        font-size: 40px;
    }

    .about_content h1 {
        font-size: 52px;
    }

    .about_text p,
    .release_text p,
    .comic_text p,
    .visit_text p,
    .about_content p,
    .story_content p {
        font-size: 18px;
    }

    .release_preview,
    .comic_preview,
    .Graphic_preview,
    .reviews_section,
    .story_section,
    .all_comics_section {
        padding: 40px 30px;
    }

    .comic_item img,
    .comi_item img {
        height: 300px;
    }

    .item_3 iframe {
        height: 380px;
    }

    .contact_form_box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 350px;
    }

    .about_hero,
    .comics_hero,
    .graphic_hero,
    .games_hero,
    .visit_hero,
    .events_hero {
        min-height: 60vh;
        padding: 60px 20px;
    }

    .about_content h1 {
        font-size: 42px;
    }

    .about_content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .about_text h1,
    .about_text h1 span,
    .release_text h1,
    .release_text h1 span,
    .comic_text h1,
    .comic_text h1 span,
    .story_content h1,
    .reviews_header h1,
    .visit_text h2 {
        font-size: 34px;
    }

    .about_text p,
    .release_text p,
    .comic_text p,
    .visit_text p,
    .story_content p,
    .reviews_header p {
        font-size: 17px;
    }

    .Comic_box {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .comic_item,
    .comi_item {
        max-width: 320px;
        width: 100%;
    }

    .form_row:first-child {
        flex-direction: column;
    }

    .form_row:first-child input {
        width: 100%;
    }

    .footer {
        padding: 40px 25px 20px;
    }

    .footer_container {
        flex-direction: column;
        gap: 35px;
    }

    .footer_brand,
    .footer_links {
        text-align: center;
        align-items: center;
    }

    .footer_brand p {
        max-width: 100%;
    }

    .all_comics_grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 28px 20px;
    }

    .all_comic_card h3 {
        font-size: 18px;
    }

    .calendar_embed iframe {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 12px;
        padding: 12px 10px;
    }

    .main-nav ul li a {
        font-size: 11px;
    }

    .carousel-inner {
        height: 250px;
    }

    #about_preview,
    .release_preview,
    .comic_preview,
    .Graphic_preview,
    .reviews_section,
    .story_section,
    .all_comics_section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about_text h1,
    .about_text h1 span,
    .release_text h1,
    .release_text h1 span,
    .comic_text h1,
    .comic_text h1 span,
    .story_content h1,
    .reviews_header h1,
    .visit_text h2 {
        font-size: 28px;
    }

    .about_content h1 {
        font-size: 34px;
    }

    .about_text p,
    .release_text p,
    .comic_text p,
    .visit_text p,
    .about_content p,
    .story_content p,
    .reviews_header p {
        font-size: 15px;
    }

    .comic_item img,
    .comi_item img,
    .all_comic_card img {
        height: 260px;
    }

    .item_3 iframe {
        height: 300px;
    }

    .contact_form_box {
        padding: 18px;
    }

    .form_row input,
    .form_row textarea {
        padding: 13px 14px;
    }

    .calendar_embed iframe {
        height: 380px;
    }

    .footer_brand img {
        width: 130px;
    }

    .footer_gif img {
        width: 90px;
    }
}