@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,800;0,900;1,400&display=swap');

*{
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url(../img/fondo-classic8.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    height: 200px;
    
}

header {
    width: 100%;
    height: 60px;
    background: rgba(229, 185, 131) ;
    color: rgba(68, 68, 68, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

header .contenedor {
    display: table;
    float: right;
}

.logo {
    height: 40px;
    margin: 10px;
}

section {
    width: 100%;
}
____________ MENÚ ____________

.contenedor {
    width: 98%;
    margin: auto;
}

#menu-bar {
    display: none;
}

header label {
    float: right;
    font-size: 28px;
    margin: 18px 0;
    cursor: pointer;
}

.menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: all 0.5s;
    transform: translateX(-100%);
    background: rgba(229, 185, 131);
}

.menu a {
    display: block;
    color: rgba(68, 68, 68, 0.9);
    height: 60px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.menu a:hover {
    background: rgba(242, 217, 175);
    color: rgba(186, 136, 82, 0.9);
}

#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}


@media (min-width:1024px) {
    .menu {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: right;
        display: flex;
    }

    .menu a {
        border: none;
    }

    header label {
        display: none;
    }

    .material-icons {
        display: none;
    }
}

____________ BANNER ___________



#banner {
    margin-top: 150px;
    padding-top: 80px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
}


#banner img {
    padding-top: 20px;
    width: 20%;
    height: 50px;
}

@media (max-width:480px) {
    #banner img {
        padding-top: 80px;
        width: 70%;
        height: 100%;
        padding-bottom: 50px;
    }   
}

@media (min-width:768px) {
    #banner img {
        padding-top: 80px;
        width: 70%;
        height: 100%;
        padding-bottom: 50px;
    }   
}

@media (min-width:1024px) {
    #banner img {
        padding-top: 100px;
        width: 40%;
        height: 100%;
        padding-bottom: 50px;
    }   
}

____________ BIENVENIDOS ___________

#bienvenida {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.texto-bienvenida {
    padding-top: 50px;
    background-color: #F2D9AF;
    width: 100%;
    height: 300px;
}

h1 {
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: #2b2b2b;
    font-weight: lighter;
}

h2 {
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #2b2b2b;
    font-weight: lighter;
    padding-top: 30px;
    line-height: 24px;
}

____________ CUENTA REGRESIVA ___________

#container{
    margin: auto;
    background: rgb(43, 43, 43, 0.6);
}
#container h1,
#container p{
    color: #fff;
    text-align: center;
    padding: 5px;
    margin: auto;
    background: rgb(43, 43, 43, 0.6);
}
#container h1{
    font-size: 24px;
}
#container p{
    font-size: 18px;
    padding-top: 0px;
}
.center-abs{
    top:40%;
    left:50%;
    transform:translate(-50%, -50%);
    position: absolute;
}
.charts{
    padding-top: 20px;
    display: flex;
    background: rgb(43, 43, 43, 0.6);
}
.chart{
    position: relative;
    width:35%;
    height: 210px;
}
.chart h3{
    color:#F2D9AF;
    font-size: 16px;
    position: absolute;
    bottom:10px;
    text-align: center;
    width: 100%;
}
.chart svg{
    z-index: 2;
}
/* DIV CIRCULO DE FONDO */
.circle{
    width: 150px;
    height:150px;
    border-radius: 50%;
    z-index:1;
    border:10px #F4EBD4 solid;
}
.text{
    z-index: 3;
    text-align: center;
    width: 100%;
    font-size: 28px;
    font-weight: 200;
    color:#F2D9AF
}
/* SVG CIRCULO */
.outer{
    fill:transparent;
    stroke: #F2D9AF;
    stroke-width: 10; /* grosor del borde */
    stroke-dasharray: 439; /* numero de relleno del borde, se usa el mismo valor en el script.js */
    transform: rotate(270deg) translate(-150px, 0); 
    /* giramos el circulo para que su apertura sea en la parte superior 
    y ajustamos su posicion
    */
}


@media (min-width:780px) {
    .chart {
        width: 15%;
     }

     .charts {
         justify-content: center;

     }
}

@media (min-width:1024px) {
    .chart {
        width: 15%;
     }

     .charts {
         justify-content: center;
     }
}


____________ DATOS ___________

#datos {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ceremonia {
    text-align: center;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #fff;
}


.fiesta {
    text-align: center;
    margin: auto;
    padding-top: 62px;
    padding-bottom: 62px;
    background-color: #fff;

}

h3 {
    color: #e9b184;
    font-weight: lighter;
    font-size: 24px;
    padding: 10px;
    line-height: 24px;
}

p {
    font-size: 16px;
    color: #2b2b2b;
    padding-top: 10px;
    margin-bottom: 20px;
    padding: 10px;
    line-height: 24px;
}

.button {
    background-color: #e9b184;
    padding: 10px;
    margin: auto;
    text-decoration: none;
    color: #2b2b2b;
    border-radius: 20px;
}

.button:hover {
    background-color: rgba(175, 137, 101, 0.9);
    color: #fff;
}

@media (min-width:780px) {
    #datos {
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
    }

    .ceremonia, .fiesta {
        width: 50%;
    }

    #datos .material-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width:1024) {
    #datos {
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
    }

    .ceremonia, .fiesta {
        width: 50%;
    }

    #datos .material-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

____________ CONFIRMAR ASISTENCIA ___________


#confirmar-asistencia {
    color: #e8faf9;
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 250px;
}

.asistencia {
    background-color: #e8faf9;
    text-align: center;
    margin: auto;
    padding-top: 50px;
    width: 100%;
    height: 250px;
}

.dresscode {
    background-color: #F4EBD4;
    text-align: center;
    margin: auto;
    padding-top: 50px;
    width: 100%;
}

.dresscode h2 {
    background-color: #fff;
    width: 30%;
    justify-content: center;
    font-weight: lighter;
    padding-bottom: 10px;
    padding-top: 10px;
    margin: auto;
    margin-top: 10px;
}


____________ GALERIA ___________

*{
    box-sizing: border-box;
}

.row {
    background-color: rgba(225, 225, 225, 0.9);
}

#galeria img {
    width: 100%;
    border-radius: 10px;
}

#galeria .row {
    display: flex;
    padding: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

#galeria .column {
    flex: 50%;
    padding: 5px;
}

#galeria .column img {
    margin-top: 5px;
    margin-bottom: 5px;
}


#galeria img:hover{
    cursor: pointer;
    opacity: 0.3;

}


@media (max-width:480px) {
    #galeria .column {
        width: 100%;
        flex: 100%;
        padding: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #galeria .row {
        flex: 100%;
        padding: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    #galeria .row img {
        flex: 100%;
        padding: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width:780px) {
    #galeria .column {
        flex: 50%;
        width: 50%;
        padding: 5px;
    }
}

@media (min-width:1024px) {
    #galeria .column {
        flex: 20%;
        padding: 5px;
    }  

    #galeria img {
        width: 33,33%;
    }
}

____________ INSTAGRAM ___________

.instagram {
    text-align: center;
    margin: auto;
    padding-top: 20px;
    width: 100%;
    margin-top: 30px;
}

.instagram h1 {
    color: rgba(186, 136, 82);
}

.regalos {
    background-color: #e8faf9;
    text-align: center;
    margin: auto;
    width: 100%;
    padding-bottom: 30px;
    line-height: 24px;
}

#redes-sociales .instagram {
    background-color: #F4EBD4;
    padding-bottom: 30px;
}

#nuestro-regalo .button {
    background-color:rgba(82, 148, 186, 0.9);
    padding: 10px;
    margin: auto;
    text-decoration: none;
    color: #2b2b2b;
    border-radius: 20px;
}

#nuestro-regalo .button:hover {
    background-color: rgba(175, 137, 101, 0.9)f;
    padding: 10px;
    margin: auto;
    text-decoration: none;
    color: #ffffff;
    border-radius: 20px;
}

____________ MENSAJES ___________

#mensaje .message {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#mensaje {
    margin: auto;
    padding: auto;
    justify-items: center;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


#formulario {
    width: 90%;
    padding: 20px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 50px;
    background: #fff;
    margin-bottom: 50px;
    color: #2b2b2b;
    border-radius: 20px;
}

input, textarea {
    color: #2b2b2b;
    width: 100%;
    margin-bottom: 30px;
    margin-top: 20px;
    box-sizing: border-box;
    font-size: 16px;
    font-family:'Montserrat', sans-serif;
    border: none;
    border-bottom:  1px solid #2b2b2b;
    padding-left: 20px;
    padding-right: 20px;
}

textarea {
    color: #2b2b2b;
    min-height: 100px;
    max-height: 200px;
    max-width: 100%;
    min-width: 100%;
    font-family:'Montserrat', sans-serif;
}

#boton {
    background-color: #F2D9AF;
    padding: 10px;
    margin: auto;
    text-decoration: none;
    color: #2b2b2b;
    border-radius: 20px;
    border: none;
}

#boton:hover {
    cursor: pointer;
    background: #F4EBD4;
}

@media (min-width:768px) {

    #mensaje {
        max-width: 90%;

    }

    form {
        margin-bottom: 20px;
        margin-top: 80px;
        text-align: center;
        justify-content: center;
    }


}

@media (min-width:1024px) {

    #mensaje {
        max-width: 60%;
        width: 50%;
}

    #formulario {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        margin-bottom: 40px;
        margin-top: 60px;
    }

    form {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 50%;
        text-align: center;
    }

    #mensaje .message {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

____________ GRACIAS ___________

.gracias {
        margin-bottom: 50px;
        margin-top: 50px;
}

.gracias h2 {
    font-weight: 500 ;
    color: #F4EBD4;
}

#saludo .gracias {
    background-color: #2b2b2b;

}


_____ BOTTOM ______

footer {
    background-color: rgb(189, 189, 189);
}


footer .contenedor {
    width: 100%;
    justify-content: center;
    background-color: rgb(224, 224, 224);
  }

footer p {
    padding-top: 20px;
    margin-bottom: 2px;
    line-height: 2px;
}


footer .copy {
    font-size: 16px;
    text-align: center;
}

footer .sociales {
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 0px;
}

footer .sociales a{
    color: #333;
    text-decoration: none;
}

footer .sociales img{
    color: #333;
    text-decoration: none;
    width: 25px;
    padding-bottom: 4px;
    margin-bottom: 2px;
}


@media (min-width:768px) {
    footer .copy {
        text-align: center;
    }
    footer .sociales {
        padding: 20px;
        margin-top: 10px;
    }

    footer .contenedor {
        justify-content: space-between;
    }
}

@media (min-width:480px) {
    footer .copy {
        text-align: center;
    }
    footer .sociales {
        padding: 10px;
        margin-top: 10px;
    }

    footer .contenedor {
        justify-content: space-between;
    }
}