/* -------------------------------------------------- */

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

#main {
    width: 100%;
    max-width: 600px;
}

/* -------------------------------------------------- #css-profile */

@media only screen and (max-width: 1000px) {
    #css-profile {
        padding: 0 1rem;
    }
}

#css-profile h1,
#css-profile h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

#css-profile h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

#css-profile p {
    font-size: 0.8rem;
    color: hsl(0, 0%, 40%);
}

#css-profile a {
    font-size: inherit;
    color: hsl(0, 0%, 60%);
}

#css-profile ul {
    list-style-position: outside;
    padding-left: 1rem;
}

#css-profile ul li {
    font-size: 0.7rem;
    color: hsl(0, 0%, 40%);
}

#css-profile section {
    padding: 4rem 0;
    border-bottom: solid 1px hsla(0, 0%, 50%, 0.1);
}

#css-profile article {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

@media only screen and (max-width: 1000px) {
    #css-profile article {
        flex-direction: column;
        gap: 0.5rem;
    }
}

#css-profile article img {
    width: 40px;
    height: 40px;
}

#css-profile article content {
    width: 100%;
}

#css-profile article headline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (max-width: 1000px) {
    #css-profile article headline {
        flex-direction: column-reverse;
        align-items: start;
    }
}

/* -------------------------------------------------- #css-contact */

@media only screen and (max-width: 1000px) {
    #css-contact {
        padding: 0 1rem;
    }
}

#css-contact a {
    text-decoration: none;
}

#css-contact button {
    margin: 1rem 0;
    border-radius: 12px;
    padding: 0 0 2px 1rem;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    border: solid 1px hsla(0, 0%, 50%, 0.15);
    background: hsla(0, 0%, 100%, 0.05);
    transition: all ease 0.2s;
}

#css-contact button:hover {
    border: solid 1px hsla(0, 0%, 50%, 0.35);
    background: hsla(0, 0%, 100%, 0.15);
}

#css-contact img {
    width: 32px;
}

#css-contact p {
    color: var(--color-tx);
}

#css-contact span {
    color: grey;
}

/* -------------------------------------------------- #css-join */

@media only screen and (max-width: 1000px) {
    #css-join {
        padding: 0 1rem;
    }
}

#css-join a {
    text-decoration: none;
}

#css-join div.join-item {
    margin: 1rem 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 21/9;
}

@media only screen and (max-width: 1000px) {
    #css-join div.join-item {
        aspect-ratio: 16/9;
    }
}

#css-join div.join-item:hover {
    border: solid 1px hsla(0, 0%, 50%, 0.35);
}

#css-join img.join-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* -------------------------------------------------- #css-miniblogs */

@media only screen and (max-width: 1000px) {
    #css-miniblogs {
        padding: 0 1rem;
    }
}

#css-miniblogs article {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    position: relative;
    background: hsla(0, 0%, 100%, 0.1);
    font-size: 0.9rem;
}

#css-miniblogs h4 {
    font-size: 1.0rem;
    font-weight: 500;
}

@media only screen and (max-width: 1000px) {
    #css-miniblogs article {
        font-size: 0.7rem;
    }

    #css-miniblogs h4 {
        font-size: 0.9rem;
    }
}

#css-miniblogs img {
    width: 100%;
    border-radius: 6px;
}

#css-miniblogs a {
    font-size: inherit;
    color: inherit;
}


#css-miniblogs a div {
    position: relative;
    background: var(--color-bg);
    border: solid 1px hsla(0, 0%, 100%, 0.2);
    border-radius: 6px;
    font-size: inherit;
    padding: 1rem;
}

/* -------------------------------------------------- */