@import url('https://use.typekit.net/tsw0xiy.css'); :root { --color-orange: #FF9263; --color-blue: #2E70FF; --color-cream: #F9F5E3; --color-purple: #474483; --color-light-gray: #F6F6F6; --color-sky-blue: #90D4FF; --color-yellow: #FFC23D; --color-crema-tenue: #F7F0D5; --color-crema-fuerte: #F4EBC8; --font-headings: 'IvyJournal', serif; --font-body: Arial, sans-serif; } .bg-green {background-color: #4BA759 !important;} .bg-orange {background-color: #FF8138 !important;} .bg-blue {background-color: var(--color-blue) !important;} .d-flex { display: flex; } .f-j-center { justify-content: center; } .f-a-center { align-items: center; } .f-col { flex-direction: column; } body.page-index { background-color: #FFEEDD; } html, body { font-family: var(--font-body); margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; } .container { width: 100%; } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(43, 43, 43, 0.5); z-index: 10; display: none; } /* ad sections */ .ad-section { width: 100%; display: flex; justify-content: center; align-items: center; } .ad-container { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0px; width: 328px; height: 184px; margin: 30px auto; } .ad-container img { width: 100%; height: 100%; object-fit: cover; } @media (min-width:1000px) { .ad-container { width: 541.5px; height: 302.75px; } } /* header */ .header-menu { width: 100%; height: 50px; position: fixed; top: 0; left: 0; background: #F46433; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; box-sizing: border-box; } .header-menu>a:first-child { flex: 0 0 auto; } .header-menu>a:nth-child(2) { flex: 1; text-align: center; display: flex; justify-content: center; align-items: center; } .menu-icon { flex: 0 0 auto; width: 30px; height: 20px; cursor: pointer; } .logo-header { width: 40px; height: 40px; display: block; z-index: 1000000; } .title-header { width: 195.63px; height: 15px; display: block; } /* Overlay */ .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 99998; display: none; opacity: 0; transition: opacity 0.3s ease; } /* Menú container con animación */ .menu-container { display: none; flex-direction: column; align-items: center; padding: 10px 0; gap: 50px; position: fixed; width: 100%; height: 100vh; top: 0; right: 0; background: #F46433; z-index: 99999; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease-out; scrollbar-width: none; -ms-overflow-style: none; } /* Oculta el scrollbar en WebKit */ .menu-container::-webkit-scrollbar { display: none; width: 0; height: 0; } .menu-container.active { transform: translateX(0); } .menu-overlay.active { display: block; opacity: 1; } .menu-container-header { width: 100%; display: flex; justify-content: center; position: relative; } .menu-container-title { width: 134.82px; height: 35.59px; } .menu-close-icon { width: 30px; height: 30px; position: absolute; right: 15px; top: 0; cursor: pointer; } .details-container { display: flex; flex-direction: column; align-items: flex-start; padding: 0px; margin: 0 30px; width: 280px; height: 100px; align-self: flex-start; } .details-container summary { position: relative; list-style: none; width: 100%; height: 20px; font-family: var(--font-main); font-style: normal; font-weight: 700; font-size: 20px; line-height: 28px; color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; padding-right: 40px; } .details-container summary::after { width: 19.93px; height: 20px; content: url(../../img/details-arrow.svg); display: inline-block; transition: transform 0.3s ease; } details[open]>summary::after { transform: rotate(180deg); } .menu-list { padding-left: 10px; } .menu-list li { list-style: none; margin: 20px 0; } .menu-link { width: 250px; height: 22px; font-family: var(--font-main); font-style: normal; font-weight: 300; font-size: 16px; line-height: 22px; color: #FFFFFF; text-decoration: none; transition: color 0.2s ease; } .ornage-line { width: 280px; height: 0px; border: 0.5px solid #FFDA56; margin: 30px 0; } .menu-container-logo { display: flex; flex-direction: column; justify-content: flex-end; width: 129.04px; height: 200px; flex-shrink: 0; box-sizing: border-box; } .menu-container-logo img { width: 100%; height: auto; display: block; } @media (min-width:1000px) { .header-menu { padding: 0px 128px; height: 84px; } .logo-header { width: 70px; height: 70px; } .menu-icon { width: 38px; height: 25px; } .title-header { width: 522px; height: 40px; } .menu-container { padding: 0px 50px; gap: 83.33px; width: 600px; } .menu-container-header { margin-top: 35px; display: flex; flex-direction: row; align-items: flex-start; gap: 130px; height: 85px; } .menu-container-title { width: 224.69px; height: 59.31px; } .menu-close-icon { width: 50px; height: 50px; right: 0; } .details-container { width: 473px; height: auto; margin: 0 50px; } .details-container summary { padding: 0; justify-content: flex-start; gap: 33.33px; width: 466.67px; height: 33.33px; font-style: normal; font-weight: 700; font-size: 30px; line-height: 42px; } .details-container summary::after { width: 33.21px; height: 33.33px; } .ornage-line { width: 466.67px; height: 0px; border: 0.833333px solid #FFDA56; margin: 50px 0; } .menu-container-logo { width: 215.07px; } } /* footer */ .footer { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 20px 0px; gap: 50px; position: relative; width: 100%; height: 200px; background: #1E1E1E; } .footer-content { display: flex; flex-direction: column; align-items: center; padding: 0px; gap: 12px; margin: 0 auto; width: 193px; height: 115px; } .footer-content-image { width: 40px; height: 40px; } .footer-content-title { width: 161px; height: 14px; font-family: var(--font-main); font-style: normal; font-weight: 400; font-size: 10px; line-height: 14px; text-align: center; color: #FFFFFF; } .footer-share-icons { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0px; gap: 20px; } .footer-share-icons img { width: 14px; height: 14px; } .footer-share { width: 193px; height: 17px; font-family: var(--font-main); font-style: normal; font-weight: 700; font-size: 12px; line-height: 17px; text-align: center; color: #FFFFFF; } .footer-image { margin: 0 auto; width: 85px; height: 20px; } @media (min-width:1000px) { .footer { padding: 40px 0px; width: 100%; height: 400px; } .footer-content { width: 385px; height: 242px; } .footer-content-image { width: 80px; height: 80px; } .footer-content-title { width: 385px; height: 34px; font-style: normal; font-weight: 400; font-size: 24px; line-height: 34px; } .footer-share-icons { padding: 0px; gap: 40px; width: 324px; height: 30px; } .footer-share-icons img { width: 28px; height: 28px; } .footer-share { width: 289.5px; height: 42px; font-style: normal; font-weight: 700; font-size: 30px; line-height: 42px; } .footer-image { width: 127.5px; height: 30px; } } /* Cover section */ .cover-recetas { width: 100%; height: 560px; background-image: url('../img/00_portada_home.gif'); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; margin-top: 50px; flex-direction: column; justify-content: flex-end; padding: 0px; gap: 149px; position: relative; } .ag-cover-receta { position: absolute; width: 130px; height: 30px; left: calc(50% - 130px/2); top: 379px; } .title-cover-receta { position: absolute; width: 297px; height: 68px; left: calc(50% - 297px / 2 + 0.5px); top: 420.38px; } .arrow { width: 56px; height: 56px; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); z-index: 4; cursor: pointer; } /* Share section */ .share-container { margin-top: 20px; display: flex; flex-direction: row; align-items: center; padding: 0px; gap: 20px; width: 204px; height: 20px; } body.page-index .share-container { width: 328px; } .share-icons { display: flex; flex-direction: row; align-items: flex-end; padding: 0px; gap: 30px; width: 109px; height: 20px; } .share-socila-icon { cursor: pointer; } /* Content section */ .home-content-container { margin-top: 30px; display: flex; flex-direction: column; padding: 0px; gap: 10px; width: 328px; height: auto; } .home-content-container h1 { width: 328px; font-family: 'IvyEpic'; font-style: normal; font-weight: 800; font-size: 20px; line-height: 28px; text-transform: uppercase; color: #F46433; } .home-content-container p { font-family: 'IvyEpic'; font-style: normal; font-weight: normal; font-size: 18px; line-height: 28px; color: #9E3A2F; } .home-content-container h2 { font-family: 'IvyEpic'; font-style: normal; font-weight: 800; font-size: 18px; line-height: 28px; color: #9E3A2F; } /* Card section */ .cards-container { width: 328px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 30px; } .card-home { text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; padding: 0px; width: 100%; height: 490px; filter: drop-shadow(0px 3px 8px rgba(0, 0, 0, 0.24)); border-radius: 10px; } .card-home-img { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 33.02px; isolation: isolate; width: 100%; height: 440px; border-radius: 10px 10px 0px 0px; } .card-home-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0px; width: 328px; height: 50px; background: #FFC23D; border-radius: 0px 0px 10px 10px; font-family: 'IvyEpic'; font-style: normal; font-weight: 700; font-size: 16px; line-height: 22px; text-align: center; text-transform: uppercase; color: #FFFFFF; text-decoration: none; } /* Ad section */ .ad-3-container { margin-top: 30px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; padding: 20px 0px; row-gap: 20px; width: 100%; height: 360px; } .ad-3-container img { width: 100%; height: 100%; object-fit: cover; } /* Go back section */ .go-back-ag { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0px; gap: 10px; width: 100%; height: 100px; } .go-back-ag-conten { display: flex; align-items: center; gap: 10px; width: auto; height: 22px; } .go-back-ag-conten img { width: 20px; height: 20px; } .go-back-ag-conten a { text-decoration: none; font-family: 'IvyEpic', sans-serif; font-style: normal; font-weight: 400; font-size: 16px; line-height: 22px; color: #9E3A2F; display: flex; align-items: center; gap: 10px; } /* Responsive styles */ @media (min-width:1000px) { .cards-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 884px; } .card-home { width: 428px; height: 640px; } .card-home-img { height: 570px; } .card-home-bottom { width: 428px; } .cover-recetas { width: 1440px; height: 795px; } .ag-cover-receta { width: 260px; height: 60px; left: calc(50% - 260px/2 - 10px); top: 565px; } .title-cover-receta { width: 415px; height: 100px; left: calc(50% - 415px/2 + 0.5px); top: 640px; } .arrow { height: 60px; width: 60px; bottom: 1px; } .home-content-container { width: 884px; } .home-content-container h1 { line-height: 42px; } .share-container { width: 884px; } body.page-index .share-container { width: 884px; } .ad-3-container { width: 580px; height: 580px; } .go-back-ag-conten a { font-size: 22px; line-height: 31px; } .go-back-ag-conten img { width: 40px; height: 40px; } }