html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 3px;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 3px solid rgb(252 211 77);
    display: block;
    box-sizing: border-box;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    vertical-align: middle;
}

h2 {
    color: rebeccapurple;
}

#where,
#when,
#who {
    padding: 10% 0px;
}

.sectionTitle {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-size: 2.3rem;
    margin-bottom: 5%
}

.cardTitle {
    font-family: "Vast Shadow", serif;
    font-weight: 400;
    font-style: normal;
}

.starsName {
    font-family: "Yellowtail", cursive;
    font-style: normal;
    font-weight: bold;
    font-size: 2.5rem;
    margin: 1rem;
    letter-spacing: 1px;
    color: rebeccapurple;
}


/* WHAT */

#what {
    background-image: url(../imgs/bg.webp);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
}

#whatContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(3px);
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    color: white;
}

#whatContainer h1 {
    background-image: linear-gradient(90deg, #5e35b1, #673ab7, #7e57c2, #9c27b0, #ab47bc, #8e24aa, #7b1fa2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-animation 5s linear infinite;
    background-size: 200% auto;
    text-shadow: 1px -2px 20px lightcoral;
    transform: rotate(-10deg);
    font-size: 4rem;
    font-family: "Alex Brush", cursive;
    font-weight: bold;
    font-style: normal;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#whatContainer h2,
#whatContainer p {
    color: rebeccapurple;
}

.corner1 {
    position: absolute;
    left: 0;
    top: 0;
}

.corner2 {
    position: absolute;
    right: 0;
    top: 0;
}

.corner3 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.corner4 {
    position: absolute;
    right: 0;
    bottom: 0;
}

#whatContainer div {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    justify-content: space-evenly;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* WHAT */

/* save the date btn */

.btn {
    --btn-color: rgb(124 45 18);
    --btn-bg: rgb(252 211 77);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--btn-bg);
    color: var(--btn-color);
    padding: 14px 22px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: system-ui;
    border: 2px solid var(--btn-color);
    transition: 100ms ease;
    box-shadow: 5px 5px 0 0 var(--btn-color);
    text-decoration: none;
}

.btn--secondary {
    --btn-color: #444;
    --btn-bg: #fafafa;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn:hover {
    box-shadow: 2px 2px 0 0 var(--btn-color);
}

.btn:active {
    transition: 50ms ease;
    box-shadow: 0 0 0 0 var(--btn-color);
}

.btn:focus-visible {
    outline: 0;
    --btn-color: #002cc8;
}

/* save the date btn */


/* SCROLL TO NEXT SECTION */

#scrollIndicator {
    padding-top: 70px;
}

#scrollIndicator span {
    position: absolute;
    bottom: 35px;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid rebeccapurple;
    border-bottom: 1px solid rebeccapurple;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/* SCROLL TO NEXT SECTION */

#when {
    background-image: url(../imgs/bg2.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
}

#cd_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
}

#cd_container p {
    border: 2px solid gold;
    border-radius: 50%;
    padding: 20px;
    margin: 10px;
    height: 5rem;
    width: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}



/* WHERE */

.whereCard {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

.eventContainer {
    position: relative;
    width: 44%;
    float: left;
    border: 1px solid gold;
    margin: 0px 10px;
    background-color: white;
    color: black;
    box-shadow: 4px 4px 10px rebeccapurple;
    padding: 15px 0px;
    /* background: linear-gradient(45deg,#F17C58, #E94584, #24AADB , #27DBB1,#FFDC18, #FF3706);
    background-size: 600% 100%;
    animation: gradient 16s linear infinite;
    animation-direction: alternate; */
}

/* @keyframes gradient {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 100%
    }
} */

.eventContainer span {
    position: absolute;
    top: 3%;
    right: 5%;
    font-size: 3rem;
    opacity: 30%;
    rotate: 341deg;
}






/* WHO */

.whoCard {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    height: 100%;
}

.peopleContainer {
    position: relative;
    width: 44%;
    float: left;
    border: 1px solid gold;
    margin: 0px 10px;
    background-color: white;
    color: black;
    box-shadow: 4px 4px 10px rebeccapurple;
    padding: 15px 0px;
}

/* WHO */


#joinUs{
    background-image: url(../imgs/bg2.jpg);
    width: 100%;
    background-size: cover;
    background-position: right;
}

#joinUsContainer{
    height: 100%;
    background: linear-gradient(54deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 17px gold;
    padding: 15% 0px;
}



@media only screen and (max-width: 600px) {
    #where,
    #when,
    #who {
        padding: 20% 0px !important;
    }

    .sectionTitle {
        margin-bottom: 10% !important;
    }


    .whereCard {
        flex-direction: column;
    }

    .eventContainer {
        width: 95%;
        margin: 10px 0px;
    }


    .whoCard {
        flex-direction: column !important;
    }

    .peopleContainer {
        width: 95% !important;
        margin: 10px 0px !important;
    }
}
