@font-face {
    font-family: 'wedding';
    src:    url('fonts/Wedding/Wedding\ Card.ttf'),
            url('fonts/Wedding/Wedding\ Card.otf');

    font-family: 'handwritting';
    src:    url('fonts/Ammys/Ammys\ Handwriting.ttf');
}

/*nav bar*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0 5%;
}

@media all and (min-width: 960px){
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0px;
    }
}

h1,h2,h3{
    font-family: 'handwritting';
    font-weight: 100;
    text-align: center;
}

p{
    font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
    color: #777777;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0px;
}

.head {
    margin: 15px 0;
}
nav {
    background: white;
    padding: 0 0px;
    z-index: 10;
    
}

.sticky {
    position: fixed;
    top: 0;
    width: 90%;
  }

@media all and (min-width: 960px){
    .sticky {
        position: fixed;
        top: 0;
        width: 100%;
      }
}

.image-fluid{
    width: 100%;
    height: auto;
}

a {
    color: #555555;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
}
.menu, .submenu {   
    list-style-type: none;
}

.logo {
    font-size: 20px;
    padding: 7.5px 10px 7.5px 0;
}
.item {
    padding: 10px 10px 0 10px;
}
.item.button {
    padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
    color: #ccc;
   /* border-bottom: 3px double #555555;*/
}

/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.menu li a {
    display: block;
    padding: 15px 5px;
}
.menu li.subitem a {
    padding: 15px;
}
.toggle {
    order: 1;
    font-size: 20px;
}
.item.button {
    order: 2;
}
.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
}
.active .item {
    display: block;
}
.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */
.submenu {
    display: none;
}
.submenu-active .submenu {
   display: block;
}
.has-submenu i {
    font-size: 12px;
}
.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900; 
    content: "\f078";
    color: white;
    padding-left: 5px;
}
.subitem a {
    padding: 10px 15px;
}
.submenu-active {
    background-color: #111;
    border-radius: 3px;
}

/* Tablet menu */
@media all and (min-width: 700px) {
    .menu {
        justify-content: center;
    }
    .logo {
        flex: 1;
    }
    .item.button {
        width: auto;
        order: 1;
        display: block;
    }
    .toggle {
        flex: 1;
        text-align: right;
        order: 2;
    }
    /* Button up from tablet screen */
    .menu li.button a {
        padding: 10px 15px;
        margin: 5px 0;
    }
    .button a {
        background: #0080ff;
        border: 1px royalblue solid;
    }
    .button.secondary {
        border: 0;
    }
    .button.secondary a {
        background: transparent;
        border: 1px #0080ff solid;  
    }
    .button a:hover {
        text-decoration: none;
    }
    .button:not(.secondary) a:hover {
        background: royalblue;
        border-color: darkblue;
    }
}

/* Desktop menu */
@media all and (min-width: 960px) {
    .menu {
        align-items: flex-start;     
        flex-wrap: nowrap;
        background: none;
    }
    .logo {
        order: 0;
    }
    .item {
        order: 1;
        position: relative;
        display: block; 
        width: auto;
    }
    .button {
        order: 2;
    }
    .submenu-active .submenu {
        display: block;
        position: absolute;
        left: 0;
        top: 68px;
        background: #111;
    }
    .toggle {
        display: none;
    }
    .submenu-active {
        border-radius: 0;
    }
    nav{
        padding: 0 90px;
    }
}
/*---------------------------------------*/

/*Slide show CSS*/

* {box-sizing:border-box}

/* Slideshow container */

#slide-id{
    margin-bottom: 50px;
}

.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: white;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*-------------------------------------*/

/*Main content*/


@media all and (min-width: 960px) {
.content{
    max-width: 1200px;
    margin: 5% auto;
}
.welcome{
    text-align: center;
    width: 75%;
    margin: 0 auto;
    color:#777777;    
}

.welcome h1{
    font-weight: 600;
}

hr.type_7 {
    border: 0;
    height: 55px;
    background-image: url(/images/type_7.png);
    background-repeat: no-repeat;
    background-position: center;
    }
}

/*-------------------------------------*/

/*Divider*/

.divider img {
    width: 80%;
}

.divider{
    display: flex;
    margin: 5% 0;
    align-items: center;
    justify-content: space-around;
}

@media all and (min-width: 960px){

    .divider{
        margin: 1% 0;
    }

    .divider img {
        width: 25%;
    }
}

/*Gallery CSS*/

.gallery-content{
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.content-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0% 5%;
    color: #777777;
    font-weight: 600;
}



.gallery-content h2{    
    font-size: 2.5rem;
    color: white;
}

.background-div{
    background-image: url(/images/thomas-william-U7N6XFvTBjU-unsplash.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.owl-carousel img {
    width: 50% !important;
    display:block;
    margin: 0 auto;
    object-fit: contain;
    height: 200px;
  }



.owl-carousel.owl-drag .owl-item {
    background: rgba(255,255,255, 0.2);
}

/* order css */

.icon-contenair{
    display: flex;
    flex-direction: column;
}

.icon-box{
    width: 50%;
    margin: 5% auto;
    text-align: center;
}

.image-box{
    width: 55%;
    margin: 0 auto;
}

@media all and (min-width: 960px){
    .content-title h2{    
        font-size: 40px;
        font-weight: 600;
    }
    
    .icon-contenair{
        display: flex;
        flex-direction: inherit;
    }
    
    .icon-box{
        width: 25%;
        margin: 0 4%;
    }
    
    .icon-box p {
        font-size: 21px;
        text-align: center;
    }
    
    .image-box{
        width: 50%;
        margin: 0 auto;
    }
}




/*Footer css*/

.footer{
    max-height: 500px;
} 

.foot-bg{
    background-image: url(/images/footer.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*height: 380px;*/
}

.foot-content{
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.foot-content h3{
    color:white;
}

.foot-icon{
   
}

.foot-icon li{
    padding: 10px;
}

/*contact form css */
.contact{
    display: flex;
    justify-content: center;
    margin: 150px auto;
    max-width: 1600px;
}

.contact label{
    width: 30px;
}

.container{
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.form-title{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

input{
    border: none;
    border-bottom: 1px solid #777777;
    width: 50%;
    height: 50px;
}

input:focus {
    outline: none;
    border-bottom: 1px solid #cf5a5a;
}

.form-in{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-in textarea{
    min-height: 164px;
    width: 80%;
    margin-top: 40px;
}

.form-line {
    display: flex;
    justify-content: space-around;
    width: 80%;
}

::placeholder{
    font-size: 20px;
}

form button {
    margin-top: 40px;
    background-color: #c89e97; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
  }
