html, body {
    background: #121212;
    font-family: "Courier", "trebuchet ms", arial;
    font-size: 14px;

    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: table;
}

.centerdiv {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.horizontal-center {
    display: inline-block;
    margin: 0 auto;
}

#content {
    background: #1c1c1c;
    color: rgba(255, 255, 255, 0.38);

    width: 100%;
    max-width: 525px;
    height: 332px;
    padding: 20px;

    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: auto;
}

#content a {
    color: rgba(255, 255, 255, 0.87);
    text-decoration: none;
}
#content a:hover {
/*    text-decoration: underline;*/
    text-decoration-color: rgba(255, 255, 255, 0.60);
}

hr {
    color: rgba(255, 255, 255, 0.38);
}

img {
    width: 100%;
}

#websites {
    background-color: inherit;
    width: 100%;

    padding: 0 20px 20px 20px;
    margin:  0  0    0  -20px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
/*    justify-content: space-around;*/
}

.website-item {
    margin: 0 2px;
}


@media only screen and (max-width: 565px) {
    #websites {
        padding: 0 10px 10px 10px;
        margin:  0  0    0  -10px;
    }
    
    #content {
        padding: 10px;
        width: calc(100% - 20px);
        height:
            calc(
                calc(
                    calc(
                        calc(100vw) - 20px
                    ) * calc(332/525)
                ) - 20px
            );
    }
}


@media only screen and (max-width: 545px) {
    #content {
        width: calc(100% - 20px);
        height:
            calc(
                calc(
                    calc(
                        calc(100vw) - 20px
                    ) * calc(332/525)
                )
            );
    }
}

@media only screen and (max-width: 200px) {
    #content {
        width: calc(200px - 20px);
        height:
            calc(
                calc(
                    calc(
                        calc(200px) - 20px
                    ) * calc(332/525)
                )
            );
    }
}