@font-face {
    font-family: 'Clash Display';
    src: url('/res/clashdisplay.ttf');
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* ✅ Prevent scrolling if everything fits */
}

body {
    font-family: 'Clash Display';
    font-weight: normal;
    color: white;
    background: url('/res/wallpaper.png') no-repeat center center;
    background-size: cover;

    display: flex;
    flex-direction: column;

}

a{
    color: white;
}

input[type="text"], textarea, input[type="number"]{
    color: white;
    font-family: 'Clash Display';
}

input[type="submit"], input[type="button"], input[type="reset"]{
    color: white;
    font-family: 'Clash Display';
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.topbox {
    position: relative;
    margin: 30px;

    /*border: 1px solid white;*/
}

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

    /*border: 1px solid green;*/
}

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

    font-size: 4rem;
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    text-align: center;
}

.content {
    opacity: 1;
    transition: opacity 1s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    /*border: 1px solid white;*/
    
}

.glass_tile {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);

    box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.15);

    transition: 0.5s ease;
}

.glass_tile:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.glass_tile.nointeract:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.projects_title {
    font-size: 1.7rem;
    margin: 10px;
    margin-bottom: 20px;

    text-align: center;
    font-weight: 500;
    width: 100%;
}

.project {
    margin: 10px;

    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
}

.project_title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    
    width: 100%;
}

.openlink {
    content: url('/res/open_in_new.svg');
    background-size: contain;
    flex-shrink: 0;
}

.code {
    content: url('/res/code.svg');
    background-size: contain;
    flex-shrink: 0;
}

.github {
    content: url('/res/github-logo.svg');
    background-size: contain;
    flex-shrink: 0;
}

.footer {
    margin-top: auto;
    /*bottom: 0;
    position: absolute;*/
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 40px;

    padding-bottom: 5px;
}

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

    gap: 10px;
    padding: 20px;
}

.show {
    opacity: 1;
}

.mizip_input {
    width: 100%;
    font-size: 1rem;
    padding: 15px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    box-sizing: border-box;
    resize:none;
}

.nobrad {
    border-radius: 0;
}