
@font-face {
    font-family: 'CloudSansCode';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408@1.0/goorm-sans-code.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

* {
    font-family: 'CloudSansCode','Courier', Courier, monospace
}

body {
    background-color: grey;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    grid-column-start: 2;
    font-size: 30px;
    background-color: rgb(210, 210, 210);
}

nav {
    grid-column-start: 2; a
    grid-row-start: 2;
    text-align: center;
    padding: 2px;
    background-color: rgb(160, 160, 160);
    font-size: 20px;
    color: white;
}

a {
  font-weight: bold;
  color: #0000FF;
}

a:hover {
  color:rgb(33, 102, 222)
}

.grid {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: 82% 20%;
    grid-gap: 10px;
}

.grid2 {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: 100%;
    grid-gap: 10px;
}

.main {
    text-align: center;
    grid-column-start: 2;
    grid-row-start: 1;
    background-color: rgb(210, 210, 210);
    padding: 20px;
}

.grid3 {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: 100%;
    grid-gap: 10px;
}

.main2 {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: 100%;
    grid-column-start: 2;
    grid-row-start: 1;
    background-color: rgb(175, 175, 175);
    padding: 20px;
}

.main3 {
    text-align: center;
    grid-column-start: 2;
    background-color:rgb(210, 210, 210);
    padding-bottom: 20px;
}

a img.hover {
    display: none;
}
a img.default {
    display: inherit;
}
a:hover img.hover {
    display: inherit;
}
a:hover img.default {
    display: none;
}

.bluh {
  border: 1px solid black;
  outline-style: solid;
  outline-color: rgb(0, 0, 0);
  outline-width: thin;
}

.imag {
    text-align: center;
}

p {
    padding-left: 20px;
    padding-right: 20px;
}

.small {
    font-size: small;
    opacity: 50%;
}

.log {
    outline-style: dashed;
    outline-width: 1px;
    outline-color: rgb(120, 120, 120);
    margin: 2.5%;
    padding: 4%;
    text-align: left;
    background-color: rgb(190, 190, 190);
}

.note {
    outline-style: solid;
    outline-width: 3px;
    outline-color: rgb(0, 0, 0);
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    padding: 4%;
    text-align: left;
    background-color: rgb(255, 255, 255);
}

.wrd {
    text-align: center;
    color: #000000;
}

.nickcol {
    color: #8D4AA9;
}

.nicocol {
    color: #ACE1AF;
}


.log-button {
    background-color: #eee;
    border: 2px solid #000;
    font-family: "CloudSansCode", Courier, monospace;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 12px;
    cursor: pointer;
    margin: 2.5% 2.5% 0 2.5%;
    display: inline-block;
  }

  .log-button:hover {
    background-color: #ddd;
  }

  /* 기존 log 스타일 (초기 상태: 숨김) */
  .log {
    outline-style: dashed;
    outline-width: 1px;
    outline-color: rgb(120, 120, 120);
    margin: 0 2.5% 2.5% 2.5%;
    padding: 4%;
    text-align: left;
    background-color: rgb(190, 190, 190);
    font-family: "CloudSansCode", Courier, monospace;
    
    /* 기본적으로 숨김 처리 */
    display: none; 
  }

  /* JS로 active 클래스가 추가되면 보여짐 */
  .log.active {
    display: block;
  }