@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 3.8rem;
    color: #FCFCFC;
    letter-spacing: 6px;
}

h1 {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

span#dot {
    display: inline-block;
    background: #FFF;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

#our-love span#dot{
    background-color: #000;
}

section#banner {
    min-height: 100vh;
    background-image: url('../img/daniela-y-cesar-2025.png');
    background-size: cover;
    background-position: 0;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

.top-title {
    font-size: 2rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.content-data {
    color: #FDFDFD;
    font-size: 1.3rem;
    line-height: 1.8;
}


.circle-image{
    max-width: 400px;
    border-radius: 50%;
}

.number{
    font-family: "Cormorant", serif;
    font-size: 2.4rem;
}

div#quote {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
    color: #FdFDFD;
    line-height: 1.6;
}

p#cite {
    font-weight: 400;
    font-size: 1.2rem;
}

#our-story{
    text-align: center;
    min-height: 70vh;
    display: flex;
    /*background-image: url('../img/background.png');*/
    background-size: cover;
    padding: 5rem 0;
}

div#countdown {
    display: flex;
    text-align: center;
    margin: auto;
    flex-direction: column;
    align-items: center;
}

div#countdown ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

div#countdown ul li {
    box-shadow: 0px 1px 10px #D3DEE3B2;
    padding: 1rem;
    width: 100px;
}

div#countdown ul li >span {
    display: flex;
    flex-direction: column;
}

div#countdown ul li span .number {
    font-size: 3rem;
    color: #DEDEE1;
    font-weight: 100;
}

div#countdown ul li span .text {
    font-size: 11px;
    font-weight: 400;
    color: #121F38;
}

div#about-us {
    display: flex;
    align-items: center;
    gap: 2rem;
}

div#image-us {
    order: 2;
}

div#bride {
    order: 1;
}

div#groom {
    order: 3;
}

.top-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

div#counter {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 4rem;
}

.top-after {
    color: #C78665;
    max-width: 510px;
    margin: 1rem auto 5rem;
    line-height: 1.8;
}

div#our-love {
    text-align: center;
    position: relative;
    margin-top: 1.4rem;
}

.ornament:before {
    content: '';
    background-image: url('../img/ornament.png');
    background-size: cover;
    width: 40px;
    height: 60px;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
}

section#religious-ceremony {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('../img/where.png');
}

section#reception {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('../img/party.jpg');
}

section#reception,
section#religious-ceremony {
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    text-align: center;
}

section#rsvp .top-title,
section#reception .top-title,
section#religious-ceremony .top-title {
    color: #FFF;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 1.8rem;
}


section#rsvp{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/rvsp.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 195vh;
    display: flex;
    text-align: center;
    position: relative;
}

.top-form {
    color: #FFF;
    text-align: left;
    max-width: 730px;
    margin: auto;
    line-height: 1.5;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

div#form-rsvp {
    max-width: 730px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


div#form-rsvp input {
    background: transparent;
    border: none;
    border-bottom: solid 1px #FFF;
    font-size: 1.4rem;
    color: #FFF;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.form-row > * {
    width: 50%;
}


div#form-rsvp input::placeholder {
  color: #FFF;
  opacity: 1;
}

div#form-rsvp input:focus {
    border: none;
    outline: none;
    border-bottom: solid 2.4px #FFF;
}

textarea#message {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: solid 1px #FFF;
    color: #FFF;
    font-size: 1.3rem;
}

textarea#message:focus {
    border: none;
    outline: none;
    border: solid 2.4px #FFF;
}

textarea#message::placeholder{
    color: #FFF;
}

label {
    color: #FFF;
    font-size: 1.3rem;
}

.options:first-child {
    text-align: right;
}

.options:last-child {
    text-align: left;
}

.line-input {
    display: flex;
    width: 100% !important;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFF;
}

div#form-rsvp input[type="number"] {
    text-align: center;
    font-weight: 600;
    font-family: "Cormorant", serif;
    font-size: 2.6rem;
}

section#dress-code {
    padding: 5rem;
    display: flex;
}

button#send-form {
    margin-left: auto;
    width: auto;
    padding: 1rem 2rem;
    color: #FFF;
    background: transparent;
    border: solid 1px #FFF;
    cursor: pointer;
    transition: 0.5s;
}

button#send-form:hover {
    background: #FFF;
    color: #222;
}

.circle-rows {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.col-circle img {
    max-width: 240px;
    border-radius: 50%;
    height: 240px;
    margin-bottom: 1rem;
}

a.btn-map {
    margin: 1.4rem auto 0px;
    display: inline-block;
    background: transparent;
    border: solid 2px;
    color: #FFF;
    padding: 0.9rem;
    text-decoration: none;
    font-size: 1.1rem;
}

.row {
    display: flex;
}

.col {
    width: 50%;
}

section#dress-code img {
    max-width: 700px;
    width: 100%;
}

#dress-code .col:first-child {
    width: 25%;
}

section#dress-code .top-title {
    margin-bottom: 3rem;
    text-transform: uppercase;
}

section#where-to-stay .top-title,
section#godfathers .top-title,
section#gifts .top-title {
    position: relative;
}

section#gifts {
    padding: 6rem 0;
    background: #f2f2f2;
}

.row-container {
    display: flex;
    gap: 2rem;
    margin: 2rem auto;
}

.column {
    width: 50%;
    background: #d6d6d6;
    padding: 1.4rem;
    border-radius: 10px;
}

section#gifts .container > p {
    text-align: center;
}

a.btn-main {
    margin: 1.4rem auto;
    display: inline-block;
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
    font-style: italic;
}

section#godfathers {
    padding: 6rem;
}

section#godfathers .top-title {
    margin-bottom: 2rem;
}

.col-circle p {
    text-transform: uppercase;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.col-circle p span {
    text-transform: none;
    color: #C78665;
}

section#where-to-stay {
    padding: 6rem;
    background: #f2f2f2;
}

.rows {
    display: flex;
    margin: 1rem 0 0;
}

#send-form:disabled {
    background-color: #ccc;  /* Color de fondo gris */
    color: #666;  /* Color de texto más oscuro */
    cursor: not-allowed;  /* Cambia el cursor a "no permitido" */
    opacity: 0.6;  /* Reduce la opacidad */
}

.top-message{
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    padding: 2rem;
}

div#status-message {}

.status-message.loading {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    inset: 0;
}

div#status-message {}

.status-message.error {
    position: absolute;
    top: 1.4rem;
    text-align: center;
    width: fit-content;
    margin: auto;
    background: #FFF;
    padding: 1rem;
    left: 50%;
    transform: translateX(-50%);
}


/*RESOINSIVE DESIGN*/

@media only screen and (max-width: 600px) {
    div#about-us {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    div#about-us img.circle-image {
        max-width: 280px;
        width: 90%;
    }
    
    .row {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    #dress-code .col {
        width: 100% !important;!i;!;
    }
    
    section#dress-code {
        padding: 3rem 20px;
    }
    
    section#our-story {
        background-image: none;
    }
    
    .row-container {
        display: flex;
        flex-direction: column;
    }
    
    .column {
        width: 100%;
    }
    
    section#gifts {
        padding: 5rem 20px;
    }
    
    section#godfathers {
        padding: 5rem 20px;
    }
    
    .circle-rows {
        display: flex;
        flex-direction: column;
    }
    
    section#where-to-stay {
        padding: 5rem 20px;
    }
    
    .rows {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    div#countdown ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    section#rsvp .container > * {
        padding: 0 20px;
    }
    
    section#rsvp {
        min-height: auto !important;!i;!;
        padding-bottom: 47rem;
        background-size: cover;
        background-position: 0 0, 30% 0;
    }

    section#rsvp .container > * {
        padding: 0 20px;
    }
    
    section#rsvp {
        min-height: auto !important;!i;!;
        padding-bottom: 47rem;
        background-size: cover;
        background-position: 0 0, 30% 0;
    }
    
    h1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    section#banner {
        padding: 0 20px;
        background-position: center;
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('../img/daniela-y-cesar-2025.png');
    }
    
    section#religious-ceremony {
        background-position: center;
    }
    
    section#reception {
        background-position: center;
    }
    
    p.top-message {
        width: 100%;
        top: 0;
    }

}

#status-message > div {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    padding: 1.5rem 5rem;
    border-radius: 0.5rem;
}

section#where-to-stay a.btn-map {
    border-color: #000;
    color: #000;
    margin: 1rem auto;
    display: inline-block;
}

section#rsvp.respond .top-title {
    max-width: 730px;
    margin: 0 auto 3rem;
}

section#rsvp.respond .top-form {
    text-align: center;
    font-size: 1.6rem;
    padding: 0 2rem;
}



/*BORDER*/

.inner-border {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.outer-border {
	border: 2px solid #DE9B72;
   	height: 99%;
    width: 98%;
    padding: 6px;
    margin: 0 auto;
}

@media (min-width: 992px) {
	.outer-border {
		height: 94%;
	}
}

.mid-border {
    border: 6px solid #DE9B72;
    height: 100%;
    width: 100%;
    padding: 6px;
    margin: auto;
}

.inner-border {
	position: relative;
	border: 2px solid #DE9B72;
    height: 100%;
    width: 100%;
    margin: auto;
}

/* Decorations */
.corner-decoration {
	position: absolute;
    width: 3em;
    margin: -3px;
}

@media (min-width: 768px) {
	.corner-decoration {
		width: 3.5em;
	  	margin: -4px;
	}
}

@media (min-width: 992px) {
	.corner-decoration {
		width: 4em;
	  	margin: -5px;
	}
}

@media (min-width: 1200px) {
	.corner-decoration {
		width: 5em;
	  	margin: -6px;
	}
}

.corner-decoration.corner-left-top {
	left: 0;
	top: 0;
}

.corner-decoration.corner-right-top {
	top: 0;
	right: 0;
	 -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.corner-decoration.corner-right-bottom {
	right: 0;
	bottom: 0;
	 -webkit-transform: scale(-1);
  	transform: scale(-1);
}

.corner-decoration.corner-left-bottom {
	left: 0;
	bottom: 0;
	-webkit-transform: scaleY(-1);
  	transform: scaleY(-1);
}

.frame-container {
    padding: 2rem 20px;
}

.frame-container .top-title{
    position: relative;
    margin-top: 3rem;
    margin-bottom: 2rem;
}



