body {
    font-size: 1.2rem;
    font-family: 'Work Sans', sans-serif;
    color: white;
    min-height: 3000px;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('fonts/Ethnocentric-Regular.woff') format('woff2'),
        url('fonts/Ethnocentric-Regular.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}


.info h2,
.story h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
    font-family: 'Ethnocentric';
    
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    background: 
        linear-gradient(141deg, rgba(252, 194, 144, 0.6) 25%, rgba(243, 120, 131, 0.9) 85%, rgba(42, 45, 119, 0.91) 100%),
        url('img/bg.png');
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
}

.hero p {
    font-family: 'Ethnocentric';
    font-size: 3.5rem;
    margin-bottom: 1px;
    text-shadow: 2px 2px 4px rgba(42, 45, 119, 0.5);
    z-index: 2;
}

.hero h3 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(42, 45, 119, 0.5);
}

.hero h5, .hero h1, .hero h4 {
    text-shadow: 2px 2px 4px rgba(42, 45, 119, 0.5);
    font-size: 1.5rem;
    z-index: 2;
}
.hero h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

.hero a {
    color: #f7f7f7;
    background-color: #2A2D77;
    z-index: 2;
}

.hero a:hover{
    background-color: #ffffff;
    color: #2A2D77;
    z-index: 2;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Akhir Hero */

/* MyNavbar */
.mynavbar .navbar-brand, .mynavbar .offcanvas-title {
    font-family: 'Ethnocentric';
    font-size: 1.9rem;
    color: #2A2D77;
}


.offcanvas .nav-link {
    color: #2A2D77 !important;
}

.mynavbar .nav-link {
    text-transform: uppercase;
    color: #2A2D77;
}

.mynavbar .navbar-brand.nav-white,
.mynavbar .nav-link.nav-white {
    color: #ffffff !important;
}

/* Home */
.home {
    position: relative;
    background: linear-gradient(180deg, rgba(252, 194, 144, 0.5), rgba(42, 45, 119, 0.4) 100%), 
    url('img/bg-2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    text-align: center;
}

.home-logo {
    max-width: 200px;
    margin-bottom: 4px;
    display: inline-block;
    margin-top: 10px;
}

.home h2,
.home h3 {
    text-align: center;
}

.home h2 {
    font-family: 'Ethnocentric';
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(42, 45, 119, 0.5);
    z-index: 1;
    padding-top: 10px;
}

.home h3 {
    font-family: 'Work Sans', sans-serif;
    color: #2A2D77;
    text-shadow: 2px 2px 4px rgba(128, 127, 127, 0.5);
    text-transform: uppercase;
    font-weight: bold;
}

.home .couple {
    margin-top: 100px;
}

.home .couple img {
    width: 100%;
}

.img-responsive {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.col-8 {
    text-align: left;
}

.logo-img {
    height: 100px;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.logo-small {
    height: 100px;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.logo-ktt {
    height: 100px;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.logo-btb {
    height: 70px;
    max-height: 100px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.ttd-img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.nama {
    position: absolute;
    top: 78%; 
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 1rem;
    font-weight: bold;
}

.ttd-section .nama {
    text-decoration: underline;
}
/* Akhir Home */


/* Info */
.info {
    background-color: #f5f5f5;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.info .story h2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}

.info h2 {
    text-align: center;
    color: #2A2D77;
}

.info p {
    font-family: 'Work Sans', sans-serif;
    color: #2A2D77;
}

.info a {
    color: #ffffff;
    background-color: #2A2D77;
    z-index: 2;
}

.info a:hover{
    background-color: #edb971;
    color: #fcfcfc;
    z-index: 2;
}

.info .description {
    font-size: 1rem;
    font-weight: 200;
}

.info .card-header {
    border-bottom: 1px solid #2A2D77;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #2A2D77;
}

.info .card-footer {
    letter-spacing: 0.1rem;
    border-top: 1px solid #2A2D77;
    color: #2A2D77;
}

.icon-info {
    font-size: 2rem; 
    color: #2A2D77;
    margin-bottom: 5px;
    }

.text-info-custom {
        font-size: 1.3rem; 
        color: #2A2D77; 
    }

/* Akhir Info */

/* Story */
.story {
    background: linear-gradient(180deg, rgba(0, 4, 112, 0.5) 10%, rgba(252, 194, 144, 0.6) 100%), 
    url('img/bg-2.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: white;
    transform: translateX(-50%);
}

.timeline li {
    position: relative;
    margin-bottom: 4rem;
    min-height: 180px;
}

.timeline li::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-image {
    width: 160px;
    height: 160px;
    background-color: white;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
    border: 3px solid white;
}

.timeline-panel {
    position: relative;
    width: 45%;
    padding: 2rem;
    background: white;
    color: #2A2D77;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    z-index: 1;
}

.timeline-panel.left {
    float: left;
    margin-right: 70px; 
    margin-left: -30px;
    text-align: right;
}

.timeline-panel.right {
    float: right;
    margin-left: 70px;
    margin-right: -30px;
    text-align: left;
}

/* Arah panah segitiga */
.timeline-panel::before {
    content: '';
    position: absolute;
    top: 80px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-panel.left::before {
    right: -10px;
}

.timeline-panel.right::before {
    left: -10px;
}

/* Gallery */
.gallery h2, p {
    color: #2A2D77;
}

.highlight-text {
    color: #2A2D77;
    font-size: 1.2rem; 
    display: inline-block;
    margin-bottom: 0.5rem;
}

.gallery {
    background-color: #f5f5f5;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.rsvp {
    position: relative;
    background: linear-gradient(180deg, rgba(252, 194, 144, 0.5), rgba(42, 45, 119, 0.4) 100%), 
    url('img/bg-2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* z-index: 1; */
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.rsvp h2, p {
    color: #2A2D77;
}

.rsvp button {
    color: #ffffff;
    background-color: #2A2D77;
    z-index: 1;
    margin-top: 20px;
}

.rsvp button:hover{
    background-color: #edb971;
    color: #fcfcfc;
    z-index: 1;
}

.gifts {
    background-color: #f5f5f5;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.gifts h2, p {
    color: #2A2D77;
}

.gifts .card-header {
    border-bottom: 1px solid #2A2D77;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #2A2D77;
}

.gifts .card-footer {
    letter-spacing: 0.1rem;
    border-top: 1px solid #2A2D77;
    color: #2A2D77;
}

.nomor-doorprize {
    font-size: 20px;
    color: #2A2D77;
}

footer {
    padding: 3rem;
    /* background: linear-gradient(180deg, rgba(252, 194, 144, 0.5), rgba(42, 45, 119, 0.4) 100%) */
}

.footer-icons {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-icons li {
    display: inline-block;
    margin: 0 10px;
}

.footer-icons a i {
    font-size: 24px;
    color: #2A2D77;
    transition: transform 0.3s ease;
}

.footer-icons a i:hover {
    transform: scale(1.2);
}

.audio-icon-wrapper {
    width: 3rem;
    height: 3rem;
    font-size: 3rem;
    color: #2A2D77;
    opacity: 0.7;
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    cursor: pointer;
    z-index: 1;
    /* mix-blend-mode: difference; */
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

@keyframes rotating {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
}
}

/* Media Query */
/* Laptop */
@media (max-width: 992px) {
    html {
        font-size: 75%;
    }

    .timeline li {
        min-height: auto;
    }

    .timeline-image {
        width: 100px;
        height: 100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-panel {
        width: 90%;
        float: none;
        margin: 120px auto 0;
        text-align: center;
    }

    .timeline-panel.left,
    .timeline-panel.right {
        margin: 120px auto 0;
    }

    .timeline-panel.left::before,
    .timeline-panel.right::before {
        left: calc(50% - 10px);
        right: auto;
        top: -10px;
        transform: rotate(45deg);
    }
    
}

/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 62.5%;
    }

    .hero {
        background-size: contain;
    }

    .mynavbar .nav-link {
    text-transform: uppercase;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-image {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-panel {
        width: 80%;
        float: none;
        margin: 120px auto 0;
        text-align: center;
    }

    .timeline-panel.left,
    .timeline-panel.right {
        margin: 120px auto 0;
    }

    .timeline-panel.left::before,
    .timeline-panel.right::before {
        left: calc(50% - 10px);
        right: auto;
        top: -10px;
        transform: rotate(45deg);
    }
}

/* Mobie Phone */
@media (max-width: 576px) {
html {
        font-size: 70%;
    }
/* Hero */
    .hero p {
        font-size: 2.2rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        background-size: contain; 
    }
    .hero a {
        font-size: 1.2rem;
    }

    .hero-logo {
    max-width: 150px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    
/* Home */
    .home h2 {
        font-size: 2rem;
    }

    .home h3 {
        font-size: 1.2rem;
    }

    .home-logo {
    max-width: 100px;
    margin-bottom: 4px;
    display: inline-block;
    margin-top: 10px;
    }

    .logo-img {
            max-height: 90px;
        }

    .logo-small{
        max-height: 50px;
    }
    .logo-ktt{
        max-height: 65px;
    }

    .logo-btb {
        max-height: 50px;
    }

    .info p {
    font-family: 'Work Sans', sans-serif;
    color: #2A2D77;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline li {
        min-height: auto;
    }

    .timeline-image {
        width: 100px;
        height: 100px;
        left: 50%;
        transform: translateX(-50%);
        
}

    .timeline-panel {
        width: 90%;
        float: none;
        margin: 120px auto 0;
        text-align: center;
    }

    .timeline-panel.left,
    .timeline-panel.right {
        margin: 120px auto 0;
    }

    .timeline-panel.left::before,
    .timeline-panel.right::before {
        left: calc(50% - 10px);
        right: auto;
        top: -10px;
        transform: rotate(45deg);
    }

    .nama {
        top: 69%;
        font-size: 1.5rem;
        padding: 0.2rem 0.6rem;
    }

    .ttd-img {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;
    }

    .custom-form-group label {
        display: block;
        text-align: left !important;
        margin-bottom: 4px;
        margin-left: 6px;
    }

    .custom-form-group {
        margin-bottom: 5px !important;
    }

    .form-control,
    .form-select {
        font-size: 0.95rem;
        padding: 6px 10px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 1rem;
        width: 100%;
    }

    .nomor-doorprize {
        font-size: 18px;
    }

    .offcanvas {
        height: auto !important; 
        max-height: 60vh;
        border-radius: 0 0 1rem 1rem;
        top: 60px;
    }

    .icon-info {
    font-size: 2rem; 
    color: #2A2D77;
    margin-bottom: 5px;
    }

    .text-info-custom {
        font-size: 1.3rem; 
        color: #2A2D77; 
    }
}