:root{
    --background-color: white;
    --secondary-background-color: oklch(91.5% 0 0);
    --text-color: black;
}

.dark-mode{
    --background-color: black;
    --secondary-background-color: oklch(37.5% 0 0);
    --text-color: white;
}

html{

    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;

}

body{

    background-color: var(--background-color);
    margin: 0;
    max-height: 269vh;
}




a{
    color: var(--text-color);
    text-decoration: none;
}
h1,
p {
    margin: 0;
    color: var(--text-color);
}

img{
    border-radius: 24px;
    transition: transform 0.25s;
}

img.github-footer{
    transition: transform 0.25s;

}

img.github-footer:hover,
img.up-button:hover,
img.dev-logo:hover{
    transform: scale(1.1, 1.1);
}


button{
    
    cursor: pointer;
    font-size: 2vw;
    border: oklch(83.53% 0.296 145.06) solid 3px;
    border-radius: 16px;

    color: var(--text-color);
    padding: 0 12px;
    padding-bottom: 4px;

    background-color: oklch(83.53% 0.296 145.06);
}

button:hover{
    border: oklch(73.53% 0.296 145.06) solid 3px;
    background-color: oklch(73.53% 0.296 145.06);
}
nav{
    
    background-color: #292929;
    height: 3.25em;

    display: flex;
    gap: 1em;

    align-items: center;
    justify-content: center;
    
}

nav > a {
    font-size: 1.45vw;

    color: white;
    text-decoration: none;
}

nav > a:hover{

    color: greenyellow;
}

nav > a:active{

    color: green;
}

.scheme-mode{
    border-radius: 4px;
    background-color: white;
}

.scheme-mode:hover{
    background-color: greenyellow;
}

.scheme-mode:active{
    background-color: green;
}

img#white-mode{
    display: none;
}

img#dark-mode{
    display: block;
}
main{

    margin-top: 14em;
}

section{
    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;
    gap: 0.3em;

}

section#about-me{
    gap: 3em;
}

.about-square{

    width: 27.5vw;
    min-width: 11em;

    font-size: 2.15vw;
    
    border: oklch(83.53% 0.296 145.06) solid 3px;
    border-radius: 24px;

    text-align: center;

    white-space: normal;
    padding: 0.15em 0.5em 0.3em;
}




.info-section{
    display: flex;
    flex-direction: column;

    align-items: center;
    gap: 1.5em;
}


section#language-list{
    margin-top: 12px;
    gap: 0.5em;
}

.language-square{
    border-radius: 10px;

    padding: 5px 10px;
    background-color: var(--secondary-background-color);

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.language-square > section{
    gap: 0.25px;
}
.language-square > p{
    font-size: 28px;
}
p.dev-name{

    text-align: center;
    margin-top: 0.5em;
    font-size: 32px;
}

img.dev-logo{
    width: 25vw;
    height: 25vw;
    transition: transform 0.25s;
}


section > img{
    border-radius: 0;
    width: 60px;
    height: 60px;
}

#organization{
    font-size: 24px;
}

#organization:hover{
    border: var(--text-color) solid 3px;

}

.minecraft-plugins{

    margin-top: 14em;
    position: relative;
    display: flex;

    flex-direction: column;
    background-image: url("../images/minecraft-background.png");
    
    height: 57.5em;

}


.minecraft-square{

    font-size: 1.5vw;
    background-color: var(--text-color);
    
    padding: 0.5em;

    box-sizing: border-box;
    width: 100%;

}



.minecraft-square > p{
    color: var(--background-color);
}

#support-block{
    
    display: flex;
    gap: 0.5em;

    align-items: center;
    justify-content: center;
}

section#plugin-list{
    
    margin: auto 0;
    gap: 2em;

}

.plugin-square{

    position: relative;
    height: 9.5em;
    border: oklch(55% 0.296 145.06) solid 3px;
    background-color: var(--background-color);

    border-radius: 24px;

    font-size: 1.45vw;
    text-align: justify;
    
    white-space: normal;
    padding: 0.9em 0.9em;
}

section.plugin-section{
    align-items: normal;

    flex-wrap: nowrap;
    gap: 0.7em;
}

img.plugin-logo{

    border-radius: 16px;
    width: 11vw;
    height: 11vw;
}

.plugin-info{
    width: 13.4vw;
}

img.plugin-github,
img.plugin-github-white{

    position: absolute;
    bottom: 0.5em;
    width: 1.35em;
    height: 1.35em;

}

img.plugin-github-white{
    display: none;
}




footer > p{
    color: white;

}
footer{

    position: relative;

    display: flex;

    flex-direction: column;
    align-items: center;
    gap: 7.5px;
    
    font-family: 'Roboto', sans-serif;

    background-image: url("../images/footer.png");
    height: 4.5em;

    font-size: 32px;

    padding-top: 1em;
}

img.up-button{

    cursor: pointer;

    background-color: white;
    
    border-radius: 5em;

    width: 1.5em;
    height: 1.5em;

    position: absolute;
    bottom: 0.75em;
    right: 0.75em;
}


@media screen and (max-width: 1250px){

    nav > a {
        font-size: 18.5px;
    
    }
    .minecraft-square{
        font-size: 20px;
        
    }

    button{
        font-size: 24px;
    }
    .about-square{
        font-size: 26.5px;
    }

    img.dev-logo{
        width: 18em;
        height: 18em;
    }

    #support-block{
        font-size: 18px;

    }
}
 

@media screen and (max-width: 1150px) {
    
    .plugin-square{
        height: 9.3em;
        width: 17.1em;
        font-size: 17px;
    }

    .plugin-info{
        width: 13em;
    }

    img.plugin-logo{
        width: 10em;
        height: 7.5em;
    }
}