* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: "Cossette Texte", sans-serif;
}

#cursor {
    position: fixed;
    width: 4vmin; 
    height: 4vmin;
    border-radius: 50%;
    background: blue;
    pointer-events: none;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease;
    z-index: 9999;
    top: 0;
    left: 0;
}

/*home*/
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100vw;
    height: 100vh;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vw;
    background-color: #FFFA66;
    color: blue;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 400;
}

.grid-item:hover {
    background-color: white;
}

.menubar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;   
}

.menubar .logo {
    font-size: 0.8rem;
    font-weight: 500;
    color: blue;
    text-decoration: none;
}

.menubar nav {
    display: flex;
    gap: 3vw;
}

.menubar nav a {
    font-size: 0.8rem;
    font-weight: 500;
    color: blue;
    text-decoration: none;
}

.menubar nav a:hover {
    opacity: 0.4;
}

/*about*/
.container {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: calc(100vh - 2vh);
    width: 100%;
}

.row {
    display: flex;
    flex: 1;
}

.top .box {
    flex: 1; /*두 박스가 가로로 50%씩 차지*/
}

.box .left {
    width: 20%;
}

.bottom .box {
    flex: 1;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    cursor: auto !important;
}

/*photo page*/
.gallery {
    display: flex;
    padding: 0 15px 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8vw;
    justify-content: space-between;
    align-items: center;
    align-items: start;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 0.8vh;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/*tools page*/
table {
    width: 400px;
    margin: auto;
    border: 0.6px solid blue;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px 9px;
    font-size: 0.8rem;
    font-weight: 300;
}

td {
    text-align: center;
    vertical-align: middle;   
    padding: 12px 9px;  
    border: 0.6px solid blue;
    font-size: 0.8rem;
}

td a {
    text-decoration: none;
    color: black;
}