

.buttons {
    padding-top: 5px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 88px);
    gap: 3px;
    align-items: center;
    justify-content: center;
}

.buttons >* {
    height: 31px;
}


.buttons img {
    width: 88px;
    height: 31px;
    border: 1px solid #00000000;
    border-radius: 3px;
}

.buttons img:hover {
    /* transform: scale(95%); */
    /* box-shadow: 0px 0px 6px var(--highlight-color); */
    border: 1px solid var(--highlight-color);
}


#buttons {
    width: 55%;
    height: fit-content;
}


#f1 {
    width: 210px;
    filter:saturate(80%);
    image-rendering: auto;
    z-index: 0;
    position: absolute;
    right: 20px;
    bottom: 0px;
}



#tmaring {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
}

#sitebuttons-box {
    position: relative;
    width: 380px;
}

#sitebuttons-box .box-titled {
    position: relative;
    z-index: 1;
}


#a-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

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

#flex-column {
    display: flex;
    flex-direction: column;
    width: 45%;
    gap: 5px;
    margin-bottom: 200px;
    /* justify-content: space-between; */
}

#rings {
    /* width: 40%; */
    height: fit-content;
}

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


#main {
    background-image: linear-gradient(to top, var(--background-color) 0%, rgba(255, 255, 255, 0) 40%);
}


.plaid-bg {
    background-image: var(--plaid-pattern-1);
    background-color: var(--box-background-color);
    background-blend-mode: color-dodge;
}

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

    .header {
        order: 1;
    }

    .top {
        order: 2;
    }

    .main {
        order: 3;
    }

    .bott {
        order: 4;
    }

    footer {
        order: 5;
    }

    .buttons, #webrings {
        justify-content: center;
    }

    #mybuttons-container {
        padding-top: 200px;
    }

    #mybuttons-box {
        order: 2;
        width: 100%;
    }

    #mybuttons {
        flex-direction: row;
    }

    #f1 {
        order: 3;
    }

    #buttons, #flex-column {
        width: 100%;
        /* gap: 10px; */
    }

    .flex-column-mobile {
        gap: 5px !important;
    }

}