/* Tablet Viewport (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    header nav {
        justify-content: center;
        gap: 3rem;
    }

    .welcome-bg-left {
        height: 85vh;
        opacity: 0.6;
    }

    .welcome-bg-right {
        height: 79vh;
        opacity: 0.6;
    }

    .bride, .story, .time {
        padding: 6rem 3rem 8rem;
    }

    .story .story-item--media {
        gap: 1.8rem;
    }

    .story .story-item-photo {
        flex: 0 0 14rem;
    }

    .story .story-item--center .story-item-photo {
        max-width: 16rem;
    }

    .bride .bride_card {
        width: 100%;
        gap: 1.5rem;
        padding: 2rem;
    }

    .bride h3 {
        font-size: 2rem;
        margin: 1.2rem 0 2rem;
    }

    .bride_card-text h4 {
        font-size: 2rem;
    }

    .bride_card-photo {
        width: 10rem;
    }

    .galeri .container figure img {
        height: 22rem;
    }

    .wishas div:nth-of-type(1) > div {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* 720px Breakpoint (Landscape Mobile / Small Tablet) */
@media screen and (max-width: 720px) {
    header nav {
        gap: 0.3rem;
        padding: 0.3rem 0.8rem;
    }

    header nav a {
        width: 3.2rem;
    }

    header nav a i {
        font-size: 1.1rem;
    }

    header nav a span {
        font-size: 0.6rem;
    }

    .home-border {
        width: 8rem;
    }

    .home-gate {
        height: auto;
        width: 96vw;
        max-height: 84%;
    }

    .welcome-bg-left {
        height: 65vh;
        opacity: 0.35;
    }

    .welcome-bg-right {
        height: 60vh;
        opacity: 0.35;
    }

    .welcome h2 {
        font-size: 2rem;
    }

    .welcome figure img {
        width: 9rem;
    }

    .home figure img {
        width: 11rem;
    }

    .welcome p span {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .home svg {
        bottom: -5rem;
    }

    .bride, .story, .time{
        padding: 6rem 1.4rem 8rem;
    }

    .story h2 {
        font-size: 2rem;
    }

    .story .story-item h3 {
        font-size: 1.6rem;
    }

    .story .story-item--media,
    .story .story-item--media:nth-of-type(even) {
        flex-direction: column;
        gap: 1.4rem;
    }

    .story .story-item-photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 18rem;
    }

    .bride h2, .bride h3 {
        font-size: 1.8rem;
    }

    .bride h3 {
        margin: 1.2rem 0 1.8rem;
    }

    .bride .bride_couple {
        margin-top: 4rem;
    }

    .bride .bride_couple ul {
        gap: 2.5rem;
    }

    .bride .bride_card {
        width: 100%;
        flex-direction: column;
        gap: 1.2rem;
        padding: 2rem 1.4rem;
        text-align: center;
    }

    .bride_card-photo {
        width: 10.5rem;
    }

    .bride_card-text h4 {
        font-size: 2rem;
    }

    .hadist {
        padding: 2rem 1.4rem;
    }

    .hadist svg:nth-of-type(1) {
        top: -4rem;
    }

    .hadist svg:nth-of-type(2) {
        bottom: -5rem;
    }

    .galeri {
        margin-top: -6rem;
        padding: 4rem 1.4rem;
    }

    .galeri .container {
        padding: 0 1rem 1rem;
    }

    .galeri .container figure {
        margin-top: -1rem;
    }

    .galeri .container figure img {
        height: 14rem;
    }

    .galeri .container ul {
        bottom: 5rem;
    }

    .galeri .container ul li {
        width: 1rem;
        height: 0.2rem;
    }

    .galeri .container button:nth-of-type(1),
    .galeri .container button:nth-of-type(2) {
        top: 12.4rem;
        font-size: 3rem;
    }

    .galeri .container button:nth-of-type(1) {
        left: 0.8rem;
    }

    .galeri .container button:nth-of-type(2){
        right: 0.8rem;
    }

    .galeri div:nth-of-type(2) {
        padding: 0 1rem 4rem;
    }

    .galeri div:nth-of-type(2) > div {
        margin-top: -1rem;
        padding: 2rem 1rem;
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
        gap: 1rem;
    }

    .galeri div:nth-of-type(2) > div img {
        border-radius: 15px;
    }

    .galeri div:nth-of-type(2) button {
        font-size: 1.4rem;
    }

    .wishas {
        padding: 1rem 1.4rem 2rem;
        margin-top: -14rem;
    }

    .wishas div:nth-of-type(1) > div{
        flex-direction: column;
    }

    .wishas div:nth-of-type(1) > div figure {
        width: 100%;
    }

    .wishas div:nth-of-type(1) > div figure img {
        width: 8rem;
    }

    .wishas div:nth-of-type(2) {
        padding: 2rem 1rem;
    }

    .wishas div:nth-of-type(2) > form {
        margin-top: -1rem;
    }

    .wishas div:nth-of-type(3) {
        padding: 2rem 1rem;
    }

    .wishas div:nth-of-type(3) ul li {
        gap: 0.6rem;
    }

    .wishas div:nth-of-type(3) .button-grup  button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .wishas svg:nth-of-type(1){
        top: -4rem;
    }

    .wishas svg:nth-of-type(2) {
        bottom: -5rem;
    }

    footer {
        margin-top: 4rem;
        padding: 1rem 1.4rem 3.4rem;
    }

    footer h2 {
        font-size: 1.4rem;
    }

    footer > div a {
        font-size: 0.6rem;
    }

    .home-border {
        width: 9rem;
    }

    .home-gate {
        height: auto;
        width: 94vw;
        max-height: 86%;
    }

    .welcome-bg-left {
        height: 72vh;
        opacity: 0.4;
    }

    .welcome-bg-right {
        height: 66vh;
        opacity: 0.4;
    }
}

/* Small Desktop Viewport (1025px - 1200px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .bride {
        padding: 8rem 4rem;
    }

    .bride .bride_card {
        width: calc(64% + 4rem);
    }

    .bride_card-photo {
        width: 12rem;
    }

    .bride_card-text h4 {
        font-size: 2.4rem;
    }
}

/* Desktop Viewport (> 1024px) */
@media screen and (min-width: 1025px) {
    header nav {
        justify-content: center;
        gap: 5rem;
    }

    .home-gate {
        height: 90%;
        max-width: 46vw;
    }

    header nav a {
        width: 5rem;
        height: 3.4rem;
    }

    header nav a i {
        font-size: 1.4rem;
    }

    header nav a span {
        font-size: 0.7rem;
    }
}