html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'roboto', sans-serif;
  letter-spacing: 0.03em;
}

.container {
    max-width: 912px;
    margin: 0 auto;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .container {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media (max-width: 768px) {
    #intro {
        flex-direction: column;
    }
}

.navbar {
    align-content: center;
    height: 64px;
    background-color: #000000;
}

.navbar-brand {
    text-decoration: none;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-item {
    margin: 0px 8px;
    font-size: 16px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #a0a0a0;
}

.active {
    color: #ffffff
}

#intro {
    display: flex;
    align-items: center;
    padding: 20px 0px;
    gap: 10px;
}

#intro-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

#intro-profile-name {
    font-size: 24px;
    font-weight: 600;
    margin: 5px 0px;
}

#intro-profile-pos {
    color: #a0a0a0;
    margin: 5px 0px;
}

#intro-profile-link {
    display: flex;
    align-items: center;
    margin: 5px 0px;
    gap: 5px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 18px;
    background-color: #fafafa;
}

.btn-icon:hover {
    cursor: pointer;
    background-color: #d8d8d8;
}

#intro-text {
    flex: 1;
    font-size: 18px;
    font-weight: 350;
    line-height: 1.3;
}

.section {
    border-top: 1px solid #a0a0a0;
    padding: 20px 0px;
}

.first {
    border-top: none;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-contents {
    font-size: 16px;
    font-weight: 350;
    line-height: 1.3;
}

.update {
    display: flex;
    padding: 10px 0px;
}

.update-date {
    margin-right: 20px;
    color: gray;
    font-weight: bold;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 10px;
    align-items: space-between;
}

.card {
    width: calc(50% - 5px);
    min-width: 384px;
    position: relative;
}

.card-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-body-wrapper {
    display: flex;
    align-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-body {
    width: 100%
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0px 5px 0px;
}

.card-info {
    display: flex;
    justify-content: space-between;
}

.card-info-date {
    font-size: 15px;
    color: gray;
}

.cv {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
}

.cv-title {
    font-weight: bold;
    font-size: 18px;
}

.cv-date {
    color: gray;
    text-align: right;
}

.cv-contents {
    padding: 10px 0px;
}

.post-title {
    font-size: 30px;
    margin: 10px 0px;
}

.post-date {
    color: lightgray;
    font-size: 16px;
    margin: 10px 0px;
    display: flex;
}

.post-text {
    font-size: 17px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.tags {
    display: flex;
    gap: 2px;
}

.tags a {
    color: inherit;
    text-decoration: none;
}

.tag {
    border: none;
    font-size: 14px;
    font-weight: bold;
    padding: 0px 5px;
    border-radius: 5px;
    background-color: lightgray;
    display: flex;
    align-items: center;
    z-index: 2;
}

.tag:hover {
    background-color: gray;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.pagination a {
    color: inherit;
    text-decoration: none;
}

.pagination-btn {
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
}

.current {
    color: white;
    background-color: black;
}

.footerbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    background-color: #000000;
}

.footerbar-text {
    color: #ffffff;
}

.registration {
    text-align: center;
}

.registration button {
    background-color: inherit;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn {
    background-color: black;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    padding: 5px 10px;
}

.form-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.form-title {
    padding-bottom: 20px;
}

.form-content {
    display: flex;
    padding-top: 20px;
    gap: 40px;
    max-height: 80vh;
}

.form-bottom {
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
}

.editor {
    flex: 1;
    border: 1px solid;
    padding: 10px;
}

.preview {
    flex: 1;
    border: 1px solid;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-wrap: break-word;
    padding: 10px;
}

.small-btn {
    margin-left: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: black;
    color: white;
}

img[alt="Image"] {
    width: 100%;
}
