.if-advent-calendar { display: flex; flex-direction: row; gap: 130px; align-items: center; } .if-advent-cal-blocks.unlocked .lock { display: none; } div#modal-content-text a { color: #bfff38; text-decoration: underline; } .if-advent-cal-blocks.opened { cursor: pointer; } .if-advent-cal-cols { flex: auto; } div#modal-content-text { width: 329px; position:relative; z-index:1; } div#modal-body { position: relative; z-index: 1; } .if-advent-cal-left-col { width:47%; } .if-advent-cal-left-col h2 { color: #fff; font-family: "Robontov2", Sans-serif; font-size: 40px; line-height: 48px; margin: 0 0 16px; } .if-advent-cal-left-col p { font-size: 18px; color: #fff; line-height: 21.6px; margin: 0; } .if-advent-cal-left-col form { display: flex; gap: 4px; margin-top: 32px; } .if-advent-cal-left-col form input { background-color: #F4F4F4; color: #132239; font-size: 18px; font-weight: 500; height: 56px; border-radius: 4px; outline: none; } .if-advent-cal-left-col form input::placeholder { color: #132239; font-weight: 500; } .if-advent-cal-left-col form button { background-color: #BFFF38; border-radius: 4px; border: none; min-width: 64px; display: flex; align-items: center; justify-content: center; outline: none; } .if-advent-cal-left-col form button:hover, .if-advent-cal-left-col form button:focus { background-color: #a4df29; } .if-advent-cal-right-col { display: grid; flex-flow: wrap; gap: 10px; width: 63%; grid-template-columns: repeat(5, 1fr); } .if-advent-cal-blocks { width: 95px; height: 95px; position: relative; } .if-advent-cal-blocks.unlocked { cursor: pointer; } .if-advent-cal-blocks .lock { position: absolute; top: 3px; line-height: 0; left: 3px; } .if-advent-cal-block-bg img { border-radius: 8px !important; width:100%; } .if-advent-cal-blocks h4 { position: relative; height: 100%; margin: 0; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 32px; font-weight: 700; } .if-advent-cal-blocks { border-radius: 8px; } .if-advent-cal-blocks.light-blue-bg { background-color: #7270ff; } .if-advent-cal-blocks.dark-blue-bg { background-color: #4a2dbe; } .if-advent-cal-blocks.green-bg { background-color: #bfff38; } .green-text h4 { color: #BFFF38; } .blue-text h4 { color: #7270FF; } .light-green-text h4 { color: #A9DD39; } .if-advent-cal-left-col span.logged-in-info { color: #fff; font-size: 15px; line-height: 19.2px; } .if-advent-cal-left-col span.logged-in-info strong { font-weight: 400; color: #A9DD39; } .if-advent-cal-left-col .logout-container button { border-radius: 25px; background-color: #FFFFFF1A; border: none; color: #fff; height: 32px; font-size: 12px; line-height: 14.4px; transition-duration: 0.3s; outline: none; margin-left: 10px; padding: 0 13px; } .if-advent-cal-left-col .logout-container button img { vertical-align: sub; padding-right: 5px; } .if-advent-cal-left-col .logout-container button:hover { background-color: #4a2dbe; } .if-advent-cal-left-col .logout-container { margin-bottom: 32px; } .if-advent-cal-block-bg img.check_icon, .if-advent-cal-block-bg img.bg_opened, .if-advent-cal-blocks.opened img.bg_default, .if-advent-cal-blocks.opened .lock { display: none; } .if-advent-cal-blocks.opened img.check_icon, .if-advent-cal-blocks.opened img.bg_opened, .if-advent-cal-blocks.opened .if-advent-cal-block-bg { display: block !important; } .if-advent-cal-blocks.opened img.check_icon { width: 40px; position: absolute; right: 0; margin: auto; left: 0; top: 0; bottom: 0; } .if-advent-cal-blocks.opened h4 { line-height: 20px; color: #fff; align-items: flex-end; justify-content: flex-end; font-size: 20px; padding: 8px; } .if-advent-cal-blocks.opened.light-blue-bg, .if-advent-cal-blocks.opened.dark-blue-bg, .if-advent-cal-blocks.opened.green-bg { background-color: #0f0f0f !important; } .if-advent-cal-block-bg { position: absolute; line-height: 0; left: 0; right: 0; top: 0; bottom: 0; } .if-advent-cal-blocks.opened .if-advent-cal-block-bg { border: 1px solid #FFFFFF33; border-radius: 8px; } /*modal css*/ #modal { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0, 0, 0, 0.8); justify-content:center; align-items:center; transition: opacity 0.4s ease, visibility 0.4s ease; /* Fade in/out effect */ } /* Hidden state */ #modal.modal-hidden { opacity: 0; visibility: hidden; } /* Visible state */ #modal.modal-visible { opacity: 1; visibility: visible; } #modal.modal-visible #modal-content { transform: translateY(0); /* Slide into view */ } #modal.modal-hidden #modal-content { transform: translateY(-100%); /* Slide out of view */ } #modal-content { margin: auto; padding: 32px 20px 0; background: #000; width: 80%; max-width: 608px; text-align: center; position: relative; border: 1px solid #BFFF384D; box-shadow: 0px 0px 40px 0px #BFFF3833; border-radius: 16px; height: 433px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; transform: translateY(100%); /* Start off-screen */ transition: transform 0.4s ease; /* Smooth slide */ } .modal-bg-animation { position: absolute; } .modal-image-wrap { line-height: 0; } .modal-gift-wrap { position: absolute; bottom: 0; left: 0; right: 0; } .modal-gift-wrap img { max-width: 335.04px !important; width:100%; } .modal-bg-animation { height: 100%; position: absolute; top: 0; bottom: 0; z-index: 0; } div#modal-body h2 { font-family: "Robontov2", sans-serif; font-size: 24px; line-height: 28.8px; color: #fff; margin: 0px 0 0; } div#modal-content-text h4 { font-family: "Robontov2", sans-serif; font-size: 24px; line-height: 28.8px; color: #BFFF38; margin: 6px auto; } div#modal-content-text p { font-size: 16px; line-height: 19.6px; color: #fff; margin: 8px 0 0; } dotlottie-player#lottie-animation { position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto; } #modal-close { position: absolute; top: 12px; right: 12px; cursor: pointer; color: #FFFFFF80; font-size: 25px; font-weight: 400; border-radius: 60%; display: flex; justify-content: center; align-items: center; z-index: 2; line-height: normal !important; } /*modal css*/ @media only screen and (max-width: 1024px) { .if-advent-cal-blocks { width: 85px; height: 85px; } .if-advent-calendar { gap: 70px; } } @media only screen and (max-width: 900px) { .if-advent-calendar { gap: 24px; flex-direction: column; } .if-advent-cal-left-col { width: 63%; } .if-advent-cal-blocks h4 { position: absolute; left: 0; right: 0; top: 0; bottom: 0; } .if-advent-cal-blocks { width: 100%; height: auto; padding-top: 100%; } } @media only screen and (max-width: 480px) { .if-advent-cal-left-col { width: 100%; } .if-advent-cal-right-col { width: 100%; gap: 7px; } .if-advent-cal-left-col h2 { font-size: 28px; line-height: 33.6px; } .if-advent-cal-left-col .logout-container { margin-bottom: 16px; } .if-advent-cal-left-col p { font-size: 16px; line-height: 19.2px; } .if-advent-cal-left-col form { margin-top: 16px; } .if-advent-cal-blocks h4 { font-size:24px; } .if-advent-cal-blocks.opened h4 { line-height: 14px; font-size: 14px; } .if-advent-cal-blocks.opened img.check_icon { width: 24px; } dotlottie-player#lottie-animation { width: 100% !important; } #modal-content { overflow: hidden; } .modal-image-wrap { margin: 0 -40px; } #modal-close { top: 10px; right: 10px; z-index: 2; } #modal-content { width:94%; } }