/* Common */
body {
    background-color: #000022;
    color: white;
    font-family: sans-serif;
}

#main {
    margin: 60px auto;
    border-radius: 16px;
    border: 4px solid whitesmoke;
    max-width: 640px;
    padding: 16px;
    background-color: #111111;
}

hr {
    margin: 16px auto;
    width: 90%;
    border-color: #333;
}

a {
    color: white;
}

button {
    background: #222;
    color: white;
    border: 2px solid #444;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
}

button:hover, button.active {
    background: #333;
}

/* Homepage */

.link-box {
    width: 200px;
    height: 200px;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #fff;
}

.link-box .text-container {
    position: absolute;
    bottom: -70px;
    transition: bottom 0.3s ease;
}

.link-box:hover .text-container {
    bottom: 0;
}

.link-box .title {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    font-size: 1.2em;
}

.link-box .description {
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 0.9em;
    padding: 10px;
    height: 52px;
}

.link-boxes, #hiddenboxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contactico {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.contactico svg {
    width: 75%;
    height: 75%;
}

.contact {
    display:flex;
    align-items: center;
    gap: 16px;
}

.contacts {
    display:flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes start {
    0% {
        opacity: 0;
        margin: 200px auto;
    }
    100% {
        opacity: 1;
        margin: 60px auto;
    }
}

/* Blog stuff */

.toolbar {
    margin-bottom: 10px;
}

.toolbar button {
    padding: 6px 10px;
    margin-right: 4px;
}

.contenteditable {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 8px;
    min-height: 200px;
}

vr {
    border-left: 1px solid #444;
    height: 20px;
    margin-right: 8px;
}