body {
    font-family: serif;
    color: #6d563a;
    background-color: #f0fafc;
}

main {
    margin: 200px 0 30px 0;
    overflow: hidden;
}

.slideshow img {
    display: none;
    width: 800px;
    margin: auto;
}

.slideshow img.active{
    display: block;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 10px;
  flex-wrap: wrap;
}

.button {
  background-color: #80d7e3;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  z-index: +2;
}

.button:hover {
  background-color: #007a92;
}

.top{
    text-decoration: underline 2px #80d7e3;
    text-underline-offset: 20%;
    text-align: center;
}

.news {
    background-color: #ffffff;
    padding: 5px 20px 20px 20px;
}

.news table {
    margin: auto;
}

.news .date {
    color: #0097b2;
    font-weight: bold;
    padding: 10px;
}

.news .title {
    color: #6d563a;
    font-weight: bold;
    padding: 5px 5px 5px 10px;
}

.problems{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.containers {
    display: grid;
    place-items: center;
    row-gap: 10px;
}

.container span {
    color: #0097b2;
    font-weight: bold;
}

.container {
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: #ffffff;
    height: 50px;
    width: 40%;
    border-radius: 20px;
}

.box-1.displayed {
    animation: fadeInLeft 3s forwards;
}

.box-2.displayed {
    animation: fadeInRight 3s forwards;
}

.box-3.displayed {
    animation: fadeInLeft 3s forwards;
}

.box-4.displayed {
    animation: fadeInRight 3s forwards;
}

.box-5.displayed {
    animation: fadeInLeft 3s forwards;
}

.bottom {
    text-align: center;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(100);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}

@media screen and (max-width:1020px) and (min-width: 768px) {
    .container {
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        background-color: #ffffff;
        height: 50px;
        width: 80%;
        border-radius: 10px;
        font-size: 14px;
    }
}

.problems span{
    font-weight: bold;
    color: #0097b2;
}

@media screen and (max-width: 768px) {
    .slideshow img {
        width: 100%;
    }
    
    .cta-buttons {
        display: grid;
        place-items: center;
        row-gap: 10px;
    }

    .button {
        margin-bottom: 10px;
        width: 80%;
        text-align: center;
    }

    .news .title {
        font-size: 14px;
    }

    .containers {
        display: grid;
        place-items: center;
        row-gap: 10px;
    }

    .container {
        text-align: center;
        padding: 16px 10px 10px 10px;
        box-sizing: border-box;
        background-color: #ffffff;
        height: 50px;
        width: 90%;
        border-radius: 10px;
        font-size: 12px;
    }
    
    .bottom h2{
        font-size: 16pt;
    }

    .bottom p {
        font-size: 12px;
    }
}
