.menu-header{
    padding-top: 1rem;
}

#main-home {
    display: flex;
    flex-direction: row;
    gap: 5%;
}

nav.btn-soft-return {
    margin: 2rem 2rem 1rem 2rem;
    width: 10rem;
}

nav.btn-soft-return a{
    font-family:var(--font-family-helvetica-regular);
    color: #202020;
    text-decoration: none;
    font-size: 15px;
}

#main-home section {
    width: 60%;
    height: max-content;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#main-home section .post-thumbnail {
    width: 100%;
    height: 35rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

#main-home section .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    background-color: transparent;
}

.wp-block-heading {
    margin-left: 1rem;
}

#main-home section p {
    margin-left: 1rem;
    margin-right: 1rem;
}

#main-home section .post-title {
    font-weight: bolder;
    margin-left:  1rem;
    margin-right: 1rem;
    width: 90%;
    font-size: 3rem;
}

#main-home section .post-meta {
    font-family: var(--font-family-helvetica-regular);
    font-size: 15px;
    text-transform: lowercase;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-bottom: 0.5px solid black;
    margin-top: 1rem;
}

#main-home section .post-meta .post-author {
    margin-left: 1rem;
}

#main-home section .post-meta .post-date {
    margin-right: 1rem;
}


#main-home aside {
    width: 30%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

aside h2 {
    margin-bottom: 3rem;
}

.surround {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.surround .surrounded {
  padding: 16px 16px;
  border: none;
  background: none;
  outline: none;
  color: black;
  text-decoration: none;
}

.surround svg {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#svg-soft {
  width: 100%;
}

.surround path {
  stroke: #02326c;
  stroke-width: 3px;
  stroke-dasharray: 0 1500;
}

.surround:hover path {
  animation: draw 1s forwards;
}

@keyframes draw {
  from {
    stroke-dasharray: 0 1500;
  }

  to {
    stroke-dasharray: 1500 1500;
  }
}

aside ul.post-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.a-post {
    margin-bottom: 1rem;
}

aside ul li h3.post-title, aside .post-date{
    font-family: var(--font-family-helvetica-regular);
    text-transform: uppercase;
    width: 17rem;
    text-align: left;
}

aside ul li h3.post-title {
    font-size: 17px;
    margin-top: -10px;
}

aside .post-date {
    margin-bottom: 1rem;
    font-size: 14px;
}

aside ul li h3.post-title a {
    color: var(--black);
    text-decoration:none;
}

aside ul li h3.post-title a:hover {
    text-decoration: underline;
}

.cropped {
    width: 70%;
    height: auto;
    overflow: hidden;
}

.cropped img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hidden-post {
    display: none;
}

#toggle-posts-btn {
    text-decoration: none;
    cursor: pointer;
    margin: 2rem auto;
    border: 1px solid black;
    width: fit-content;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    border-radius: 25px;
    border: 1.2px solid black;
}

#toggle-posts-btn:hover {
    background-color: black;
    color: white;
    transition: ease-in 0.25s;
}

@media (max-width: 1150px) {
    #main-home {
        display:block;
    }

    #main-home section {
        width: 90%;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #main-home section .post-thumbnail {
        width: 100%;
    }

    .wp-block-heading {
        width: 100%;
    }
    
    #main-home section p {
        width: 100%;
    }

    #main-home aside {
        width: 100%;
        margin-top: 5rem;
    }

    #main-home section .post-meta {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #main-home section .post-meta .post-date {
        margin-left: 1rem;
    }
}


@media (max-width: 500px) {
    #main-home section .post-thumbnail {
        width: 100%;
        height: 12rem;
    }

    #main-home section p {
        margin-left: 0rem;
        margin-right: 0rem;
    }

    #main-home section .post-title {
        margin-left:  0rem;
        margin-right: 0rem;
        font-size: 2rem;
    }

    #main-home section .post-meta .post-author {
        margin-left: 0rem;
    }

    #main-home section .post-meta .post-date {
        margin-left: 0rem;
    }
    
    .wp-block-heading {
        margin-left: 0rem;
    }
}
