html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

a{
    text-decoration: none;
    background-color: #76835E;
    border: 1px solid #444939;
    color: #F8F6F0;
    font-family: "Niconne", cursive;
    font-size: 1.8rem;
    padding: .3rem 0;
    box-shadow: 0px 4px 5px 0px #696969;
    border-radius: 10px;
    margin-bottom: 1rem;

    width: 280px;
    text-align: center;
}

a:hover{
    cursor: pointer;
}

a:active{
    margin-top: -5px;
    background-color: #444939;

}

p{
    font-family: "Niconne", cursive;
    text-align: center;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1.5px #bababa;
}

main{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.contenedor-invitacion{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 .5rem ;
    border: 1px solid #cacaca;
    max-width: 100%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0px 0px 7px 0px #bdbdbd;
}

.contenedor-invitacion img{
    max-width: 100%;
    border-radius: 10px;
}

.botones{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 10px;
}






@media(min-width: 768px){
    .contenedor-invitacion{
        max-width: 500px;
        max-height: 100vh;
    }

    .botones{
        bottom: 1rem;
        width: 310px;
    
    }

    a{
    
    
    padding: .2rem 0;
    
    border-radius: 10px;
    width: 280px;
    text-align: center;
}

p{
    margin: 10px 0 0 0;
}

}