@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);
@import url(https://fonts.googleapis.com/css?family=Rubik:300,regular,500,600,700,800,900,300italic,italic,500italic,600italic,700italic,800italic,900italic);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Roboto';
}

@keyframes fade {
    0% {opacity: 0.1} 
    50% {opacity: 1}
    100%{opacity: 0.1}
      }

.container{
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 60px;
}
/* Header Styles */

.home-header{
    background: rgb(0, 0, 0);
    position: relative;
    padding-bottom: 560px;
}

.slideshow-container {
    width: 100%;
    position: absolute;
    top: 0;
    margin: auto;
  }
  
  .mySlides {
    display: none;
  }
  
  .elementToFadeInAndOut {
    animation: fade 6s infinite ;
  }


/* .main-header{
        
        
} */

.member-header{
    background-image: url(../img/bgimage.jpg);
    /* background-position: center center; */
    background-repeat: no-repeat;
    /* background-size: 100% 100%; */
    background-size: cover;
    height: 100vh;
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 10;
}


.logo{
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
}

.logo_span{
    font-size: 34px;
}

.nav__list{
    display: flex;
    list-style: none;
    width: 100%;
    max-width: 600px;
    justify-content: space-evenly;
    /* position: absolute; */
    right: 0;
    
}

.nav__list-item{
    padding: 0 5px;
}

.nav__list-link{
    text-decoration: none; 
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    transition: 0.3s;
    color: white;
}
.nav__list-link-active{
    border-bottom: 2px solid white;
}
.nav__list-link:hover{
    border-bottom: 2px solid white;
}

.header-bottom{
    display: flex;
    flex-direction: column;
    /* padding: 150px 0 120px; */
    /* position: absolute; */
    z-index: 10;
    opacity: .8;
    padding-top: 50px;
}

.header-bottom_h1{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 0, 0);
    color: white;
    display: inline;
    padding: 8px 0px;
    max-width: 280px;
    text-align: center;
    margin-bottom: 110px;
}
.header-bottom_subtitle{
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 200px;
    color: rgba(255, 255, 255);
}

.button{
    border: 2px solid white;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    /* border-radius: 5px; */
    margin-bottom: 34px;
}

.subtitle_link{
    color: white;
    text-decoration: none;
    border-bottom: 3px solid white; 
}

.slider__img{
    width: 100%;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    max-height: auto;
}

/* Header Styles */

/* Section Styles */
.navigation-section{
    background: rgb(70, 94, 211);
    z-index: 99;
}
.navigation{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    
}
.navigation-item{
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 50px 0 45px 0;
}

.navigation-link{
    color: #fff;
    text-decoration: none;
}

.nav-title{
    padding-bottom: 20px;    
}

.second{
    border-left: 0.5px solid #abb8c3;
    border-right: 0.5px solid #abb8c3;
    padding: 50px 45px;
    margin:0 10px;
}
.third{
    padding-right: 0;
    padding-left: 45px;
}

.anniversaries-section{
    background: #edf1f4;
}

.anniversaries-photos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.anniversaries-item{
    position: relative;
    padding-bottom: 50px;
}

.anniversaries-img{
    width: 228px;
    border-radius: 5px 5px 0 0;
    transition: 250ms;
    cursor: pointer;
}

.anniversaries-img:hover{
    opacity: 0.8;
}

.title{
    font-size: 45px;
    padding: 50px 0;
}

.name{
    background-color: #fff;
    max-width: 228px;
    padding: 20px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 50px;
    border-radius: 0 0 5px 5px;
    
}

.person-name{
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 5px;
    color: #000;
}

.years{
    color: #000;
}

.date{
    position: absolute;
    background: #fff;
    z-index: 99;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    margin: 0;
    font-size: 1rem;
    border-radius: 2px;
    font-weight: 500;
    color: #000;
    
    
}
.day{
    display: block;
    padding: 2px;
    font-size: 1.25em;
    font-weight: normal;
    color: #000;
}
.month{
    background-color: red;
    display: block;
    padding: 2px 0;
    width: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px 2px 0 0;
    color: aliceblue;
    text-align: center;
    font-size: 11px;
}


.images{
    display: flex;
    flex-wrap: wrap;
}

.images-img{
    max-width: 12.5%;
    width: 100%;
    transition: 0.5s;
}
.images-img:hover{
    opacity: 0.7;
}

/* Section Styles */

footer{
    background: #edf1f4;
    
}

.footer-logo{
    color: #000;
}

.footer-nav__list-link{
    color: #000;
}

.footer-nav__list-link:hover{
    border-bottom: 2px solid black;
}
.footer-nav__list-link-active{
    border-bottom: 2px solid black;
}

.history-img{
    max-height:320px;
    float: left;
    /* margin: 0 50px 50px 0; */
    border-radius: 5px;
    
}
.history-img-2{
    max-height:320px;
    float: right;
    /* margin: 0 0px 0px 50px; */
    border-radius: 5px;
    
}

.history-text{
    font-size: 20px;    
    line-height: 1.7;
    letter-spacing: 1px;
    max-width: 800px;
    font-weight: 400;
    margin: 0 auto;
}
.main-history{
    padding: 52px 0;
}

.history-title{
    padding: 20px 0;
    font-size: 30px;
}

.members-section{
    padding-top: 50px;
}

.gallerie{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.vertical-img{
    max-width: 400px;
    padding: 10px 0;
}

.horizontal-img{
    max-width: 900px;
    padding: 10px 0;
}

.horizontal-img:nth-child(10){
    max-width: 800px;
}
.horizontal-img:nth-child(8){
    max-width: 850px;
}
.horizontal-img:nth-child(14){
    max-width: 850px;
}
.vertical-img:nth-child(9){
    max-width: 500px;
}
.vertical-img:nth-child(7){
    max-width: 450px;
}
.vertical-img:nth-child(13){
    max-width: 450px;
}

.vertical-img:nth-child(15){
    max-width: 425px;
}
.vertical-img:nth-child(16){
    max-width: 425px;
}
.vertical-img:nth-child(17){
    max-width: 425px;
}

.wed{
    max-width: 430px !important;
}

.members-link{
    text-decoration: none;
    color: black;
}

/* video styles */

.smallVideo {
  max-width: 400px;
  margin: 20px 0;
  display: flex;
}