커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
깃허브에서 사이트 공유 시 제대로 표시가 안돼요
1시간만에 크리스마스 디데이 캘린더 만들기 v0
1주차
북마크
김*은
댓글
17
추천
0
조회수
38
조회수
38
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


안녕하세요!

webview로 볼 때는 정상적으로 표시되는데, 깃허브에서 공유용으로 뜬 url에 접속해보니 이렇게 뜹니다 ㅠㅠ

뭐가 문제일까요?

https://haeun25.github.io/d_day_calendar/


스파르타 즉문즉답





작성한 코드 및 에러 메세지

index.html 은 이렇습니다

<html lang="en">


<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://grayson-choi.github.io/advent_calendar/">
  <meta property="og:title" content="스파르타코딩클럽 크리스마스 디데이 캘린더">
  <meta property="og:image" content="image/OGimage.png">
  <meta property="og:description" content="크리스마스까지 하루가 기다려지는 즐거움, 크리스마스 디데이 캘린더를 함께 만들어봐요!">
  <meta property="og:site_name" content="SCC Advent Calendar">
  <meta property="og:locale" content="en_US">
  <meta property="og:image:width" content="1200">
  <meta property="og:image:height" content="630">


  <title>Merry Christmas</title>
  <link rel="stylesheet" href="index.css">
  <link rel="stylesheet" href="snow.css">
  <link rel="stylesheet" href="share.css">
  <link rel="stylesheet" href="music.css">
  <link rel="stylesheet" href="countdown.css">


  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Hi+Melody&display=swap" rel="stylesheet">
</head>




<body>
  <!-- 이 곳에 뼈대 코드를 입력! -->
  <!-- HTML은 구조를 세우는 데에 사용 -->
  <div class="snow-wrap">
    <div></div>
  </div>
  <section class="grid-1">
    <div class="title flex-col item-baseline">
      <img src="image/merry.png">
      <div class="countdown">
        크리스마스까지 <span id="countdown" class="countdown">
        </span>남음 </div>
    </div>
    <div class="day-1">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">1</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-2">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">2</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-3">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">3</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-4">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">4</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-5">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">5</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-6">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">6</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-7">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">7</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-8">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">8</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-9">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">9</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-10">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">10</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-11">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">11</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-12">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">12</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-13">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">13</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-14">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">14</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-15">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">15</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-16">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">16</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-17">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">17</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-18">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">18</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-19">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">19</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-20">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">20</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-21">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">21</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-22">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">22</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-23">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">23</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
    <div class="day-24">
      <label>
        <input type="checkbox">
        <div class="door">
          <div class="front">
            <span class="date-num">24</span>
          </div>
          <div class="back"></div>
        </div>


      </label>
    </div>
  </section>
  <footer>
    <div class="flex-row">
      <button id="shareButton">공유하기</button>
      <button id="studyButton"><a href="https://spartacodingclub.kr/">만들러 가기</a></button>
    </div>
    <div class="flex-row">
      <audio class="bgm" src="carol.mp3" preload="auto" style="display: none;"></audio>
      <div class="sound"></div>
      <div class="sound stop"></div>
    </div>
    <p class="copyright">Copyright ⓒ TeamSparta All rights reserved. ☃️</p>
  </footer>
  <script src="index.js"></script>
  <script src="share.js"></script>
  <script src="music.js"></script>
  <script src="countdown.js"></script>
</body>




</html>


css 파일도 남깁니다!

body {
  background-image: URL("image/bg.png");
  background-size: cover;
  background-position: center;


  body {
    background-color: black;
    color: :white;
    font-weight: bold;
  }


  /* 그리드 설계 */
  .grid-1 {
    display: grid;
    width: 90vw;
    max-width: 900px;
    margin: 2% auto;
    z-index: 1;


    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-gap: 25px;


    grid-template-areas:
      "t        t       t"
      "d23      d20     d12"
      "d2       d14     d4"
      "d5       d22     d16"
      "d1       d7      d9"
      "d10      d11     d18"
      "d13      d3      d15"
      "d6       d17     d8"
      "d19      d24     d21";
  }




  @media only screen and (min-width: 500px) {


    .grid-1 {
      /* 너비를 기준으로 높이를 계산 */
      grid-template-columns: repeat(6, 1fr);
      grid-template-areas:
        "t     t     t     d2      d7      d8"
        "t     t     t     d4      d11     d12"
        "t     t     t     d19     d9      d13"
        "d6    d1    d24   d24     d21     d20"
        "d17   d18   d24   d24     d5      d22"
        "d3    d23   d16   d14     d10     d15";
    }


  }


  /* flex 속성 */
  .flex-row {
    display: flex;
  }


  .flex-col {
    display: flex;
    flex-direction: column;
  }


  .item-baseline {
    align-items: baseline;
  }


  .title {
    display: flex;
    align-items: baseline;
    justify-content: center;


    grid-area: t;
  }


  .title img {
    width: 90%;
    height: auto;
  }


  /* 그리드 별 배경 이미지 */
  .day-1 {
    grid-area: d1;
    background: url("image/frame/frame1.png");
    background-position: center;
    background-size: cover;


  }


  .day-1 .back {
    background-image: url("image/card/card-1.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-2 {
    grid-area: d2;
    background: url("image/frame/frame2.png");
    background-position: center;
    background-size: cover;


  }


  .day-2 .back {
    background-image: url("image/card/card-2.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-3 {
    grid-area: d3;
    background: url("image/frame/frame3.png");
    background-position: center;
    background-size: cover;


  }


  .day-3 .back {
    background-image: url("image/card/card-3.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-4 {
    grid-area: d4;
    background: url("image/frame/frame4.png");
    background-position: center;
    background-size: cover;


  }


  .day-4 .back {
    background-image: url("image/card/card-4.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-5 {
    grid-area: d5;
    background: url("image/frame/frame5.png");
    background-position: center;
    background-size: cover;


  }


  .day-5 .back {
    background-image: url("image/card/card-5.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-6 {
    grid-area: d6;
    background: url("image/frame/frame6.png");
    background-position: center;
    background-size: cover;


  }


  .day-6 .back {
    background-image: url("image/card/card-6.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-7 {
    grid-area: d7;
    background: url("image/frame/frame7.png");
    background-position: center;
    background-size: cover;


  }


  .day-7 .back {
    background-image: url("image/card/card-7.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-8 {
    grid-area: d8;
    background: url("image/frame/frame8.png");
    background-position: center;
    background-size: cover;


  }


  .day-8 .back {
    background-image: url("image/card/card-8.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-9 {
    grid-area: d9;
    background: url("image/frame/frame9.png");
    background-position: center;
    background-size: cover;


  }


  .day-9 .back {
    background-image: url("image/card/card-9.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-10 {
    grid-area: d10;
    background: url("image/frame/frame10.png");
    background-position: center;
    background-size: cover;


  }


  .day-10 .back {
    background-image: url("image/card/card-10.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-11 {
    grid-area: d11;
    background: url("image/frame/frame11.png");
    background-position: center;
    background-size: cover;


  }


  .day-11 .back {
    background-image: url("image/card/card-11.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-12 {
    grid-area: d12;
    background: url("image/frame/frame12.png");
    background-position: center;
    background-size: cover;


  }


  .day-12 .back {
    background-image: url("image/card/card-12.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-13 {
    grid-area: d13;
    background: url("image/frame/frame13.png");
    background-position: center;
    background-size: cover;


  }


  .day-13 .back {
    background-image: url("image/card/card-13.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-14 {
    grid-area: d14;
    background: url("image/frame/frame14.png");
    background-position: center;
    background-size: cover;


  }


  .day-14 .back {
    background-image: url("image/card/card-14.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-15 {
    grid-area: d15;
    background: url("image/frame/frame15.png");
    background-position: center;
    background-size: cover;


  }


  .day-15 .back {
    background-image: url("image/card/card-15.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-16 {
    grid-area: d16;
    background: url("image/frame/frame16.png");
    background-position: center;
    background-size: cover;


  }


  .day-16 .back {
    background-image: url("image/card/card-16.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-17 {
    grid-area: d17;
    background: url("image/frame/frame17.png");
    background-position: center;
    background-size: cover;


  }


  .day-17 .back {
    background-image: url("image/card/card-17.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-18 {
    grid-area: d18;
    background: url("image/frame/frame18.png");
    background-position: center;
    background-size: cover;


  }


  .day-18 .back {
    background-image: url("image/card/card-18.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-19 {
    grid-area: d19;
    background: url("image/frame/frame19.png");
    background-position: center;
    background-size: cover;


  }


  .day-19 .back {
    background-image: url("image/card/card-19.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-20 {
    grid-area: d20;
    background: url("image/frame/frame20.png");
    background-position: center;
    background-size: cover;


  }


  .day-20 .back {
    background-image: url("image/card/card-20.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-21 {
    grid-area: d21;
    background: url("image/frame/frame21.png");
    background-position: center;
    background-size: cover;


  }


  .day-21 .back {
    background-image: url("image/card/card-21.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-22 {
    grid-area: d22;
    background: url("image/frame/frame22.png");
    background-position: center;
    background-size: cover;


  }


  .day-22 .back {
    background-image: url("image/card/card-22.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-23 {
    grid-area: d23;
    background: url("image/frame/frame23.png");
    background-position: center;
    background-size: cover;


  }


  .day-23 .back {
    background-image: url("image/card/card-23.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-24 {
    grid-area: d24;
    background: url("image/frame/frame24.png");
    background-position: center;
    background-size: cover;


  }


  .day-24 .back {
    background-image: url("image/card/card-24.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  /* door styles */
  .grid-1 input {
    display: none;
  }


  label {
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;


    display: flex;
    min-height: 100%;
    width: 100%;
    height: 120px;
  }


  /* flex 속성 */
  .flex-row {
    display: flex;
  }


  .flex-col {
    display: flex;
    flex-direction: column;
  }


  .item-baseline {
    align-items: baseline;
  }


  .title {
    display: flex;
    align-items: baseline;
    justify-content: center;


    grid-area: t;
  }


  .title img {
    width: 90%;
    height: auto;
  }


  /* 그리드 별 배경 이미지 */
  .day-1 {
    grid-area: d1;
    background: url("image/frame/frame1.png");
    background-position: center;
    background-size: cover;


  }


  .day-1 .back {
    background-image: url("image/card/card-1.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-2 {
    grid-area: d2;
    background: url("image/frame/frame2.png");
    background-position: center;
    background-size: cover;


  }


  .day-2 .back {
    background-image: url("image/card/card-2.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-3 {
    grid-area: d3;
    background: url("image/frame/frame3.png");
    background-position: center;
    background-size: cover;


  }


  .day-3 .back {
    background-image: url("image/card/card-3.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-4 {
    grid-area: d4;
    background: url("image/frame/frame4.png");
    background-position: center;
    background-size: cover;


  }


  .day-4 .back {
    background-image: url("image/card/card-4.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-5 {
    grid-area: d5;
    background: url("image/frame/frame5.png");
    background-position: center;
    background-size: cover;


  }


  .day-5 .back {
    background-image: url("image/card/card-5.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-6 {
    grid-area: d6;
    background: url("image/frame/frame6.png");
    background-position: center;
    background-size: cover;


  }


  .day-6 .back {
    background-image: url("image/card/card-6.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-7 {
    grid-area: d7;
    background: url("image/frame/frame7.png");
    background-position: center;
    background-size: cover;


  }


  .day-7 .back {
    background-image: url("image/card/card-7.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-8 {
    grid-area: d8;
    background: url("image/frame/frame8.png");
    background-position: center;
    background-size: cover;


  }


  .day-8 .back {
    background-image: url("image/card/card-8.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-9 {
    grid-area: d9;
    background: url("image/frame/frame9.png");
    background-position: center;
    background-size: cover;


  }


  .day-9 .back {
    background-image: url("image/card/card-9.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-10 {
    grid-area: d10;
    background: url("image/frame/frame10.png");
    background-position: center;
    background-size: cover;


  }


  .day-10 .back {
    background-image: url("image/card/card-10.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-11 {
    grid-area: d11;
    background: url("image/frame/frame11.png");
    background-position: center;
    background-size: cover;


  }


  .day-11 .back {
    background-image: url("image/card/card-11.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-12 {
    grid-area: d12;
    background: url("image/frame/frame12.png");
    background-position: center;
    background-size: cover;


  }


  .day-12 .back {
    background-image: url("image/card/card-12.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-13 {
    grid-area: d13;
    background: url("image/frame/frame13.png");
    background-position: center;
    background-size: cover;


  }


  .day-13 .back {
    background-image: url("image/card/card-13.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-14 {
    grid-area: d14;
    background: url("image/frame/frame14.png");
    background-position: center;
    background-size: cover;


  }


  .day-14 .back {
    background-image: url("image/card/card-14.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-15 {
    grid-area: d15;
    background: url("image/frame/frame15.png");
    background-position: center;
    background-size: cover;


  }


  .day-15 .back {
    background-image: url("image/card/card-15.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-16 {
    grid-area: d16;
    background: url("image/frame/frame16.png");
    background-position: center;
    background-size: cover;


  }


  .day-16 .back {
    background-image: url("image/card/card-16.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-17 {
    grid-area: d17;
    background: url("image/frame/frame17.png");
    background-position: center;
    background-size: cover;


  }


  .day-17 .back {
    background-image: url("image/card/card-17.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-18 {
    grid-area: d18;
    background: url("image/frame/frame18.png");
    background-position: center;
    background-size: cover;


  }


  .day-18 .back {
    background-image: url("image/card/card-18.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-19 {
    grid-area: d19;
    background: url("image/frame/frame19.png");
    background-position: center;
    background-size: cover;


  }


  .day-19 .back {
    background-image: url("image/card/card-19.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-20 {
    grid-area: d20;
    background: url("image/frame/frame20.png");
    background-position: center;
    background-size: cover;


  }


  .day-20 .back {
    background-image: url("image/card/card-20.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-21 {
    grid-area: d21;
    background: url("image/frame/frame21.png");
    background-position: center;
    background-size: cover;


  }


  .day-21 .back {
    background-image: url("image/card/card-21.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-22 {
    grid-area: d22;
    background: url("image/frame/frame22.png");
    background-position: center;
    background-size: cover;


  }


  .day-22 .back {
    background-image: url("image/card/card-22.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-23 {
    grid-area: d23;
    background: url("image/frame/frame23.png");
    background-position: center;
    background-size: cover;


  }


  .day-23 .back {
    background-image: url("image/card/card-23.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  .day-24 {
    grid-area: d24;
    background: url("image/frame/frame24.png");
    background-position: center;
    background-size: cover;


  }


  .day-24 .back {
    background-image: url("image/card/card-24.png");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }


  /* door styles */
  .grid-1 input {
    display: none;
  }


  label {
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;


    display: flex;
    min-height: 100%;
    width: 100%;
    height: 120px;
  }


  /* 카드 앞면 */
  .door {
    width: 100%;
    transform-style: preserve-3d;
    transition: all 300ms;
    border-radius: 20px;
  }


  .date-num {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-family: fantasy;
  }


  /* 카드 뒷면 */
  .door div {
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;


    border-radius: 6px;
    font-size: 1.2em;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
  }


  /* 카드 뒤집기 애니메이션 */
  .door .back {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: rotateY(180deg);
  }


  :checked+.door {
    transform: rotateY(180deg);
  }


  /* 확대 및 회전 애니메이션 */
  @keyframes zoomAndRotate {
    from {
      transform: scale(0) rotateY(0deg);
    }


    to {
      transform: scale(1) rotateY(360deg);
    }
  }


  /* 애니메이션 적용 */
  .zoomIn {
    animation: zoomAndRotate 0.5s ease forwards;
  }




  .hidden {
    visibility: hidden;
  }


  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
  }


  .modal-content {
    width: 340px;
    height: 347px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;


    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  /* 이미지와 텍스트가 있는 카드를 위한 스타일 */
  .modal-content div {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
  }


  .modal-content p {
    width: 300px;
    color: black;
    margin-top: 30px;
    margin-bottom: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-family: 'Hi Melody', sans-serif;
    font-weight: bold;
    font-size: 15px;
    word-break: keep-all;
  }


  .countdown {
    font-family: 'Hi Melody', sans-serif;
    font-size: 25px;
  }
취소
 공유
취소
댓글 0
댓글 알림
나의얼굴