@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.max-width {
    max-width: 1024px;
    width: 100%;
    margin: auto;
}

header {
    z-index: 2;
    position: fixed;
    height: 80px;
    width: 100%;
    background-color: #47C4C6;
}

header div {
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header div nav {
    width: 100%;
}

header div nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

header div nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

header div nav ul li a:hover {
    background-color: #fff;
    color: #000;
    opacity: 0.82;
    text-shadow: 1px 1px 1px black;
}

/* MENU */

.menu {
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    width: 60px;
    height: 45px;
    position: relative;
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
}

.menu span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background-color: #fff;
    border-radius: 6px;
    left: 0;
    transition: .25s ease-in-out;
}

.menu span:nth-child(1) {
    top: 0;
}

.menu span:nth-child(2) {
    top: 18px;
}

.menu span:nth-child(3) {
    top: 36px;
}

.menu.open span:nth-child(1) {
    display: none;
}

.menu.open span:nth-child(2) {
     transform: rotate(45deg);
}

.menu.open span:nth-child(3) {
    top: 18px;
    transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
    .menu {
        display: block;
    }

    header div {
        justify-content: space-between;
    }

    header div nav {
        display: none;
    }
}

/*MOBILE LINKS*/

.mobile-links {
    z-index: 2;
    display: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: #47C4C6;
    opacity: 0.85;
    width: 200px;
    position: fixed;
    top: 80px;
    left: 0;
}

.mobile-links nav ul, .mobile-links nav {
    height: 100%;
}

.mobile-links nav ul {
    display: block;
    list-style: none;
    text-align: center;
}

.mobile-links nav ul li {
    border-bottom: 1px solid #36a6a8;
}

.mobile-links nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
}

.mobile_menu_on {
    display: block;
}

/*home*/

main {
    padding-bottom: 30px;
    min-height: 100vh;
}

#couple {
    padding-top: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.couple-image {
    user-select: none;
    height: 300px;
    width: 300px;
    border-radius: 50%;
}

.couple-title {
    margin-top: 20px;
    text-align: center;
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-size: 50px;
}

.couple-text,.ceremony-text, .reception-text {
    margin-top: 22px;
    max-width: 500px;
    font-size: 20px;
    text-align: center;
}

/*Cerimônia*/

#ceremony {
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ceremony-title, .reception-title, .presents-title {
    font-size: 80px;
    font-weight: 700;
    text-align: center;
    font-family: "Dancing Script", cursive;
}

/*RECEPÇÃO*/

#reception {
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reception-carousel, .wedding-images-carousel-box {
    width: 300px;
    padding: 20px 0;
    position: relative;
}

.reception-carousel ul {
    list-style: none;
}

.reception-carousel ul li {
    display: inline-block;
}

.reception-carousel ul li img, .wedding-images-carousel-box ul li img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 5px;
}

.prev, .next, .wedding-images-prev, .wedding-images-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    width: 50px;
    height: 50px;
    color: #000;
    border: 1px solid gray;
    border-radius: 50%;
    font-weight: bold;
    background-color: #fff;
    opacity: 0.5;
}

.wedding-images-prev, .wedding-images-next {
    opacity: 1;
    background-color: #121111;
    border: 1px solid #f4f4f4;
    color: #fff;
}

.next, .wedding-images-next {
    right: 0;
}

/*Presents*/

#presents {
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.presents-container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.presents-box {
    width: 260px;
    height: 320px;
    padding: 5px;
    border-radius: 5px;
    background-color: #f0f0f0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.present-image {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
}

.present-name {
    text-align: center;
    font-size: 18px;
}

.present-button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #36a6a8;
    border: 1px solid #47C4C6;
    outline: none;
    border-radius: 20px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.presents-link {
    display: inline-block;
    background-color: #47C4C6;
    border: 1px solid #36a6a8;
    padding: 20px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.presents-link:hover {
    background-color: #36a6a8;
    border: 1px solid #47C4C6;
}

/* CONFIRMAÇÃO */

#confirmation {
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmation-form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 300px;
    width: 400px;
    background-color: #f0f0f0;
    padding: 10px 5px;
    border-radius: 5px;
}

.confirmation-form p {
    display: flex;
}

.confirmation-form p label {
    font-size: 22px;
    min-width: 90px;
    margin-right: 5px;
}

.confirmation-form p {
    display: flex;
    align-items: center;

}

.confirmation-form p input {
    height: 30px;
    width: 100%;
}

.confirmation-form div {
    display: flex;
    gap: 5px;
}

.confirmation-form div div label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 22px;
}

.confirmation-form div div label input {
    width: 24px;
    height: 24px;
} 

.confirmation-button {
    background-color: #47C4C6;
    border: 1px solid #36a6a8;
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.confirmation-button:hover {
    background-color: #36a6a8;
    border: 1px solid #47C4C6;
}


@media screen and (max-width: 400px) {
    .confirmation-form {
        width: 320px;
    }
}

/* AGRADECIMENTOS */

.thanks {
    height: calc(100vh - 30px);
    position: relative;
}

.thanks-title {
    position: absolute;
    font-family: "Satisfy", cursive;
    font-size: 80px;
    text-align: center;
    width: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 400px) {
    .thanks-title {
        font-size: 60px;
    }
}

/* CART */

.cart {
    padding-top: 80px;
}

.cart {
    height: calc(100vh - 30px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart .cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart table {
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    overflow-x: scroll;
}

.cart table, th, td {
    border: 1px solid;
    text-align: center;
    min-width: 80px;
    padding: 10px 10px;
    height: 50px;
}

.cart table tr:nth-child(even) {
    background-color: rgb(214, 214, 214);
}

.remove {
    color: red;
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(255, 0, 0, 0.373);
    padding: 5px 10px;
    border-radius: 10px;
}

.more-items, .payment-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    color: #fff;    
    font-weight: bold;
}

.more-items {
    background-color: #379192;
}

.payment-button {
    background-color: rgb(5, 70, 5);
}

/* PAYMENT */
.payment {
    padding-top: 80px;
    height: calc(100vh - 80px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment div p {
    font-size: 20px;
    text-align: center;
}

.payment div a {
    font-size: 20px;
}

@media screen and (max-width: 400px) {
    .payment div a {
        font-size: 18px;
    }

    .payment div p {
        font-size: 18px;
    }
}
