@import url("/assets/crt.css");
@import url("/assets/djserif.css");

html, body {
    padding: 0;
    margin: 0;
    font-family: 'DejaVu Serif';
}

.root-container {
    display: flex;
    flex-direction: column;
}

.container-hello {
    height: fit-content;
    padding: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: black;

    & div {
        text-align: center;
        color: white;
    }
}

.hello-text-small {
    font-size: 32px;
}
.hello-text-big {
    font-size: 48px;
    font-weight: 700;
    font-style: italic;
    padding: 8px;
    padding-bottom: 12px;

    animation: textShadow 1.6s infinite;
}

.container-about-me {
    background-color: #0c0c0c;
    color: white;
    font-size: 20px;
    height: fit-content;
    padding: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-explain-intro {
    font-style: italic;
    font-weight: bold;
    font-size: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
    text-align: center;
}
.text-explain {
    text-align: center;
}

.container-proj-raveweb {
    overflow:hidden;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: end;
    height: 239px;
    min-height: 239px;

    & ::after {
        display: table;
        clear:both;
    }
}

.raveweb-bgimage {
    background-image: linear-gradient(90deg, transparent, 40%, rgba(0,0,0,100)), url("/assets/images/ravelang-website.png");
    height: 239px;
    width: 100%;
    position: absolute;
    z-index: -1;
    &:after {
        content: '';
        position: absolute;
        inset: 0.0001%; /* total bruh moment */
        backdrop-filter: blur(4px);
        mask: linear-gradient(90deg, transparent, black 40%);
        -webkit-mask: linear-gradient(90deg, transparent, black 40%);
    }
}

.raveweb-desc {
    padding: 72px;
    max-width: 600px;
    text-align: right;
    position: absolute;
    z-index: 2;
    text-shadow: black 0 0 2px;
    & div {
        word-wrap: normal;
        font-size: 18px;
    }
    & div:nth-child(1) {
        font-size: 24px;
    }
}

.codeblock {
    margin: 16px;
    background-color: #182028;
    border-radius: 8px;
    border: 1px black solid;
    padding: 16px;
    height: fit-content;
    width: fit-content;
    display: inline;
}

.codeblock-indent {
    margin-left: 4ch;
}

.highlight-keyword {
    color: #ff7b72;
}
.highlight-string {
    color: #a5d6ff;
}
.highlight-class {
    color: #f69d50;
}
.highlight-method {
    color: #dcbdfb;
}

a, a:visited, a:hover {
    color: #a5d6ff;
}

.container-proj-reugin {
    padding: 72px;
    background-color: #0c0c0c;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.reugin-code {
    min-width: 430px;
}

@media(max-width: 700px) {
    .reugin-code {
        min-width: 0px;
    }
    .container-proj-reugin {
        flex-direction: column;
    }
}

.reugin-desc {
    & div {
        word-wrap: normal;
        font-size: 18px;
    }
    & div:nth-child(1) {
        font-size: 24px;
    }
}

.footer {
    background-color: black;
    color: white;
    padding: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-outro-1 {
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    padding-bottom: 8px;
    text-align: center;
}

.footer-outro-small {
    text-align: center;
    margin-bottom: 16px;
}

.footer-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    & img {
        margin-right: 8px;
    }
}