/*
    style.css
    make it look cute and pretty (me frfr)

    Copyleft (c) 2025 daysant
    This file is licensed under the terms of the daysant license, revision 4.
    https://daysant.dev
*/

html, body
{
    width: 100vw !important;
    height: 100vh !important;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

@font-face {
    font-family: 'tasa-explorer';
    src: url(tasa_explorer.ttf) format('truetype');
}

* {
    box-sizing: border-box;
    border-radius: 1rem;
    transition: all 100ms ease-in-out;
}

*::selection {
    color: #000000;
    background-color: #7aa2f7;
}

body {
    font-family: 'tasa-explorer', sans-serif;
    color: #ffffff;
    background-color: #15161e;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 100%;
}

header {
    height: 4rem;
    width: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: 0;
    background-color: #15161e;
}

footer {
    width: 100%;
    background-color: #15161e;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    height: 3rem;
}

.main-container {
    background-color: #1a1b26;
    display: flex;
    flex-direction: row;
    width: 100% !important;
}

.main-container div {
    flex-grow: 1;
}

main {
    width: 100%;
    max-width: 768px;
    padding: 1rem;
    margin-top: 4rem;
}

main p {
    text-align: justify;
}

* a {
    text-decoration: none;
    color: #7aa2f7;
    outline: none;
}

* a:hover, * a:focus {
    color: #ffffff !important;
}

header p {
    font-weight: 700;
    font-size: 1.15rem;
}

header ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    gap: 1.5rem;
    overflow-x: scroll;
}

header ul li {
    font-weight: 700;
}

header * {
    margin: 0;
}

.social {
    display: grid;
    grid-template-columns: 6rem 6rem;
    gap: 0.25rem;
}

.summary {
    display: flex;
    flex-direction: column;
    border: 2px solid white;
}

.summary div {
    flex: 1;
    border-bottom: 2px solid white;
    padding: 1rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.summary div h1 {
    font-size: 1.25rem;
    text-align: center;
}

.project {
    padding: 1rem;
    min-width: 100%;
}

.project h1 {
    font-size: 1.25rem;
    padding: 0;
    padding-left: 0.5rem;
    margin: 0;
}

.project ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}

.project ul li {
    list-style-type: none;
}

.project p {
    padding: 0.5rem;
}
.project ul li a {
    color: inherit !important;
    padding: 0.5rem;
}

.project ul li a:hover {
    background-color: white;
    color: #2959aa !important;
    font-weight: 700;
}

.center {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.summary:last-child {
    border: none;
}

.wip {
    background-color: #ffc000;
    color: #000000;
    padding: 0.5rem;
    margin: 0 0.5rem;
}

@media (min-width: 568px) {
    .summary {
        flex-direction: row;
    }

    .summary div {
        border-bottom: none;
        border-right: 2px solid white;
    }
}
