 @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
html{
    scroll-behavior: smooth;
}
@font-face {
    font-family: 'Aloevera';
    font-family: 'Bettani';
    src: url('./fonts/Aloevera-OVoWO.ttf') format('truetype');
    src: url('./fonts/BettaniSelliaDemo-MABap.otf') format('truetype');
  }
body{
    font-family: "Montserrat", serif;
    z-index: 9;
    overflow-x: hidden;
}
h1{
    font-family: "Playfair Display", serif;

}
.nav2{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #043D04;
    padding: 10px 40px;
    z-index: 10;
    position: relative;
}
.nav2 ul{
    display: flex;
}
.nav2 ul li{
    list-style: none;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}
.nav2 ul li a:hover{
    color: goldenrod;
}
.nav-text-main ul li a{
    text-decoration: none;
    color: #fff;
    transition: 0.3s ease;

} 
.getint{
    background-color: goldenrod;
    padding: 10px 20px;
    border-radius: 20px;
    transition: 0.3s ease;
}
.getint:hover{
    background-color: #fff;
    color: goldenrod;
}
.nav-text ul li a{
    text-decoration: none;
    color: #000
}
.logomain img{
    width: 22%;
    padding-left: 20px;
}
/* .one{
    height: 100vh;
} */
.one .subone{
     padding-top: 20px;

}
.one {
    background: linear-gradient(to bottom, rgb(4, 61, 4) 70%, black 30%);
    height: 100%;
    padding-bottom: 100px;
}

 
.one .suboneone{
    font-family: "Playfair Display", serif;
     color: rgb(186, 178, 178);
    font-size: 100px;
    text-align: center;
    line-height: 84px;
}
.one .subonetwo{
    font-family: "Playfair Display", serif;
    -webkit-text-stroke: 0.5px rgb(248, 169, 0); 
    color: transparent;
    font-size: 100px;
    text-align: center;
    line-height: 84px;
}
/* .one .subtwo{
    background-color:#000;
    height: 30%;
}  */
 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px; 
} 
/* .overlay h1{
    color: #bfbaba;
    font-size: 100px;
    padding-left: 20%;
    padding-top: 80px;
 } */
  .overlay .imgone {
    position: relative;
    width: 20%;
    margin-top: 16%;
    margin-left: 10%;
   } 
  .minitexttext{

    width: 30%;
    padding: 10px;
    margin-top: -5%;
    margin-left: 65%;
    }
  .minitexttext p{
    color: #fff;
    font-size: 14px;
  }
 .nav{
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
  }
 .nav-text ul{
    display: flex;
    align-items: center;
    padding-left: 10px;
 }
 .nav-text ul li{
    list-style: none;
    padding: 10px;
    font-size: 16px;
 }
 .nav-text ul li a{
    transition: 0.3s ease;
 }
 .nav-text ul li a:hover{
    color: #043D04;
 }
 .two-maintxt{
    width: 50%;
 } 
 .two{
    background-color: rgb(239, 212, 179);
    padding: 10px 65px 50px 65px;
 }
 .two-heading{
    text-transform: uppercase;
    
 }

 .two-maintxt h1{
    font-family: "Playfair Display", serif;
    font-size: 60px;
    color: #043D04;

  }
  .two-text{
    line-height: 22px;
    padding-top: 20px;
    margin-bottom: 30px;  
  }
  .logo img{
    width: 25%;
  }
   .two-maintxt .twobtn{ 
      padding: 15px 50px;
    border-radius: 15px;
    font-size: 16px;
    border: none;
    background-color: goldenrod;
    transition: 0.3s ease;
    font-family: "Montserrat", serif;
    text-decoration: none;
    color: #fff;

  }
   .twobtn:hover{
    background-color: #043D04;
    color: goldenrod;
  }
  .three{
    padding: 20px 100px;
    background-color: rgb(4, 61, 4);
    display: flex;
     justify-content: space-between;

  }
  .three h1{
    color: rgb(236, 123, 18);
    font-family: "Playfair Display", serif;

  }
  .three ul li{
    list-style: none;
    padding-top: 20px;
    color: #fff;
  }
  .three-heading li{
    display: flex;
   }
  .three-heading li i{
    padding-right: 25px;
    color: darkgoldenrod;
   }
  .three-heading .minili p{
    margin-bottom: 5px;
    margin-left: 20px;
    }
   .three-heading .minili span{
    font-weight: bold;
   }
  .three-heading  .minili{
    display: flex;
   }
   .two-img{
    
    background-color: #043D04;
    width: 25%;
    position: relative;
   }
   .two-main{
    display: flex;
    justify-content: space-around;
    align-items: center;
    }
   .two-img img{
    width: 100%; 
   }
   .card{
    background-color: #000;
    padding: 10px;
    display: flex;
    flex-direction: column;
    
   }
   
   .card h1{
    color: #fff;
    text-align: center;
    font-family: "Playfair Display", serif;
    margin-bottom: 5px;


   }
   .card p {
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;
    padding-left: 30%;
   }
   .card i{
    margin-right: 10px;
   }
   .overlay2 {
    position: absolute;

    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
 }
 .date{
    position: absolute;
    background-color: goldenrod;
    border-radius: 20px;
    padding: 10px;
    top: 30px;
    left: -80px;
 }
 .nationality{
    background-color: goldenrod;
    position: absolute;
    background-color: goldenrod;
    border-radius: 20px;
    padding: 10px 20px;
    top: 50%;
    right: -30px;
 }
 .resume h1{
    font-family: "Playfair Display", serif;
    -webkit-text-stroke: 0.5px rgb(248, 169, 0); 
    color: transparent;
    font-size: 100px;
    text-align: center;
    line-height: 84px;
 }
.resume{
    position: relative;
top: -15%;
}
.skills{
    position: relative;
     /* top: -18%;  */
    padding-left: 60px;

}
.skillmini{
    display: flex; 
    flex-wrap: wrap;

}
.skillmini p{
     padding: 10px;
    background-color: black;
    color: #fff;
    margin: 5px;
    border-radius: 15px;
    transition: 0.3s ease;
    cursor: pointer;
}
.skillmini p:hover{
    background-color: goldenrod;
    color: black;
}
.three-heading{
    width: 50%;
}
.three-right{
    width: 50%;

}
.skills h1{
   
    margin-bottom: 10px;
}
.four{
    padding: 20px 100px;
    display: flex;
     justify-content: space-between;
     position: relative;
  }  
  .lione{
     list-style: none;
    padding-top: 20px;
    display: flex;
  } 
   .lione i{
    padding-right: 25px;
    color: #fff;
   }
   .lione .minili p{
    margin-bottom: 5px;
    margin-left: 20px;
     }
   .lione .minili span{
    font-weight: bold;
   }
   .lione .minili{
    display: flex;
    }
.four{
    width: 100%;
}
    .four-heading{
        top: -180px;
        position: absolute;
        width: 42%;
        background-color: goldenrod;
        padding: 40px 20px;
    }
.fourmainhead{
    width: 50%;
}
.fourbox{
    color: #fff;
     display: flex;
    flex-wrap: wrap;
}
.fourbox p{
    margin: 5px;    
    padding: 10px;
    background-color: #000;
    border-radius: 15px;
 }
 .four-heading ul{
    padding-bottom: 20px;
 }
 .hob{
    display: flex;
 }
 .hh{
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
  }
 .hh i{
    font-size: 30px;
    margin-bottom: 10px ;
    color: goldenrod;
 }
 .p{
    text-wrap: wrap;
 }
 .hh{
    width: 25%;
 }
 .hobbis h1{
    padding-bottom: 20px;
 }
 .four-right{
    width: 50%;
    padding: 30px;
 }
 .minilang{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    padding-left: 20px;

 }
 .lang h1{
    padding-bottom: 15px;
 }
 .five{
    padding: 20px 100px;
    background-color: #EFD4B3;
 }
 /* .five h1{
    padding-left: 30px;
 } */
 .five h1{
    position: relative;
     /* -webkit-text-stroke: 0.5px #043D04;  */
    color: #043D04;
    font-size: 100px;
    text-align: center;
    margin-top: -5%;
    line-height: 84px;
 }
 
 .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
    padding: 20px;
    justify-items: center;
}

.cardone {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    max-width: 300px;
}

.cardone:hover {
    transform: scale(1.05);
}

.cardone img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.card-content {
    padding: 10px;
}

.card-content h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.card-content  .btn {
     font-size: 14px;
     text-decoration: none;
     color: #000;
     transition: 0.3s ease;
}

.btn:hover {
    color: goldenrod;
}

#contact  {
    width: 100%; 
    background: #043D04;
}
 
 
.social-icons {
     display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    margin-right: 25px;
    margin-left: 25px;
    color: #ffffff;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: goldenrod;
    transform: translateY(-5px);
}
  
 .copyright {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: #262626;
    color: #fff;
    font-weight: 300;
     font-size: 12px;
}

@media screen and (max-width: 1268px){
    .four-heading{
        top: -67%;
    }
}
@media screen and (max-width: 1268px){
    .four-heading{
        top: -60%;
    }
}
@media screen and (max-width: 998px) {
    html,body{
        overflow-x: hidden;
    }
    .lione .minili{
        display: flex;
        flex-direction: column;
    }
    .lione .minili p{
        margin-left: 0;margin-top: 5px;
    }
    .four {
        padding: 20px 60px;
    }
    .three-heading .minili{
        flex-direction: column;
    }

}
@media screen and (max-width: 820px) {
    
    html,body{
        overflow-x: hidden;
    }
    .nav2{
        padding: 10px 20px;

    }
    .nav2 ul li{
        padding: 0;
        margin-left: 10px;
        text-wrap: nowrap;
    }
    .two{
        padding: 10px 40px 50px 40px;
    }
    .three,.four{
        padding: 20px 40px;
    }
  
    .four-heading {
        width: 45%;
    }
    .lione .minili{
        display: flex;
        flex-direction: column;
    }
    .three-heading .minili p{
        margin-left: 0;margin-top: 5px;
    }
    .hob {
        gap: 10px;
    }
}
  @media screen and (max-width: 768px) {
    .four-heading{
        top: -80%;
    }
    .hob{
        gap: 20px;
    }
    .nav{
        display: none;
    }
    .two-maintxt h1{
        font-size: 40px;
    }
    .two-maintxt .twobtn{
        padding: 15px 20px;
    }
}  

@media screen and (max-width: 600px) {
    html,body{
        overflow-x: hidden;
    }
    .nav2 ul{
        display: none;
    }
    .one .subonetwo,.one .suboneone{
        font-size: 65px;
        line-height: 85%;
    }
    .overlay .imgone{
        width: 35%;
    }
    .minitexttext{
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .overlay .imgone{
        margin-left: 0;
    }
    .overlay{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .nav-text{
        display: none;
    }
    .two-main{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .two-maintxt{
        width: 100%;
        display: flex;
        flex-direction: column;align-items: center;
        justify-content: center;
        padding-bottom: 20px;
    }
    .two-maintxt h1{
        font-size: 45px;
    }
    .two-text{
        font-size: 14px;
    }
    .two{
        padding: 10px 20px 50px 20px;
    }
    .two-maintxt .twobtn{
        padding: 10px 30px;
        font-size: 14px;
    }
    .two-img{
        width: 80%;
    }
    .date{
        left: -10%;
    }
    .three,.four{
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .three-heading,.three-right,.fourmainhead,.four-heading{
        width: 100%;
    }
    .resume{
        display: none;
    }
    .skills{
        padding-left: 0;
    }
    .four-heading{
        position: relative;
        top: 0;
    }
    .minili{
        font-size: 14px;
    }
    .fourbox,.minilang {
        font-size: 14px;
    }
    .minilang{ 
        padding-left: 0;
        gap: 20px;
    }
    .lione .minili{
        display: flex;
        flex-direction: column;
    }
    .lione .minili p{
        margin-left: 0;margin-top: 5px;
    }
    .four-right{
        width: 100%;
        padding:20px 10px;
    }
    .hh p{
        font-size: 14px;
    }
    .five{
        padding: 20px;
    }
    .five h1{
        font-size: 65px;
    }
    .three-heading .minili{
        display: flex;
        flex-direction: column;
    }
    .three-heading .minili p{
        margin-left: 0;
        margin-top: 5px;
    }
    .logo img{
        width: 10%;
    }
    .logomain img{
        width: 10%;
        padding-left: 0;
    }
    .one .subone {
        padding-top: 60px;

    }
    .two-maintxt h1,.two-text{
        text-align: center;
    }
}
@media screen and (max-width: 450px) {
    html,body{
        overflow-x: hidden;
    }
    
    .overlay .imgone{
        width: 60%;
    }
    .hob{
        gap: 10px;
        justify-content: center;
    }
}
@media screen and (max-width: 400px) {
    html,body{
        overflow-x: hidden;
    }
    
    .overlay .imgone{
        width: 60%;
    }
    .hob{
        gap: 10px;
        justify-content: center;
    }
}