@import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@100..900&family=Gloock&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:wght,FILL@500..600,0..1');

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 0,
    'wght' 600,
    'GRAD' 0,
    'opsz' 24
}

body {
    max-height: 100dvh;
    margin: 0px;
    background-color: #F4F4F4;
    color: #1C1B1F;
}

body.blog {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}

.animation {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: none;
}

.colourfuzz {
    position: absolute;
    width: 400px;
    height: 400px;
    margin-left: calc(50vw - 200px);
    z-index: 11;
    pointer-events: none;
}

.colourfuzz.noanimation {
    margin-top: -200px;
    top: -75px;
    width: 1000px;
    margin-left: calc(-500px + 50vw);
    position: fixed;
}

.animation .letter#M {
    position: absolute;
    width: 175px;
    height: 175px;
    animation: spinM 2s linear;
}

.animation .letter#I {
    position: absolute;
    width: 125px;
    height: 125px;
    animation: spinI 2s linear;
}

.animation .letter#O {
    position: absolute;
    width: 125px;
    height: 125px;
    animation: spinO 2s linear;
}

@keyframes spinM {
    0% {
        transform: rotate(-360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinI {
    0% {
        transform: rotate(-360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinO {
    0% {
        transform: rotate(-180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.animation .Squish {
    width: 300px;
    height: 300px;
    display: none;
    position: absolute;
}

#afteranimation {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.2s linear;
    overflow-x: hidden;

}

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

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 70px;
    position: fixed;
    width: 100vw;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.blog .navbar {
    top: 0px;
}

.navbar .title {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    -webkit-text-stroke: 1.5px black;
    transition: margin-right 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    cursor: pointer;
}

.navbar .buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 500px;
}

.navbar .button {
    font-family: azeret mono;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

.landing {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.landing .center {
    margin-top: calc((100vh / 2) - 70px);
    margin-bottom: calc((100vh / 2) - 150px);
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.landing .center .pfp {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 7px 15px;
}

.landing .center .contents {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing .center .contents .loop {
    position: relative;
    width: 150px;
    height: 150px;
    margin-top: -90px;
    margin-bottom: -70px;
    margin-left: 220px;
}

.landing .center .contents .loop.light {
    display: none;
}

.landing .center .contents .maintext {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.landing .center .contents .description {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
}

.landing .center .links, .landing .center .contents .toplinks {
    display: flex;
    gap: 10px;
}

.landing .center .contents .links a {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: min-content;
    border: 2px solid black;
    padding: 2px 10px;
    border-radius: 20px;
    width: max-content;
    line-height: 1.2;
}

.landing .center .contents .links span {
    font-size: 15px;
}

.landing .scrolldown {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 90px;
    font-family: "azeret mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    animation: scrolldown 5s ease-in-out infinite;
    transition: opacity 0.2s linear, filter 0.2s linear;
}

@keyframes scrolldown {
    0% {
        margin-top: -25px;
        margin-bottom: 25px;
    }
    25% {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    100% {
        margin-top: -25px;
        margin-bottom: 25px;
    }
}

.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 45px;
    margin-top: 65px;
}

.heading .material-symbols-rounded {
    font-size: 35px;
}

.heading .main {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.heading .main .text {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.heading .main .divider {
    width: 100px;
    height: 2px;
    background-color: black;
}

body.blog .heading {
    align-items: baseline;
    width: 100%;
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.headerdesc {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    margin: 0px 100px;
    max-width: 700px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.scrollingtext {
    width: 100vw;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.scrollingtext .item {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.scrollingtext .item:first-child {
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% {
        margin-left: 0px;
    }
    100% {
        margin-left: -690px;
    }
}

.service {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    width: 60vw;
}

.service .material-symbols-rounded {
    font-size: 40px;
}

.service .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service .content .title {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.service .content .body {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    max-width: 600px;
    text-align: justify;
    line-height: 1.2;
}

.service .content .rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min-content;
}

.service .content .rating .percentage {
    padding: 2px;
    border: 2px solid black;
    border-radius: 100px;
}

.service .content .rating .percentage .fill {
    background-color: black;
    border-radius: 100px;
    height: 10px;
}

.service .content .rating .percentage .fill.f100 {
    width: 140px;
}

.service .content .rating .percentage .fill.f80 {
    width: 112px;
    margin-right: 28px;
}

.service .content .rating .percentage .fill.f60 {
    width: 84px;
    margin-right: 56px;
}

.service .content .rating .text {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.2;
}

.vouch {
    max-width: 600px;
    width: 60vw;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 50px;
}

.vouch .header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.vouch .header .pfp {
    width: 40px;
    height: 40px;
    border-radius: 200px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 7px 15px;
}

.vouch .header .title {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    -webkit-text-stroke: 1.5px black;
    letter-spacing: 0.05em;
}

.vouch .body {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    text-align: justify;
    line-height: 1.2;
}

.headerdesc.contactme {
    margin-bottom: 10vh;
}

.blogs {
    display: flex;
    width: calc(100vw - 40vw);
    padding: 0px 20vw;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 100px;
}

.blogs .blogitem {
    background-image: url('https://i.pinimg.com/736x/aa/cb/9f/aacb9fb7eb6d8f0f8749dc2d4f4c9538.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

.blogs .blogitem.latest {
    width: 100%;
}

.blogs .blogitem .contents {
    padding: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: linear-gradient(#F4F4F43C, #f4f4f4DD);
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 10px;
    color: #1C1B1F;
}

.blogs .blogitem .contents .blogtitle {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    -webkit-text-stroke: 1.5px #1C1B1F;
    letter-spacing: 0.07em;
}

.blogs .blogitem.latest .contents .blogtitle {
    font-size: 30px;
    letter-spacing: 0.05em;
}

.blogs .blogitem .contents .blogdate {
    font-family: "Azeret Mono", serif;
    font-size: 15px;
}

.blogs .blogitem .contents .blogreadingtime {
    font-family: "Azeret Mono", serif;
    font-size: 15px;
}

.blogs .latestblogcarousel {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    width: 60vw;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.blogs .latestblogcarousel .blogitem {
    width: calc(60vw / 4 - 15px);
    flex: 0 0 auto;
}

.blogs .bloggrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 60vw;
    margin-top: 20px;
}

.blogbody {
    width: 60vw;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding: 0px 20vw;
    gap: 20px;
}

.back {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: "Azeret Mono", serif;
    gap: 10px;
    cursor: pointer;
}

.back .text {
    font-size: 20px;
}

.blogbody .date {
    font-family: "Azeret Mono", serif;
    font-size: 15px;
    opacity: 0.75;
}

.blogbody .title {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    -webkit-text-stroke: 1.5px #1C1B1F;
    letter-spacing: 0.05em;
}

.blogbody .readtime {
    font-family: "Azeret Mono", serif;
    font-size: 15px;
    opacity: 0.5;
}

.blogbody .thumbnail {
    width: 100%;
    height: 20vw;
    object-fit: cover;
    border-radius: 20px;
}

.blogbody .body {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.blogbody .body bold {
    -webkit-text-stroke: 0.75px #1C1B1F;
    letter-spacing: 0.055em;
    opacity: 1;
    color: #1C1B1F;
    display: inline;
}

.blogbody .body header1, header2, header3 {
    margin: 10px 0px -10px 0px;
    display: block;
}

.blogbody .body header1 {
    font-size: 25px;
}

.blogbody .body header2 {
    font-size: 22px;
}

.blogbody .body header3 {
    font-size: 19px;
}

.blogbody .body p {
    margin: 0px;
}

.blogbody .body ol, ul {
    margin: 0px;
}

.createbody {
    display: flex;
    flex-direction: row;
    margin-top: 70px;
    gap: 20px;
    padding: 0px 5vw;
    width: 90vw;
    height: max-content;
}

.createbody .left {
    width: calc(50% - 5px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.createbody #markdownInput {
    width: calc(100% - 30px);
    height: 100%;
    display: flex;
    font-family: "Azeret Mono", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    background-color: #F4F4F4;
    border: #1C1B1F 2px dashed;
    border-radius: 20px;
    padding: 10px;
    outline: none;
    resize: none;
}

.createbody #title, .createbody #image, .createbody #identifier {
    width: calc(100% - 30px);
    height: 20px;
    display: flex;
    font-family: "Azeret Mono", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    background-color: #F4F4F4;
    border: #1C1B1F 2px dashed;
    border-radius: 20px;
    padding: 10px;
    outline: none;
    resize: none;
}

#output {
    height: 100%;
    width: 100%;
    font-family: "Gloock", serif;
    word-wrap: break-word;
    padding: 0px;
}

.createbody .blogbody {
    width: calc(50% - 5px);
    padding: 0px;
    margin: 0px;
}

.blogbody .title {
    width: 100%;
    word-wrap: break-word;
}

.blogbody .body img {
    max-width: 100%;
    width: auto;
    height: 300px;
    border-radius: 20px;
}

.blogbody .body :not(img) {
    width: 100%;
}

.blogbody .body p img {
    display: block;
    margin: 0 auto;
}

.createholder {
    display: flex;
    width: 100vw;
    justify-content: center;
    margin-top: 50px;
    cursor: pointer;
}

.createholder .createbutton {
    padding: 10px 20px;
    background-color: #1C1B1F;
    border-radius: 20px;
    font-family: "Azeret Mono", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: #F4F4F4;
    margin-bottom: 100px;
}

.errortext {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.errortext .errortitle {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    -webkit-text-stroke: 1.5px #1C1B1F;
    letter-spacing: 0.05em;
}

.errortext .errordescription {
    font-family: "Azeret Mono", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.;
    text-align: center;
}

.gohome {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: "Azeret Mono", serif;
    cursor: pointer;
    background-color: #1C1B1F;
    color: #F4F4F4;
    border-radius: 20px;
    padding: 10px 20px;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1C1B1F;
        color: #F4F4F4;
    }

    .animation .letter#M_light {
        position: absolute;
        width: 175px;
        height: 175px;
        animation: spinM 2s linear;
    }
    
    .animation .letter#I_light {
        position: absolute;
        width: 125px;
        height: 125px;
        animation: spinI 2s linear;
    }
    
    .animation .letter#O_light {
        position: absolute;
        width: 125px;
        height: 125px;
        animation: spinO 2s linear;
    }
    
    a {
        color: #F4F4F4;
    }
    
    .navbar .title {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }
    
    .landing .center .pfp {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 7px 15px;
    }

    .landing .center .contents .maintext {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }

    .landing .center .contents .loop:not(.light) {
        display: none;
    }

    .landing .center .contents .loop.light {
        display: flex !important;
    }
    
    .landing .center .contents .links a {
        border: 2px solid #F4F4F4;
    }
    
    .heading .main .text {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }
    
    .heading .main .divider {
        background-color: #F4F4F4;
    }

    body.blog .heading {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }
    
    .scrollingtext .item {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }
    
    .service .content .title {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }

    .service .content .rating .percentage {
        border: 2px solid #F4F4F4;
    }
    
    .service .content .rating .percentage .fill {
        background-color: #F4F4F4;
    }
    .vouch .header .pfp {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 7px 15px;
    }
    
    .vouch .header .title {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }

    .blogs .blogitem .contents {
        background: linear-gradient(#1C1B1F3C, #1c1b1fDD);
        color: #F4F4F4;
    }
    
    .blogs .blogitem .contents .blogtitle {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }

    .blogbody .title {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }
    
    .blogbody .body bold {
        -webkit-text-stroke: 0.75px #F4F4F4;
        color: #F4F4F4;
    }

    .createbody #markdownInput, .createbody #title, .createbody #image, .createbody #identifier {
        background-color: #1C1B1F;
        border: #F4F4F4 2px dashed;
        color: #F4F4F4;
    }

    .createholder .createbutton {
        background-color: #F4F4F4;
        color: #1C1B1F;
    }

    .errortext .errortitle {
        -webkit-text-stroke: 1.5px #F4F4F4;
    }

    .gohome {
        background-color: #F4F4F4;
        color: #1C1B1F;
    }
}

@media (max-width: 1000px) {
    html {
        max-height: 100dvh;
    }
    
    .landing {
        height: calc(100vh - 70px);
        margin-bottom: 70px;
    }

    .landing .scrolldown {
        display: none;
    }

    .landing .center .contents .loop, .landing .center .contents .loop.light {
        display: none !important;
    }

    .landing .center {
        flex-direction: column;
        align-items: center;
    }

    .landing .center .contents {
        align-items: center;
    }

    .landing .center .contents .maintext {
        margin-top: 10px;
    }
    
    .landing .center .contents .description {
        font-size: 15px;
        text-align: center;
        width: 70%;
    }

    .landing .center .contents .links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .landing .center .contents .links a {
        width: calc(100% - 24px);
        border-width: 1px;
    }

    .heading:not(.latest) {
        margin: 30px 0px;
    }

    .heading .main .text {
        font-size: 36px;
    }

    .headerdesc {
        max-width: 400px;
        margin: 0px 25px;
    }

    .scrollingtext {
        margin: 40px 0px;
    }

    .service {
        width: unset;
        padding: 0px 40px;
    }

    .service .material-symbols-rounded {
        display: none;
    }

    .service .content {
        align-items: center;
    }

    .service .content .title {
        font-size: 22px;
        -webkit-text-stroke: 0.5px;
        margin-bottom: 5px;
    }

    .service .content .body {
        text-align: center;
    }

    .service .content .rating {
        align-items: center;
        gap: 0px;
        margin-top: 5px;
    }

    .service .content .rating .text {
        display: flex;
        justify-content: center;
        text-align: center;
        width: 0px;
        z-index: 10;
        mix-blend-mode: difference;
        -webkit-text-stroke: 1px;
        translate: -104px;
        font-size: 13px;
    }

    .service .content .rating .percentage .fill {
        height: 20px;
    }

    .service .content .rating .percentage .fill.f100 {
        width: 200px;
    }

    .service .content .rating .percentage .fill.f80 {
        width: 160px;
        margin-right: 40px;
    }

    .service .content .rating .percentage .fill.f60 {
        width: 120px;
        margin-right: 80px;
    }

    .service .content .rating .percentage .fill.f40 {
        width: 80px;
        margin-right: 120px;
    }

    .service .content .rating .percentage .fill.f20 {
        width: 40px;
        margin-right: 160px;
    }

    .service .content .rating .percentage .fill.f0 {
        width: 0px;
        margin-right: 200px;
    }

    .vouch {
        width: unset;
        padding: 0px 40px;
    }

    .vouch .header {
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-between;
    }

    .vouch .header .title {
        font-size: 20px;
        -webkit-text-stroke: 0.5px;
    }

    .vouch .body {
        text-align: left;
    }
}