/* =========================================================
   RIDA'S CASTLE
   Personal Neocities Template
   ========================================================= */


/* =========================================================
   BASIC RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #eee8dc;

    color: #332c2c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: #493d3d;

    text-decoration: none;

    border-bottom: 1px dotted #6f5c5c;
}

a:hover {
    color: #9b5e65;

    border-bottom: 1px solid #9b5e65;
}


/* =========================================================
   SITE WRAPPER
   ========================================================= */

.site-wrapper {

    width: 900px;

    max-width: calc(100% - 30px);

    margin: 35px auto 60px auto;

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #403737;

    padding-bottom: 7px;

    margin-bottom: 20px;

}


.castle-title {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    letter-spacing: 0.5px;

}


.arrow {

    color: #6e6262;

    margin-left: 10px;

}


.crown {

    border: none;

    font-size: 22px;

    line-height: 1;

}


.crown:hover {

    border: none;

    color: #9b5e65;

}


/* =========================================================
   MAIN GRID
   ========================================================= */

.site-grid {

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 30px;

    align-items: start;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

    font-size: 13px;

}


.nav-section {

    margin-bottom: 25px;

}


.nav-heading {

    margin-bottom: 5px;

    color: #6b5b5b;

    font-style: italic;

    text-transform: lowercase;

}


.nav-section a {

    display: block;

    width: fit-content;

    margin: 2px 0;

}


/* =========================================================
   PREVIOUS / NEXT
   ========================================================= */

.page-navigation {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin: 30px 0;

    font-size: 11px;

}


.page-navigation a {

    white-space: nowrap;

}


/* =========================================================
   LINK ME
   ========================================================= */

.link-me {

    margin-top: 25px;

    padding-top: 15px;

    border-top: 1px dotted #817676;

}


.link-me h3,
.neighbors h3 {

    margin: 0 0 7px 0;

    font-size: 13px;

    font-weight: normal;

    font-style: italic;

}


.button-placeholder {

    width: 88px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 8px 0;

    border: 1px solid #776b6b;

    background-color: #ddd4c7;

    font-family: monospace;

    font-size: 8px;

}


.link-me p {

    margin: 4px 0;

    font-size: 11px;

}


/* =========================================================
   NEIGHBOURS
   ========================================================= */

.neighbors {

    margin-top: 25px;

}


.neighbors a {

    display: block;

    margin: 2px 0;

    font-size: 12px;

}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {

    min-width: 0;

}


/* =========================================================
   WELCOME SECTION
   ========================================================= */

.welcome {

    display: grid;

    grid-template-columns: 135px 1fr;

    gap: 20px;

    align-items: start;

}


.welcome-image {

    width: 135px;

}


.image-placeholder {

    width: 135px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px solid #756969;

    background-color: #ddd5c9;

    color: #756969;

    font-family: monospace;

    font-size: 9px;

}


.welcome-text {

    max-width: 540px;

}


.welcome-text p {

    margin-top: 0;

    margin-bottom: 12px;

}


/* =========================================================
   ORNAMENT
   ========================================================= */

.ornament {

    margin: 28px 0;

    text-align: center;

    color: #8b7777;

    font-size: 11px;

    letter-spacing: 3px;

}


/* =========================================================
   ABOUT
   ========================================================= */

.about {

    display: grid;

    grid-template-columns: 125px 1fr;

    gap: 20px;

    align-items: start;

}


.about-image {

    width: 125px;

}


.portrait-placeholder {

    width: 125px;

    height: 155px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    border: 1px solid #756969;

    background-color: #d9d0c4;

    color: #776969;

    font-family: monospace;

    font-size: 10px;

    line-height: 1.4;

}


.about-content h2 {

    margin: 0 0 2px 0;

    font-size: 20px;

    font-weight: normal;

}


.subtitle {

    margin-top: 0;

    color: #756565;

    font-size: 12px;

}


.highlight {

    color: #8c555e;

}


/* =========================================================
   WHAT AM I DOING
   ========================================================= */

.doing {

    margin-top: 35px;

}


.doing h2 {

    margin: 0;

    text-align: center;

    color: #817474;

    font-weight: normal;

    font-size: 12px;

    letter-spacing: 5px;

}


.doing h3 {

    margin: 4px 0 18px 0;

    text-align: center;

    font-size: 15px;

    font-weight: normal;

}


.doing-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.doing-card {

    text-align: center;

}


.mini-image {

    width: 100%;

    height: 110px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 7px;

    border: 1px solid #807272;

    background-color: #dcd4c8;

    color: #766969;

    font-family: monospace;

    font-size: 9px;

}


.doing-card p {

    margin: 0;

    color: #756868;

    font-size: 11px;

}


.doing-card strong {

    display: block;

    font-weight: normal;

    font-size: 13px;

}


/* =========================================================
   MUSIC PLAYER
   ========================================================= */

.music-player {

    margin: 35px auto;

    padding: 12px 15px;

    border-top: 1px dotted #847777;

    border-bottom: 1px dotted #847777;

    text-align: center;

}


.music-info {

    font-family: monospace;

    font-size: 9px;

    color: #776a6a;

}


.music-title {

    margin: 5px 0 8px 0;

    font-size: 12px;

    font-style: italic;

}


audio {

    width: 100%;

    height: 25px;

}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.featured {

    margin-top: 35px;

}


.featured h3 {

    margin-bottom: 10px;

    font-size: 13px;

    font-weight: normal;

    font-style: italic;

}


.featured-image {

    width: 100%;

    min-height: 200px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #817373;

    background-color: #ded5c9;

    color: #766a6a;

    font-family: monospace;

    font-size: 10px;

}


/* =========================================================
   GUESTBOOK
   ========================================================= */

.guestbook {

    margin-top: 45px;

    padding: 20px;

    text-align: center;

    border-top: 1px dotted #817373;

    border-bottom: 1px dotted #817373;

}


.guestbook h2 {

    margin: 0;

    font-size: 17px;

    font-weight: normal;

}


.guestbook p {

    font-size: 12px;

}


.guestbook-button {

    display: inline-block;

    padding: 4px 12px;

    border: 1px solid #716363;

    background-color: #ddd4c7;

    font-size: 11px;

}


.guestbook-button:hover {

    background-color: #d0c4b7;

}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    margin-top: 40px;

    padding-top: 10px;

    border-top: 1px solid #403737;

    text-align: center;

    color: #756a6a;

    font-size: 10px;

}


footer p {

    margin: 3px;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {


    .site-wrapper {

        width: 100%;

        max-width: none;

        padding: 0 18px;

        margin-top: 20px;

    }


    .site-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .sidebar {

        border-bottom: 1px solid #777;

        padding-bottom: 20px;

    }


    .nav-section {

        display: inline-block;

        vertical-align: top;

        margin-right: 30px;

        margin-bottom: 15px;

    }


    .page-navigation {

        max-width: 300px;

    }


    .welcome {

        grid-template-columns: 1fr;

    }


    .welcome-image {

        width: 100%;

    }


    .image-placeholder {

        width: 100%;

        height: 180px;

    }


    .about {

        grid-template-columns: 1fr;

    }


    .about-image {

        width: 100%;

    }


    .portrait-placeholder {

        width: 100%;

        height: 180px;

    }


    .doing-grid {

        grid-template-columns: 1fr;

    }


    .mini-image {

        height: 160px;

    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media screen and (max-width: 400px) {

    body {

        font-size: 13px;

    }


    .site-wrapper {

        padding: 0 12px;

    }


    .castle-title {

        font-size: 15px;

    }


    .arrow {

        display: none;

    }

}