.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    padding: 100px;
    background-color: #6a707c;
    border: outset;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideIn 0.5s forwards;
    overflow-y: scroll;
    color: #fff !important;
}

.dialog *{
    color: #fff !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -500px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.custom-button {
    background-color: #2e2f4b;
    position: absolute;
    top: 5%;
    right: 5%;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-container button {
    margin: 0 10px;
}

.main {
    margin-top: 20px;
}

.dialog > h2{
    font-size: 22px !important;
    font-weight: bold;
}

.dialog > p{
    font-size: 18px !important;
    line-height: 1.7rem !important;
    font-family: 'PT serif';
}

.dialog > img{
    width: 80%;
    margin: 0 10% !important;
}

.closeDialogButton{

}

.showDial{
    cursor: pointer !important;
}

.carousels-out {
    width: 800px;
    height: 200px;
    position: relative;
  }

  .carousels-out * {
    margin: 0 auto !important;
  }

  .carousels-out .carousels-inner {
    width: 100%;
    height: 100%;
  }
  .carousels-out .carousels-inner .carousels-img {
    width: 400px;
    height: 200px;
    position: absolute;
    transition: 0.3s;
  }
  .carousels-out .carousels-inner .carousels-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .carousels-out .arrow{
    font-size: 42px !important;
  }
  .carousels-out .arrow > div {
    position: absolute;
    color: #fff;
    z-index: 9999;
    cursor: pointer;
    top: 84px;
  }
  .carousels-out .arrow .left {
    left: 0;
    font-size: 42px !important;
  }
  .carousels-out .arrow .right {
    left: 750px;
    font-size: 42px !important;
  }
  .carousels-out .carousels-button {
    width: 275px;
    height: 15px;
    position: absolute;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousels-out .carousels-button p {
    display: none;
    width: 15px;
    height: 15px;
    float: left;
    margin: 0 5px;
    cursor: pointer;
    background-color: silver;
  }
  .carousels-out .carousels-button p:first-child {
    display: none;
    background-color: #1486bb;
  }
  .carousels-out #last {
    transform: translateX(0);
    z-index: 9;
    opacity: 1;
  }
  .carousels-out #first {
    transform: translateX(200px) scale(1.3);
    z-index: 99;
    opacity: 1;
  }
  .carousels-out #second {
    transform: translateX(400px);
    z-index: 9;
    opacity: 1;
  }
  .carousels-out #left {
    transform: translateX(-100px);
    z-index: 1;
    opacity: 0;
  }
  .carousels-ut #right {
    transform: translateX(500px);
    z-index: 1;
    opacity: 0;
  }