@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Cormorant+Garamond:wght@300;400&display=swap');

@font-face {
    font-family:"AlexBrushRegular";
    src:url("../../fonts/AlexBrushRegular.ttf") format('truetype');
    font-weight:normal;
    font-style:normal;
}

* {
    margin: 0;
    padding: 0;
}

html {
    background-color: #efefef;
    height: 100%;
}

body {
    max-width: 85%;
    margin: 25px auto;
    font-family: 'Cormorant Garamond', serif;

    font-size: 20px;
}

main {
    background-color: white;
    text-align: center;
    box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -webkit-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -moz-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    margin-top: 100vh;
    z-index: 1;
}

h1 {
    margin: 40px;
}

h2 {
    margin-bottom: 20px;
}

h3 {
    margin-bottom: 15px;
}

p {
    font-size: 20px;
}

.content-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 400px;
    margin: 25px;
    position: relative;
}

main img {
    width: 50px;
}

td {
    width: 200px;
    font-weight: 600;
}

a {
    background-color: white;
    color: black;
    border: 1px solid #525252;
    margin: 10px;
    padding: 8px 20px;
    text-decoration: none;
    transition: 0.5s;
    border-radius: 5px;
}

a:hover {
    background-color: #525252;
    color: white;
}

.card {
    margin: 0 auto;
    display: block;
    text-align: center;

    object-fit: contain;
    position: fixed;
    top: 0;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    max-width: 650px;
    height: 95vh;
    width: 100%;
    justify-content: center;
}

img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.card h3 {
    height: 5vh;
    margin: auto;
}

hr {
    width: 60%;
    position: absolute;
    bottom: 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.radiobutton-div {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.selection-div {
    margin: 20px auto;
}

.radiobtn {
    cursor: pointer;
    height: 20px;
    width: 105px;
    background-color: white;
    border: 1px solid #525252;
    padding: 20px 40px;
    margin: 5px;
    color: rgb(0, 0, 0);
    transition: 0.5s;
    font-size: 16px;
    border-radius: 5px;
}

.radiobtn:hover {
    background-color: #525252;
    color: white;
}

input[type="radio"]:checked+label {
    background-color: #525252;
    color: white;
}

input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.select-persons {
    height: 40px;
    width: 50%;
    background-color: rgb(245 245 245);
    border-radius: 5px;
}

option {
    padding: 10px;
}

textarea {
    max-width: 100%;
    min-width: 50%;
    width: 100%;
    height: 300px;
    background-color: rgb(245 245 245);
    border-radius: 5px;
    font-size: 15px;
}

form {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 25px;
}

button {
    border: 1px solid black;
    padding: 10px 40px;
    background: white;
    color: black;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.5s;
    font-weight: 700;
    border-radius: 5px;
}

button:hover {
    background: #525252;
    border: 1px solid #525252;
    color: white;
}

.clock {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    font-size: 75px;
    width: 600px;
    margin-bottom: 20px;
}

.clock-div {
    margin: 0;
}

.clock-div h2 {
    font-size: 15px;
    text-align: center;
}

.gifts {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 300px
}


@media only screen and (max-width: 912px) {
    .radiobutton-div {
        display: grid;
        grid-template-columns: 100%;
    }

    .radiobtn {
        width: auto;
    }

    form {
        max-width: 450px;
        width: 100%;
    }

    textarea {
        resize: none;
    }

    img {
        width: 100%;
        margin: 0;
    }

    body {
        max-width: 100%;
        font-size: 15px;
    }

    .clock {
        font-size: 11vw;
        max-width: 100%;
    }

    .card {
        display: flex;
        flex-direction: row;
        align-content: stretch;
        flex-wrap: wrap;
        align-items: flex-end;
        height: 90vh;
        width: 100%;
    }

    .clock p {
        font-size: 5vw;
    }

    p {
        font-size: 15px;
    }

    .gifts {
        grid-template-columns: 100%;
        gap: 25px;
        width: auto;
    }

    td {
        width: 115px;
    }

    .card h3 {
        display: flex;
        margin: auto;
        align-items: center;
        text-align: center;
        justify-content: center;
        height: auto;
    }

}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100% !important;
}

.swiper-slide img {
    display: block;
    width: 89%;
    height: 100%;

    object-fit: contain;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: black;
    font-size: 20px !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-button-prev {
    left: 0 !important;
}


.slideshow-container {
    max-width: 500px;
    max-height: 350px;
    position: relative;
    margin: auto;

}

.mySlides {
    height: 100%;
    width: 100%;
}

.mySlides img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin: 0;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    border: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.568);
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(255, 255, 255, 0.89);
    color: black;

}


.dot {
    display: none;
}
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media only screen and (max-width: 300px) {
    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

.top a {
    display: inline-block;
    text-align: center;
}

.top {
    position: absolute;
    top: 15px;
    text-align: center;
    padding: 5px;
    background: rgb(255, 255, 255);
    left: 15px;
    display: table;
    z-index: 3;
    box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -webkit-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -moz-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
}

.popup button {
    display: inline-block;
    text-align: center;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 5px;
    background: rgb(255, 255, 255);
    display: table;
    z-index: 3;
    box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -webkit-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    -moz-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
}

@media only screen and (max-width: 500px) {
    .top {
        position: absolute;
        top: 15px;
        margin: 0 auto;
        text-align: center;
        padding: 5px;
        background: rgb(255, 255, 255);
        left: 0;
        display: table;
        right: 0;
        z-index: 3;
        box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
        -webkit-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
        -moz-box-shadow: 0px 0px 6px 5px rgba(214, 209, 209, 0.7);
    }
}

.info a{
    border: 0;
    text-decoration: underline;
    padding: 0;
     margin: 0;
     color: rgb(56, 56, 255);
}

.info a:hover {
    background-color: white;
    color: rgb(8, 8, 255);
}

.info{
    min-height: 50px;
}