body {
    margin-top: 100px;
    padding: 0;
    background-color: #fff;
    background-image:
        linear-gradient(rgba(0,0,0,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #7FA6C9;
}

.work-list {
        width: 100%;
        padding: 20px 0 60px;
}

.workpage-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 4px 4px 0 var(--blue-light);
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
      animation: slideUp 0.6s ease both;
}

.workpage-content h1, .workpage-content h2 {
    text-align: center;
    width: fit-content;
    padding-top: 50px;
    margin: 0 auto 30px;
    color: #7FA6C9;
}

.workpage-content h2 {
    position: relative;
}

.workpage-content h2:after {
  content: "";
  position: absolute;
  display: grid;
  place-items: center;
  width: 120%;
  left: -10%;
  bottom: 0;
  height: 7px;
  background: -webkit-repeating-linear-gradient(-45deg, #B6D0E3, #B6D0E3 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #B6D0E3, #B6D0E3 2px, #fff 2px, #fff 4px);
}

.workpage-content img {
    width: 200px;
    height: auto;
    margin: 20px;
    border-radius: 20px;
}

.workpage-content img:hover {
    opacity: 0.5;
}

.work-list {
    width: 80%;
    height: auto;
    margin: 50px auto;
    padding: 20px 0 100px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.212);
}

.work-box {
    display: flex;
    flex-direction: column;
}

.work-box a {
    text-decoration-line: underline;
    color: #7FA6C9;
    font-weight: bold;
    padding: 10px auto;
}

.work-box a:hover {
    opacity: 0.5;
}

.work-box h3 {
    color: #7FA6C9;
    text-align: left;
    padding: 0;
    margin: 0;
}

.site-box, .banner-box, .other-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.accordion {
    display: contents;
    align-items: center;
    width: fit-content;
    max-width: 500px;
    background-color: #ffffff;
}

.accordion:not([open]) {
    margin-bottom: 7px;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    margin-bottom: 20px;
    border-radius: 30px;
    background-color: #a3c4db;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion[open] summary::after {
    transform: rotate(225deg);
}

.accordion p {
    width: 220px;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 0;
    color: #333;
    text-align: left;
  overflow-wrap: break-word;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}

footer {
    display: grid;
    place-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

footer a {
    color: #B6D0E3;
}

#modal-container {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, .6);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

#modal-container > div {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

#modal-container > div > img {
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 30px);
  width: auto;
  height: auto;
}

img.popup {
  cursor: pointer;
}

body.modal-open header {
  display: none;
}

@media screen and (max-width: 768px) {
    .workpage-content h1, .workpage-content h2 {
        width: 100%;
        margin: 30px 0;
        padding: 20px 100px 60px;
    }
}