*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.6s;
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
}

.container{
    margin-left: 5%;
    margin-right: 5%;
}

/* Navbar section */

.nav{
    top: 15px;
    width: 95%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    background-color: #191718;
    align-items: center;
    left: 2.5%;
    border-radius: 15px;
    z-index: 1;
}

.nav div.logo{
    width: 180px;
    height: 10px;
    position: absolute;
}

.nav div.logo a{
    text-decoration: none;
    color: #fff;
    font-size: 1.8em;
    text-transform: uppercase;
}

.nav div.logo a:hover {
    color: #c0c0c0;
}

.nav div.main_list{
    width: 400px;
    height: 65px;
    float: right;
}

.nav div.main_list ul{
    width:100%;
    height: 65px;
    display: flex;
    list-style: none;
}

.nav div.main_list ul li{
    width: 120px;
    height: 65px;
}

.nav div.main_list ul li a{
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    text-transform: uppercase;
}

.nav div.main_list ul li a:hover{
    color: #c0c0c0;
}

.nav div.media_button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 12px;
    display: none;
}

.nav div.media_button button.main_media_button {
    width: 100%;
    height: 100%;
    background-color: transparent;;
    outline: 0;
    border: none;
    cursor: pointer;
}

.nav div.media_button button.main_media_button span{
    width: 98%;
    height: 1px;
    display: block;
    background-color: #fff;
    margin-top: 9px;
    margin-bottom: 10px;
}



/* Home section */

.home{
    width: 100%;
    height: 700px;
    background-color: #6666;
}

/* Media section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .container{
        margin: 0;
    }
    
}




@media screen and (max-width:768px) {
    
    .container{
        margin: 0;
    }
    
    .nav{
        border-radius: 15px;
    }

    .nav div.logo{
        margin-left: 15px;
    }
    
    .nav div.main_list{
        width: 100%;
        margin-top: 65px;
        height: 0px;
        overflow: hidden;
    }
    
    .nav div.show_list{
        height: 200px;
    }
    
    .nav div.main_list ul{
        flex-direction: column;
        width: 100%;
        height: 200px;
        top: 80px;
        right: 0;
        left: 0;
    }

    .nav div.main_list{
        margin-top: 70px;
        border-radius: 20px;
    }
    
    .nav div.main_list li:nth-child(3){
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }


    .nav div.main_list ul li{
        width: 100%;
        height: 40px;
        background-color: #191718;
        
    }
    
    .nav div.main_list ul li a{
      text-align: center;
        line-height: 40px;
        width: 100%;
        height: 40px;
        display: table;
    }
    
    .nav div.media_button{
        display: block;
    }
}


/* END Navbar section */



.gallery-section{
    width: 100%;
    padding: 60px 0;
    background: #f1f1f1;
    height: auto;
  }
  
  .space{
      height: 50px;
  }

  .inner-width{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
  }
  
  .gallery-section h1{
    text-align: center;
    text-transform: uppercase;
    color: #333;
    top: 150px;
  }
  
  .border{
    width: 160px;
    height: 4px;
    background: #333;
    margin: 20px auto;
  }
  
  .gallery-section .gallery{
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
  }
  
  .gallery-section .image{
    flex: 25%;
    overflow: hidden;
    cursor: pointer;
  }
  
  .gallery-section .image img{
    width: 100%;
    height: 100%;
    transition: 0.4s;
  }
  
  .gallery-section .image:hover img{
    transform: scale(1.4) rotate(15deg);
  }
  
  @media screen and (max-width:960px) {

    .gallery-section{
        height: auto;
      }
    .gallery-section .image{
      flex: 33.33%;
    }
  }
  
  @media screen and (max-width:768px) {
    .gallery-section .image{
      flex: 50%;
    }
  }
  
  @media screen and (max-width:480px) {
    .gallery-section .image{
      flex: 100%;
    }
  }
  
  


















































/* START Footer section */

.container {
    flex: 1;    /* same as flex-grow: 1; */
}

.ft-main {
    display: flex;
    height: auto;
    flex-direction: row;
    align-items: center;
    margin-left:auto;
    margin-right:auto;
    overflow-x: hidden;
}

.ft-main-item {
    padding: 1.25rem;
    min-width: 12.5rem /*200px*/;
}

.ft-main-item ul li {
    list-style-type: none;
}

footer {
    background-color: #555555;
    color: #bbbbbb;
    line-height: 1.5;
    padding: 1.25rem 1.875rem;
    display: flex;
    flex-wrap: wrap;
}

footer a{
    text-decoration: none;
    color: #eeeeee;
}

footer li{
    margin-bottom: 12px;
}

a:hover {
    text-decoration: underline;
}
.ft-title {
    color: #fff;
    font-family: 'Titilium', sans-serif;
    font-size: 1.375rem;
    padding-bottom: 0.625rem;
}

.ft-title2 {
    color: #fff;
    font-family: 'Titilium', sans-serif;
    font-size: 1.375rem;
    padding-bottom: 1.3rem;
}

.ft-class{
    list-style: none;
    padding-left: 0; ;
}

form {
    display: flex;
    flex-wrap: wrap;
}
input[type="email"] {
    border: 0;
    padding: 0.625rem;
    margin-top: 0.3125rem;
    width: 250px;
}

input[type="message"] {
    border: 0;
    padding: 0.625rem;
    margin-top: 0.3125rem;
    width:250px;
}

input[type="submit"] {
    background-color: #416dea ;
    color: #fff;
    cursor: pointer;
    border: 0;
    padding: 0.625rem 0.9375rem;
    margin-top: 0.3125rem;
}

input[type="submit"]:hover {
    background-color:#959595;
    transition: all 0.3s;
}




@media only screen and (max-width:900px){
    .ft-main{
        width:100%;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    footer li{
        margin-bottom: 5px;
    }
}

/* END Footer section */