/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  
  margin: 0;
}

/*
    3. Allow percentage-based heights in the application
  */
html,
body {
  
  height: 100%;
}

/*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    6. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    7. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  color:#000000;
  font: inherit;
}

/*
    8. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

a {
  text-decoration: none;
}

.row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.click{
  transition: all 300ms ease;
  cursor: pointer;
}

.click:hover{
  transform: scale(1.1);
}

.click:active{
  transform: scale(0.8);
}

/*

Navbar 

*/


.nav__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 12px 12px 12px;
  background-color: #f5f5f5;
}

.nav__title {
  color: black;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: 'Dancing Script',;
}

.nav__link {
  color: black;
  font-family: 'Dancing Script',;
}

.nav__link:hover{
  color: rgb(123, 123, 123);
}

.menu__btn{
  background-color: transparent;
  font-size: 20px;
  text-align: center;
  border: none;
}

.menu__backdrop{
  position: absolute;
  background-color: black;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  opacity: 0;
  visibility: hidden;
}

.menu--open .menu__backdrop{
  display: flex;
  visibility: visible;
  opacity: 1;
}

.menu__list{
  padding: 32px 0;
  text-decoration: none;
}

.menu__link{
  color: white;
  font-size: 1.5rem;
}
 
.menu__btn--close{
  position: absolute;
  right: 20px;
  top: 10px;
  padding: 8px;
  color: white;
}

.mail__btn{
  width: 70px;
  height: 70px;
  font-size: 32px;
  border-radius: 50px;
  border: none;
  background-color: #242424;
  color: white;
  position: fixed;
  bottom: 32px;
  right: 40px;
}

.btn__link{
  color: white;
}

/* 

Weddings

*/

.wedding__img--wrapper{
  background-color: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
}


.wedding__img-1,
.wedding__img-2,
.wedding__img-3,
.wedding__img-4,
.wedding__img-5,
.wedding__img-6,
.wedding__img-7,
.wedding__img-8,
.wedding__img-9 {
    width: 75%;
    margin: 12px auto;
    box-shadow: 8px 8px 7px lightgrey
}

.wedding__img-10{
  object-fit: scale-down;
  margin: 12px auto;
  box-shadow: 8px 8px 7px lightgrey
}

/* Footer */

.footer__para {
    background-color: #f5f5f5;
    font-size: small;
    text-align: center;
    padding: 1.5rem;
  }
  
  .footer__link {
    color: black;
    padding-left: 12px;
  }
  
  .footer__link:hover{
    cursor: hand;
  }

@media(min-width:800px) {
  .wedding__img--container{
        display: flex;
        flex-wrap: wrap;
        
  }

  .wedding__img-1,
  .wedding__img-2,
  .wedding__img-3,
  .wedding__img-4,
  .wedding__img-5,
  .wedding__img-6,
  .wedding__img-7,
  .wedding__img-8,
  .wedding__img-9,
  .wedding__img-10{
    width: 48%;
    box-shadow: 8px 8px 7px lightgrey;
 }
}

@media(max-width:550px){
  .nav__link{
    display: none;
  }

  .mail__btn{
    display: none;
   }
   
  .btn__link{
     display: none;
   }
}

@media(min-width:550px){
  .menu__btn{
   display: none;
  }
  
  .menu__backdrop{
    display: none;
  }
  
  .menu--open .menu__backdrop{
    display: none;
  }
  
  .menu__list{
    display: none;
  }
  
  .menu__link{
    display: none;
  }
   
  .menu__btn--close{
   display: none;
  }
}