body{
    background-color: var(--footer);
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

p{
    margin: 0;
}

.main-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 95px;
    /* padding-top: 0; */
    background-color: #ffffff;
    gap: 10px;
}

.flex-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px;
}

.flex-column{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.flex-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.blockpadding{
    padding: 0 !important;
}

.modal{
    position: fixed;
    z-index: 10000;
    height: 100vh;
    width: 100vw;
    top: 0;
    left:0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal[hidden]{
    display: none;
}

.modalcontent{
    background-color: var(--secondary);
    border-radius: 3px;
    width: 90vw;
    max-width: 800px;
    min-height: 100px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subsite{
    z-index: 10000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subsite-content{
    height: 100vh;
    height: 100svh;
    width: 95vw;
    max-width: 600px;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    overflow-y: auto;
}

.subsite[hidden]{
    display: none;
}

.scrollsubsite{
    z-index: 10000;
    position: fixed;
    top: 0;
    bottom: 0px;
    right: 0;
    gap: 15px;
    padding-left: 10px;
    width: 85vw;
    max-width: 600px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-box-shadow: -5px 0px 15px 5px rgba(0,0,0,0.3); 
    box-shadow: -5px 0px 20px 5px rgba(0,0,0,0.6);
    transition: all 0.25s ease-in-out;
}

.scrollsubsite[hidden]{
    opacity: 0;
    transform: translateX(110vw);
}

.scrollsubsite-content{
    max-height: 80vh;
    max-height: 80vh;
    flex-grow: 1;
}

.article{
    width: 90vw;
    max-width: 800px;
}

.abutton{
    padding: 5px 10px;
    text-decoration: none;
    color: var(--text-01);
    background-color: var(--background-02);
    border-radius: 3px;
    transition: 0.25s ease-in-out;
}

.abutton:hover{
    background-color: var(--button-hover2);
}

.agreen{
    background-color: green;
    color: #eeeeee;
}

.contentcontainer{
    border-radius: 3px;
    background-color: var(--background-01);
}

.containercaption{
    font-size: large;
}

.tile{
    width: 45vw;
    max-width: 200px;
    height: 100px;
    /* border: 4px solid #eeeeee; */
    border: none;
    background-color: #efefef;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    word-wrap: break-word;
}

.tile label{
    width: 100%;
}

.tile:hover{
    /* background-color: #9de0ff; */
    background-color: #f88c00;
}

.tile-rect{
    width: 200px;
    height: 50px;
    /* border: 4px solid #eeeeee; */
    border: none;
    background-color: #efefef;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}

.tile img{
    height: 50px;
}

.tile:hover, .tile-rect:hover{
    /* background-color: #9de0ff; */
    background-color: #f88c00;
}

.footer p, .footer h3{
    margin: 0;
}

@media screen and (max-width: 1020px) {
    .footer{
        min-height: 100px;
        padding-bottom: 90px;
    }

    .main-content{
        padding: 0;
    }

    .tile label{
        font-size: 14px;
    }
}

