
:root {
    font-family: 'Lexend', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--col_3) 0%, var(--col_6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}

footer {
    margin-top: 1rem;
    color: black;
    padding: 3rem;
    text-align: center;
    background-color: aliceblue;
    width: 100%;
}

footer a {
    text-decoration: none;
    font-weight: bold;
    transition: all ease-in-out 0.2s;
}

footer a:hover {
    text-decoration: underline;
    transform: scale(1.15);
}

#box_parent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    border-radius: 2.5rem;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    margin: 1.5rem auto 0 auto;
    transition: box-shadow 0.3s;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#git:hover {
    transform: scale(1.1);
    cursor: pointer;
    filter: brightness(1.1);
}

#title {
    text-align: center;
    font-size: 2.5rem;
    margin: 1.5rem 0 0.5rem 0;
    position: relative;
    letter-spacing: 0.03em;
}

#title::after {
    content: "";
    display: block;
    margin: 0.5rem auto 0 auto;
    width: 4.5rem;
    height: 0.35rem;
    border-radius: 0.2rem;
    background: linear-gradient(90deg, var(--col_4), var(--col_6), var(--col_7));
    opacity: 0.85;
}

#mad {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 6px;
}

#tshirt {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 6px;
}

.no_display {
    display: none;
}

@media (max-width: 820px){
    footer {
        margin-top: auto;
    }

    #mad, #tshirt {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .box {
        width: 100%;
        align-items: center;
        text-align: center;

        padding: 5px;
        margin: 0;
        height: 5rem;
        font-size: 2.5rem;
        color: #000000;
        text-shadow: aliceblue 0 0 15px;
    }
}

@media (min-width: 821px){
    .box {
        flex: 1 1 0%;
        box-sizing: border-box;
        min-width: 0;
        align-items: center;
        text-align: center;

        padding: 5px;
        margin: 0;
        height: 3rem;
        
        font-size: 1.2rem;
        color: #000000;
        text-shadow: aliceblue 0 0 15px;
    }
    footer {
        margin-top: 15rem;
        padding-bottom: auto;
    }
}

@media (max-width: 350px){
    body {
        display: none;
    }
    .no_display {
        display: block;
    }
}

.box:nth-child(1){ background-color: var(--col_1); }
.box.color-1{ background-color: var(--col_1); }
.box.color-2{ background-color: var(--col_2); }
.box.color-3{ background-color: var(--col_3); }
.box.color-4{ background-color: var(--col_4); }
.box.color-5{ background-color: var(--col_5); }
.box.color-6{ background-color: var(--col_6); }
.box.color-7{ background-color: var(--col_7); }
.box.color-8{ background-color: var(--col_8); }
.box.color-9{ background-color: var(--col_9); }

.box{
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 2rem;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}


.box:hover{
    opacity: 1;
    transform: scale(1.05);
    cursor: pointer;
}