:root {
    --main-bg-color: white;
    --main-text-color: black;
    --accent-color: #F3D104; 
    --border-style: 4px solid var(--main-text-color);
    --transition-time: 2s; 
}

body {
    height: 100vh;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: background-color var(--transition-time);
    /* font-style: italic; */
}

.the-square {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: var(--border-style);
    padding: 8px;
    transition: 
      color var(--transition-time),
      border-color var(--transition-time);
}

#about-box {
    padding: 1em 0 0.5em 0;
    margin: 0 0.5em;
    text-align: center;
    transition: color var(--transition-time);
}

#about-box > p {
    margin: 0;
}

#bottom-box {
    margin: 0 0.5em;
}

#dreams-box {
    padding: 0 0 0.9em 0;
}

#dreams-box > p {
    margin: 0;
}

.hn-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    border-top: var(--border-style);
    padding: 0.5em 0;
    transition: color var(--transition-time);
    transition: border-color var(--transition-time);
}

/* BIG SCREEN */
@media only screen and (min-width: 601px) {
    .the-square {
        height: 60vh;
        width: 60vh;
    }
}
  
/* SMALL SCREEN */
@media only screen and (max-width: 600px) {
    body {
        height: 90vh;
    }

    .the-square {
        height: 90vw;
        width: 90vw;
    }

    h1 {
        font-size: 1.9em;
    }

    p {
        font-size: small;
    }
}

h1 {
    /* text-transform: uppercase; */
    margin: 0 0 0 0.1em;
}

h2 {
    margin: 0.4em 0 0.2em 0;
}

p {
    font-style: italic;
}

h1, h2 {
    line-height: 100%;
    font-weight: 700;
    letter-spacing: .1rem;
}

h2 > a {
    text-decoration: none;
    color: var(--main-text-color);
    transition: color var(--transition-time);
}

h2 > a:hover {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 150ms;
}

#sun-box {
    position: absolute;
    bottom: 1em;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 3em;
    width: 3em;
}

#sun {
    height: 2.5em;
    width: 2.5em;
    transition: color var(--transition-time);
}

#sun:hover {
    color: var(--accent-color);
    transition: color 100ms;
}