@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');

body {
    background: #222;
    color: white;

    font-family: "Oxanium", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;

    display: flex;
    flex-direction: column;
}

a {
    color: white;
}

a:hover {
    color: #bbb;
}

li {
    margin-bottom: 7px;
}

#landing-info {
    padding: 10px;
}

#dev-diary {
    padding: 10px;
}

#techs, #projects {
    margin-top: 16px;
    padding: 8px;
    position: relative;
    box-shadow: 3px 3px 24px black;
}

.infobox-border {
    display: none;
}

@keyframes infobox-border-anim {
    to {
        stroke-dashoffset: 0;
    }
}

@media only screen and (min-width: 1100px) {
    body {
        flex-direction: row;
    }

    #dev-diary {
        width: 40vw;
        padding: 5px 30px 5px 30px;
    }

    #landing-info {
        width: 60vw;
        padding: 5px 30px 5px 30px;
    }

    #techs, #projects {
        margin-top: 48px;
        padding: 32px;
        width: 80%;
        box-shadow: 2px 0px 2px 0px black;
    }

    .infobox-border {
        position: absolute;
        inset: 0 0 0 0;
        width: 100%;
        height: 100%;

        display: block;
    }
    
    .infobox-border rect {
        stroke-dasharray: 16px 48px;
        stroke-dashoffset: 64px;
    
        animation: infobox-border-anim 5s linear forwards infinite;
    }
}