/* shared */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.outer-card-section {
    padding: 1.6rem 2rem;
    background: #fff;
    border-radius: 10px;
}

.card-section {
    max-width: 980px;
    margin: 0 auto;
    background: transparent;
}
@media(max-width: 768px) {
    .outer-card-section {
        padding: 1rem 0.75rem;
    }
    .card-section {
        width: 100%;
    }
}

.card-grid {
    display: grid;
    grid-gap: 2rem 1.5rem;
}

@media(min-width: 968px) {
    .card-grid {
        grid-auto-flow: column;
    }

    .card-container:nth-child(3n + 1) {
        grid-column: 1;
    }

    .card-container:nth-child(3n + 2) {
        grid-column: 2;
    }

    .card-container:nth-child(3n + 3) {
        grid-column: 3;
    }
}
@media (max-width: 768px) {
    .card-grid {
        width: 100%;
        grid-gap: 0.75rem 1.5rem;
    }
}
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: minmax(auto, 290px);
    }
}

.offers {
    font-family: 'Big Shoulders Display', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0px;
    color: var(--popYellow);
    text-shadow: 0px 2px 10px #000001;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .offer-inner h3 {
        font-size: 14px;
        line-height: 14px;
    }

    .offer-inner h2 {
        font-size: 27px;
        line-height: 28px;
    }
}

.card-container {
    height: 100%;
    min-height: 100%;
    width: 290px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: transform 0.3s ease;
    transform: translateY(0);
    border-radius: 0.5rem;
    z-index:99;
}
@media(max-width:768px) {
    .card-container {
        width: 100%;
    }
}

.card-container-min {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #6d28d9;
    border-left: 8px solid #6d28d9;
    padding: 0.75rem;
}

.card-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap:2px;
}

.card-container-inner {
    height: 100%;
    min-height: 100%;
    width: 290px;
    display: flex;
    flex-direction: column;
}
@media(max-width: 768px) {
    .card-container-inner {
        width: 100%;
        flex-direction: row;
        padding: 6px;
    }
    .card-section {
        margin: 0;
        padding: 0.75rem 0.25rem;
    }
}

.card-container-inner-min {
    display:none;
}

.card-container:hover {
    transform: translateY(-8px);
}

.card-box,
.card-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 0.75rem;
}

.card-flex {
    justify-content: flex-start;
    align-items: center;
    flex: 1
}

.dynamic-text h3 {
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.75rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.card-flex p {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75rem;
    letter-spacing: -0.03em;
}
@media(max-width: 768px) {
    .dynamic-text h3 {
        font-size: 1.25rem;
    }
    .card-flex p {
        font-size: 0.875rem;
        line-height: 1.15rem;
    }
}

.card-container .card-box:last-child {
    margin: 1rem 0 1.25rem 0;
}

.card-container .card-box-button {
    margin: 1rem 0 1.25rem 0;
}
@media (max-width: 768px) {
    .card-container .card-box-button {
        margin: 0.7rem 0 0.7rem 0;
    }
}

.image-overlay {
    overflow: hidden;
    margin: 0 auto;
    padding: 2rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width:100%;
    margin-bottom: 0.75rem
}

.image-overlay img {
    width: 100%;
    transition: 0.5s all ease-in-out;
    border-radius: 8px;
    object-fit: contain;
    max-height: 120px;
    height: 120px;
}

/*.image-overlay:hover img {
    transform: scale(1.1);
}*/

@media(max-width: 768px) {
    .image-overlay {
        margin-bottom: 0;
        width: 76px;
        height: 76px;
        padding: 0.35rem;
        border-radius:10px;
    }
    .image-overlay img {
        height:100%;
        object-fit: contain;
    }
}

/* theme specific styling */

/* casino */
.casino-background {
    background-color: #343a40;
    background-image: url("../img/casino-bg.png"),
        linear-gradient(
            0deg,
            rgba(13, 19, 67, 1) 0%,
            rgba(39, 14, 46, 1) 50%,
            rgba(13, 19, 67, 1) 100%
        );
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto;
    font-family: "Quicksand", sans-serif;
}
.casino-finder-logo {
    margin-top: 20px;
    width: 340px;
}
@media(max-width:768px) {
    .casino-finder-logo {
        width: 260px;
        margin-top:10px;
    }
}
.casino-headline1 {
    color: #da53b1;
}

.casino-headline2 {
    color: #220c32;
}
.casino-btn {
    color: #fff;
    background: #febc04 !important;
}

.casino-container {
    box-shadow: 0 0 5px 5px #f7f3ff, 0 0 10px 10px #fff, 0 0 20px 10px #f7f3ff, 0 0 60px 20px #da53b1, 0 0 80px 30px #b960f0
}

.casino-image1 {
    position: absolute;
    top: 0;
    left: -78px;
    z-index: 100;
  }

  .casino-image1 img {
    width: 10rem;
    transform: rotate(10deg);
  }

  .casino-image2 {
    position: absolute;
    bottom: -87px;
    right: -84px;
    z-index:100;
  }

  .casino-image2 img {
    width: 9rem;
    transform: rotate(10deg);
  }

/* Sweepstakes */
.sweepstakes-background {
    background: #008b16;
    font-family: "Quicksand", sans-serif;
}
.sweepstakes-background::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../img/sweepstakes-bg.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: -2;
}

.sweepstakes-background::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: rotate(0) translateX(-50%) translateY(-50%);
    transform-origin: 0 0;
    width: 100vw;
    height: 100vh;
    background: repeating-conic-gradient(#008b16, #007b12 5%);
    content: "";
    z-index: -10;
}
.sweepstakes-finder-logo {
    width: 200px;
    margin-top: 30px;
}
.sweepstakes-finder-logo {
    width: 200px;
}

.sweepstakes-headline1 {
    color: #fe042a;
}

.sweepstakes-headline2 {
    color: #0f0f0f;
}
.sweepstakes-btn {
    color: #2e2e2e;
    background: #ecce68 !important;
    background-image: linear-gradient(
        to bottom,
        #e0aa3e,
        #e6bc52,
        #ecce68,
        #f2e07e,
        #f9f295
    ) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.sweepstakes-container {
    box-shadow: 0 0 40px 50px rgb(255 255 255 / 28%);
}
@media (min-width: 768px) {
    .sweepstakes-outer-container{
      border: 14px dotted #e6bc52;
      padding:0.5rem;
    }
  }

  .sweepstakes-image1 img {
    width: 24rem;
    transform: rotate(-12deg);
    position: absolute;
    left: -200px;
    bottom: -115px;
  }

  .sweepstakes-image2 img {
    width: 13rem;
    transform: rotate(-20deg);
    position: absolute;
    right: -137px;
    top: -70px;
  }
/* general */
.general-background {
    padding-top: 20px;
    background: lightgray;
}
.general-background::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: rotate(0) translateX(-50%) translateY(-50%);
    transform-origin: 0 0;
    width: 100vw;
    height: 100vh;
    background: repeating-conic-gradient(#fff, #efefef 5%);
    content: "";
    z-index: -1;
}
.general-box1 {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(177deg, #56017c 85px, rgba(0, 0, 0, 0) 86px);
    z-index: -1;
}
.general-box2 {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(-3deg, #ffbe35 128px, rgba(0, 0, 0, 0) 130px);
    z-index: -1;
}
.general-finder-logo {
    width: 400px;
}
@media(max-width:768px) {
    .general-finder-logo {
        width: 268px;
    }
}
.general-headline1 {
    color: #fe042a;
}
.general-btn {
    color: #fff;
    background: #56017a !important;
}

.general-container {
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/* basic */
.basic-background {
    /*background-image: url("../img/basic-bg.svg");
    background-attachment: fixed;
    background-repeat: repeat;*/
    background: #04420d;
}
.basic-headline1 {
    color: #fe042a;
}
.basic-btn {
    color: #fff;
    background: #d81b60 !important;
}

.basic-container {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
 }