:root{
    --main-color: #697e83;
    --gray-color: rgb(71, 70, 70);
    --white-color: #fff;
    --black-color: #000;

}
/* parallax effects*/
.parallax {
    /* The image used */
    background-image: url("img1.jpg");
  
    /* Set a specific height */
    min-height: 600px; 
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.65;
}
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5{
  position: relative;
  opacity: 0.65;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bgimg-1{
  background-image: url(img2.png);
  min-height: 400px;
}
.bgimg-2{
  background-image: url(img3.gif);
  min-height: 400px;
}
.bgimg-3{
  background-image: url(img4.jpg);
  min-height: 400px;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.bgimg-4{
  background-image: url(img5.jpg);
  min-height: 400px;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  }

.caption {
  position: absolute;
  left: 0;
  top:30%;
  width: 100%;
  text-align: center;
  color:rgb(163, 157, 157);
  opacity: 0.9;
  border-radius: 5em;
}
.caption span.border{
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}
span.border1{
  background-color: transparent;
  font-size: 25px;
  color: #f7f7f7;
  padding: 18px;
  letter-spacing: 10px;
}
span.border2{
  background-color: transparent;
  font-size: 25px;
  color: #f7f7f7;
  padding: 18px;
  letter-spacing: 10px;
} /*End parallax*/
body{
    height: 100%;
    margin: 0;
    font: 400 15px/1.8 "Lato", sans-serif;
    color: var(--black-color);
}
div{
    display: block;
}
/* header and nav*/
header{
    width: 100%;
    position:relative;
    z-index: 5;
    margin-top: 0;
    padding-top: 0;    
}
nav ul{
    margin:0;
    padding:0;
    display: flex;
    justify-content: space-around;
    text-align: center;
}
nav li{
    list-style: none;
    padding: 1em 0;
}
nav a{
    display: inline-block;
    color: var(--gray-color);
    font-weight: 300;
    opacity: 0.6;
    text-decoration: none;
    transition: 0.3s all ease;
}
a{
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition:.3s all ease; 
    text-decoration: none;
}
nav a:hover{
    text-decoration: none;
    -webkit-transition: .8s all ease;
    font-weight: bold;
    opacity: 1;
    color: var(--black-color);
}
ul.menu{
    list-style-type: none;
    display: flex;
    padding: 0;
    justify-content: space-around ;
}
nav{
    background: rgb(253, 253, 253)!important;
    width: 100%;
    top: 0;
    left: 0 ;
    right: 0;
    position: fixed;
}
/*End nav*/

/*About Section*/
.adlogo{
  width: 80%;
}
.grid-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px;
    margin: 10px;
}
.text1{
    grid-column-start: 2;
    grid-column-end: 4;
    justify-self: center;
    align-self: center;
    line-height: 1.7em;
    letter-spacing: 2px;
    font-family: 'Shadows Into Light', cursive;
    font-size: 19px;
}
.logo{
    grid-column-start: 1;
    grid-column-end: 2;
    padding: 10px;
}
.grid-container>.text1{
    padding: 10px;
}
.grid-item{
  align-self: center;
}
p{
  display: block;
  font-family: 'Shadows Into Light', cursive!important;
  letter-spacing: 2px;
}
h3{
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato", sans-serif;
    color:#111;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.alex{
  display: block;
  margin-left:auto;
  margin-right: auto;
}
.alex-img{
  border-radius: 50%;
  box-shadow: #282E34;
}
.about{
    color: #777;
    background-color: #fff;
}
.contact{
  background: transparent!important;
  grid-column-start: 2;
  grid-column-end: 3;
}
.section2{
    position: relative;
}
.box{
    justify-self: center;
    text-align: center;
    float: left;
    width:80%;
    padding: 10px;
    margin: 10px;
}
.services-section{
    display: grid;
    grid-column-gap: 30px;
    grid-template-columns: 1fr 1fr;
    color:var(--white-color);
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
}
.fas{
    font-size: 3em;
    padding: 0.5em;
}
.section3{
    color: #ddd;
    background-color: #282E34;
    text-align: center;
    padding: 50px 80px;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}
#toggle{
    display: none;
}
.label{
    font-size: 26px;
    line-height: 70px;
    display: none;
    width: 30px;
    float: right;
    color: var(--white-color)
}
#icon{
  padding: 10px;
}
body {
    font-family:  'lato';
    margin:0
}
footer{
  color: #ddd;
  background-color: #282E34;
  text-align: center;
  padding: 50px 80px;
  text-align: justify;
}
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}
.card img{
  width:100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.project{
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.project:hover{
  filter: none;
  -webkit-filter: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
  cursor: pointer;
}
.btn{
  background-color: var(--gray-color)!important;
  border-radius: .3rem!important;
}

.copyright{
  text-align: center;
}
.contactlink{
  font-family: 'Shadows Into Light', cursive!important;
  font-size: 50px;
  text-decoration: none;
  color: #000;
}
.contactlink:hover{
  text-decoration: none;
  -webkit-transition: .8s all ease;
  font-weight: bold;
  opacity: 1;
  color: var(--black-color);
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
.modal-title{
  font-family: 'Shadows Into Light', cursive!important;
  font-size: 3em;
  color: var(--gray-color);
}
    @media(max-width:700px){
      .bgimg-1, .bgimg-2, .bgimg-3,.bgimg-4, .bgimg-5{
        background-attachment: scroll;
    }
    #slideshow {
      margin-left: 0;
      margin-right: 0;
      position: relative;
      width: 600px;
      padding: 0;
    }
      *{
        columns: 1;
        padding: 0;
    }
    .grid-container{
        display: block;
    }
    .section2{
      display: grid;
      
    }
    .section3{
      display: block;
      columns: 1;
      padding: 0;
      width: 100%;
    }
    .grid-item{
      margin-left: auto;
      margin-right: auto;
      justify-self: center;
    }
    .card{
      margin-left: auto;
      margin-right: auto;

    }
      .fas{
          font-size: 26px;
          color: var(--text-color);
          float: right;
          width: 30px;
          padding: 0;
      }
      .label{
          display: block;
          cursor: pointer;
      }
      .left{
        display: inline;
        width: 100%;
      }
      .right{
        width: 100%;
      }
  }