@font-face {
    font-family: cairo;
    src: url(../fonts/Cairo-Regular.ttf);
  }
  
  @font-face {
    font-family: GrandHotel;
    src: url(../fonts/GrandHotel-Regular.ttf);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
  }
  
  body {
    font-family: cairo;
    height: 1500px;
  }
  
  :root {
    --light: #fff;
    --dark: #181b24;
    --secondDark: #3a3e3b;
    --primaryColor: #698f3f;
    --secondaryColor: #fca311;
    --slantedText: GrandHotel, cursive;
  }
  
  img {
    width: 100%;
  }
  
  .section-container {
    width: 90%;
    margin: 0 auto;
  }
  
  .main-btn {
    display: inline-block;
    background: var(--primaryColor);
    text-transform: uppercase;
    padding: 0.8rem 1.2rem 0.7rem 1.2rem;
    color: var(--secondDark);
    font-weight: bold;
    outline: 0.2rem solid var(--primaryColor);
    outline-offset: 4px;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 1s ease;
    border: none;
  }
  
  .main-btn:hover {
    color: var(--light);
  }
  
  .section-title h3 {
    color: var(--primaryColor);
    font-size: 40px;
    font-family: GrandHotel;
    letter-spacing: 5px;
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* navbar */
  
  nav {
    background: var(--dark);
    padding: 5px 0;
  }
  
  .logo-title {
    font-size: 20px;
    color: var(--light);
    letter-spacing: 3px;
  }
  
  .logo-title span {
    color: var(--primaryColor);
  }
  
  .logo .fas {
    font-size: 30px;
    color: var(--primaryColor);
    transition: all 1s ease;
    padding: 5px 10px;
    font-size: 15px;
    border: 1px solid #807e7e;
    border-radius: 5px;
  }
  
  .logo .fas:hover {
    transform: scale(1.2);
  }
  
  .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links a {
    font-size: 15px;
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    margin-bottom: 5px;
    transition: all 2s ease;
    line-height: 30px;
  }
  
  .nav-links a:hover {
    color: black;
    background: #ccc;
    padding-left: 40px;
  }
  
  .nav-links {
    /* display: none; */
  }
  
  @media screen and (min-width: 768px) {
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo .fas {
      display: none;
    }
    .logo {
      flex: 0 0 auto;
    }
    .nav-links {
      flex: 1 0 auto;
      display: flex !important;
      justify-content: space-between;
      align-items: center;
    }
    .nav-links a {
      flex: 1 0 auto;
      text-align: right;
      margin-bottom: 0;
      transition: none;
      transition: color 1s ease;
      font-size: 17px;
    }
    .nav-links a:hover {
      color: var(--primaryColor);
      background: transparent;
      padding-left: 10px;
    }
  }
  
  /* end of navbar */

  /*  banner */
  #banner
  {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/to.jpg");
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat ;
      background-size:cover ;
      min-height: 90vh;
      display: flex;
      justify-content: center;
      align-items: center;
      
  }
  @media screen and (min-width: 600px) {
    #banner
  {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/too.jpg");
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat ;
      background-size:cover ;
      min-height: 90vh;
      display: flex;
      justify-content: center;
      align-items: center;
      
  }
  }
.word{

    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    background-color: transparent;
    padding: 5px;
    text-shadow: 2px 2px #181b24;
    
}

  /*text 1 start*/
.text span{
    animation: animate 1s linear infinite;

}
.text span:nth-child(1){
    animation-delay: 0s;
}
.text span:nth-child(2){
    animation-delay: 0.2s;
}
.text span:nth-child(3){
    animation-delay: 0.4s;
}
.text span:nth-child(4){
    animation-delay: 0.6s;
}
.text span:nth-child(5){
    animation-delay: 0.8s;
}
.text span:nth-child(6){
    animation-delay: 1s;
}
.text span:nth-child(7){
    animation-delay: 1.2s;
}
.text span:nth-child(8){
    animation-delay: 1.4s;
}
.text span:nth-child(9){
    animation-delay: 1.6s;
}
@keyframes animate
{
    0%,80%
    {
        color: black;
        text-shadow: none;
    }
    100%
    {
        color: #333333;
        text-shadow:0 0 10px #fff,
                    0 0 20px #fff,
                    0 0 40px #fff,
                    0 0 80px #fff,
                    0 0 120px #fff,
                    0 0 160px #fff,
                    0 0 180px #fff,
                    0 0 200px #fff,
                    0 0 220px #fff;

    }
}
/*text 1 end*/
  /* end of banner */
  .linear {
    background: linear-gradient(
      to right,
      var(--secondaryColor),
      var(--primaryColor),
      var(--secondaryColor)
    );
    height: 5px;
  }


  /*start education*/
  #education {
  padding: 50px 0;
}

.education-info {
  padding: 30px;
}

.education-info h3 {
  font-size: 40px;
  color: var(--primaryColor);
  font-family: GrandHotel;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.education-text
{
  font-size: 30px;
  color:black;
  font-family: GrandHotel;
  letter-spacing: 1px;
}
.education-text i
{
  color: blueviolet;
}
  /*end education*/

  /*staer phohtos*/
  .photo1
  {
    background: url(../img/photo1.jpg)
  }
  .photo2
  {
    background: url(../img/photo2.jpg)
  }
  .photo3
  {
    background: url(../img/photo3.jpg)
  }
  .photo4
  {
    background: url(../img/photo4.jpg)
  }
  .photo5
  {
    background: url(../img/photo5.jpg)
  }
  .photo6
  {
    background: url(../img/photo6.jpg)
  }
  .photo7
  {
    background: url(../img/photo7.jpg)
  }
  .photo8
  {
    background: url(../img/all.jpg)
  }

.title
{
  padding: 50px 0;
  color: var(--primaryColor);
}

  .pop {
  position: relative;
  min-height: 40vh;
  transition: all 1s ease;
  margin-bottom: 20px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;
  border: 1px solid #ccc;
  }
  .photo-edit{
    position: absolute;
    bottom: -0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 1s ease;
    color: var(--dark);
    background: var(--dark);
    padding: 20px;
    text-transform: capitalize;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.photo-edit h4
 {
  color: var(--primaryColor);
 }
 .name
 {
  position: absolute;
  bottom: -0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 1s ease;
  color: var(--dark);
  background: var(--dark);
  padding: 20px;
  text-transform: capitalize;
   text-align: center;
   text-decoration: none;
 }
 .name h4 {
  color: var(--primaryColor);
 }

 .photo-edit a
 {
  text-decoration: none;
  color: rgb(43, 100, 206);
 }
  .pop:hover {
    box-shadow: 1px 1px 10px black;
    transform: scale(1.025);
  }
  @media screen and (min-width: 600px) {
    .photos-all{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 1rem;
    }
  }
  
  @media screen and (min-width: 900px) {
    .photos-all{
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media screen and (min-width: 1100px) {
    .photos-all {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /*end photos*/
  /* contact me */
  #contact
  {
    background-color: #3a3e3b;
    line-height: 60px;
    letter-spacing: 2px;
  }
  .contact-item1{
    font-family: cairo;
    color: var(--primaryColor);
  }
  .contact-item h3{
    color: white;
  }
  .contact-item h3 i{
    color: coral;
    padding-right: 5px;
  }
  /* end of contact me */
.copy-right
{
  background-color: black;
  text-align: center;
  color: white;
}
.copy-icon
{
  color: coral;
}



