:root {
    --background: #0B0C0C;
    --date: #7188a9;
    --text-color: #eaeaea;
    --link-color: #65d2f9;
    --h1-size: 4em;
    --h2-size: 3.75em;
    --h3-size: 1.5em;
    --h4-size: 1.4em;
}

/* Base Styles */
body {
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    min-height: 70vh;
    padding-left: 7%;
}

/* Name and Dot Styles */
.name,
.dot:hover {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #000000;
    text-decoration: none;
    font-weight: bold;
    color: #ff8e8e;
}

.name:hover,
.dot {
    color: #D7D791;
}

/* Images */
.front img {
    max-width: 100%;
    margin-bottom: 10px;
    display: block;
}

.photo img {
    position: absolute;
    top: 8%;
    right: 7%;
    width: 20%;
    max-width: 33%;
    min-width: 23%;
    margin-bottom: 10px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.icon {
    width: 40px;
    position: relative;
    margin-top: 20px
}

/* Navigation/Social Links */
ul {
    transform: translate(-5%, 97%);
    position: static;
    display: flex;
    justify-content: center;
    padding: auto;
}

ul li {
    list-style: none;
    margin: 50px 50px 0 50px;
}

ul li a {
    text-decoration: none;
    display: block;
    width: 210px;
    height: 80px;
    background: #181A1B;
    text-align: left;
    padding-left: 20px;
    transform: rotate(-30deg) skew(25deg) translate(0, 0);
    transition: 0.5s;
    box-shadow: -20px 20px 10px rgba(0, 0, 0, 0.5);
}

ul li a .icon {
    font-size: 45px;
    line-height: 80px;
    transition: 0.5s;
    padding-right: 14px;
}

ul li a span {
    padding: 0;
    margin: 0;
    position: fixed;
    top: 30px;
    color: #ffffff;
    letter-spacing: 4px;
}

ul li a::before,
ul li a::after {
    content: '';
    position: absolute;
    background: #000000;
    transition: 0.5s;
}

ul li a::before {
    top: 10px;
    left: -20px;
    height: 100%;
    width: 20px;
    transform: rotate(0deg) skewY(-45deg);
}

ul li a::after {
    bottom: -20px;
    left: -10px;
    height: 20px;
    width: 100%;
    transform: rotate(0deg) skewX(-45deg);
}

ul li a:hover {
    transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
    box-shadow: -50px 50px 50px rgba(0, 0, 0, 0.5);
}

ul li:hover .icon,
ul li:hover span {
    color: #fff;
}

/* Social Link Colors */
ul li:hover:nth-child(1) a {
    background: #3b5998;
}

ul li:hover:nth-child(1) a::before {
    background: #3b5998;
}

ul li:hover:nth-child(1) a::after {
    background: #4a69ad;
}

ul li:hover:nth-child(2) a {
    background: #181A1B;
}

ul li:hover:nth-child(2) a::before {
    background: #1A1C1E;
}

ul li:hover:nth-child(2) a::after {
    background: #24292e;
}

ul li:hover:nth-child(3) a {
    background: #d12b15;
}

ul li:hover:nth-child(3) a::before {
    background: #a92a19;
}

ul li:hover:nth-child(3) a::after {
    background: #d93823;
}

ul li:hover:nth-child(4) a {
    background: #6944a2;
}

ul li:hover:nth-child(4) a::before {
    background: #65429e;
}

ul li:hover:nth-child(4) a::after {
    background: #8960c8;
}

/* Content Styles */
.content,
.content * {
    font-size: var(--base-font-size);
}

.content a {
    color: var(--link-color);
}

.content h1 {
    font-size: var(--h1-size);
    font-weight: 600;
}

.content h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}

.content h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

.content h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}

.content p {
    color: var(--text-color);
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 7%;
    vertical-align: bottom;
    font-size: 180%;
}

.content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: #d6cab8;
}

.content .post a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.5em;
}

.content p time {
    color: #8f8f8f;
    margin-left: 10px;
    font-size: 20px;
}

/* Media Queries */
@media (max-width: 1300px) {
    ul {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
        width: 100%;
    }

    ul li {
        margin: 20px;
        margin-top: 45px;
        flex: 0 0 calc(50% - 40px);
        width: 100%;
    }

    ul li a {
        width: 155px;
        height: 70px;
        padding-left: 15px;
        transform: rotate(0deg) skew(0deg) translate(0, 0);
        transition: none;
    }

    ul li a:hover {
        transform: rotate(0deg) skew(0deg) translate(0, 0);
        box-shadow: -50px 50px 50px rgba(0, 0, 0, 0.5);
    }

    ul li a .icon {
        font-size: 150%;
        width: 25px;
        margin-top: 25px;
        transition: none;
    }

    ul li a span {
        transition: none;
    }
}

@media (max-width: 500px) {
    body {
        padding-left: 5%;
        padding-right: 5%;
        font-size: 90%;
    }

    ul {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        width: 100%;
    }

    ul li {
        margin: 10px 0;
        width: 100%;
    }

    .content {
        padding-bottom: 20px;
    }

    .content p {
        font-size: 150%;
        padding-top: 0;
    }

    .photo img {
        display: inline-block;
        vertical-align: top;
        top: 1%;
    }

    .content h2 {
        display: inline-block;
        vertical-align: top;
        padding-top: 0;
        margin-top: auto;
    }
}

@media (min-width: 703px) and (max-width: 1540px) {
    .photo img {
        position: absolute;
        right: 5%;
        min-width: 14%;
        max-width: 20%;
        width: 8%;
    }
}