@import url('https://fonts.googleapis.com/css2?family=Imbue:opsz,wght@10..100,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Imbue:opsz,wght@10..100,100..900&family=Inconsolata:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jomhuria&display=swap');
@font-face {
    font-family: "Carlo";
    src: url("fonts/Carlo.otf");
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
   font-family: "Inconsolata";
   
}
.icon {
    color: steelblue;
}

/*---------------navbar section-----------------------*/
.header {
   
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.7rem 9%;
    /* background-color: rgba(224, 230, 234, 0.7); */
    background-color: #ECEDF0; 
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  
/*---------------navbaborder-bottom: 3px solid #7296A4; section-----------------------*/ 
}

li {
    list-style: none;
}

.navbar a{
    text-decoration: none;
    font-size: 1.5rem;
    font-family: "Inconsolata";
    color: #6C8DB3;
    margin-left: 2.5rem;
    font-weight: 600;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
    
}

.navbar a:hover,
.navbar a.active {
    color: #0E347D;
    border-bottom: 2px solid;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    
}

.hamburger {
    display: none;
    cursor: pointer;
    
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #0E347D; 
    
}

@media(max-width: 768px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
/*width 40%, left -100 - right, active right*/

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(236, 237, 240, 0.8);
        width: 50%;
       text-align: center;
        transition: 0.4s;
       
    }
    .nav-item {
        margin: 12px 0;
    }
    .nav-menu.active{
        right: 0;
        
    }
   
}

.navbar .logo {
    /*position: absolute;*/
    text-decoration: none;
    font-size: 2rem;
    color: #0E347D;
    font-weight: 500;
    cursor: pointer;
    font-family: "Carlo";
    transition: 0.2s ease;
}
.logo:hover {
    transform: scale(1.1);
}




/*---------------home section-----------------------*/
section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
     /* background-color: #F2F3F6;  */
     background-image: url(../includes/images/Asset\ 2.png); 
     object-fit: cover;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}
ul li ul.dropdown li{
    display: block;
    gap: 20px;
}
 li ul.dropdown {
    width: auto;
    background: #ECEDF0;
    position: absolute;
    z-index: 999;
    display: none;
    gap: 20px;
 }
.dropdown a:hover {
    background: #D1D6DE;
}
ul li:hover ul.dropdown {
    display: block;
    padding: 10px 10px 10px 10px;
    gap: 20px;
}

.home .home-content h1{
    font-size: 10rem;
    font-weight: 400;
    line-height: 1.3;
    font-family: "Carlo";
    color:#0E347D;
    text-align: center;
  
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.home .home-content p{
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Inconsolata";
    color: #2A2E39;
    text-align: center;
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0%{
        transform: translateY(2rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}
@media (max-width: 1000px) {
    .home {
        gap: 4rem;
        width: 100%;
    }
    .home .home-content h1 {
        font-size: 4rem;
    }
}
@media (max-width: 600px) {
    .home {
        width: 100%;
    }
    .home .home-content h1 {
        font-size: 3rem;
    }
    .home .home-content p {
        font-size: 1.2rem;
    }
}
/*----
.home-img {
    border-radius: 50%;
}
.home-img img {
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px blue;
    cursor: pointer;
}
.home-img img:hover {
    transform: scale(1.01);
    filter: drop-shadow( 0 0 25px green);
}
------*/
.social-icon {
    position: absolute;
    bottom: 0;
    right: 5%;
}
.social-icon a{
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border: 1px, solid #416296;
    font-size: 1.5rem;
    border-radius: 50%;
    color: #416296;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}
.social-icon a:hover {
    color: white;
    transform: scale(1.3) translateY(-5px);
    background-color: #416296;
}
::-webkit-scrollbar {
    width: 6px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background-color: #9AA3B4; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #506283; 
    border-radius: 10px;
  }
  
/*
@media (max-width:1000px) {
    .home {
        gap: 4rem;
    }
}
@media (max-width:995px) {
    .home {
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home-content h1 {
        font-size: 5rem;
    }
}*/

/*---------------home section-----------------------*/
.about {
    background-color: #ECEDF0;
    padding: 2rem 3%;
    
}
.about  p{
    font-family: "Inconsolata";
    font-size: 18px;
    margin: 0;
}
.about-blurb {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;

}

.about-container-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2rem;
    /* text-decoration: underline; */
    
}
 .about-img-fluid {
    height: auto;
    width: 100%;
   max-width: 400px;
   box-sizing: border-box;
   display: flex;
   justify-content: center;
   align-items: center;
}

.heading{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: "Carlo";
    color:#0E347D;
    /* writing-mode: vertical-lr;
    transform: rotate(180deg);*/
}

/*---------------project section-----------------------*/
.projects {
    background-color: #F2F3F6;
}
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}
.projects-box {
    background-color: white;
    height: 300px;
    border-radius: .5rem;
    color: black;
}
.projects-box .projects-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: center;
    align-items: baseline;
    padding: 5em;
}
.projects-info h4{
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: "Inconsolata";
}
.projects-info p {
    font-size: 1.6rem;
    font-weight: 400;
    max-height: 100px;
    margin: auto;
}
   /* CSS */
   .button-1 {
    background-color: #2A2E39;
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #F2F3F6;
    cursor: pointer;
    display: inline-block;
    font-family: "Inconsolata";
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-1:hover {
    background-color: #F2F3F6;
    color: #2A2E39;
    border: 1px solid #2A2E39;
  }


  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    border-radius: 0;
    border: none;
    margin-top: 20px;
  
  }
  
  .card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
    font-family: "Inconsolata";
  }
  
  .project-button {
    display: flex;
    justify-content: flex-end;
    padding: 10px 10px 0px 10px;
  }
.btn-dark {
    background-color: #42495D;
    color: #F2F3F6;
    border-radius: 8px;
    border-style: none;
  

    font-family: "Inconsolata";
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #42495D;
   
    text-align: center;
    text-decoration: none;
    
}

.btn-dark:hover {
    background-color: #F2F3F6;
    color: #42495D;
    border: 1px solid #42495D;
  }

  .maya {
    background-color: rgba(177, 196, 223, .3);
    display: inline;
    padding: 9px 14px;
    border-radius: 20px;
    width: 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #96ACC6;
    box-shadow: inset rgba(159, 181, 197, 0.4) 0px 3px 2px 0px;
  }
 
  .project-icons {
    color: #42495D;
    display: inline;
    padding: 4px 0 4px;
    font-weight: 800;
  }
  .project-img {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 35vh;
    vertical-align: top;
  }


.sign-off {
    font-family: "Inconsolata";
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px;
    
}

/* --------individual projects------------ */

.projects-container-individual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}
.projects-box-individual {
    height: 500px;
    border-radius: .3rem;
    background-image: url(../includes/images/art_creature.PNG);
}
.projects-img-individual {
    position: relative;
    object-fit: cover;
    height: 200px;
    width: 100%;
   
}
  .hero-text .heading{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6rem;
  }
  #bannerimage {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #957D75;
    height: 400px;
    background-position: center;
    position: relative;
    object-fit: cover;
    
  }
  #bannerimagesuper {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #A4463B;
    height: 400px;
    background-position: center;
    position: relative;
    object-fit: cover;
  }
  #bannerimageport {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #333300;
    height: 400px;
    background-position: bottom;
    position: relative;
    object-fit: cover;
    
  }
  #bannerimagehotel {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #8EA9C8;
    height: 400px;
    background-position: center;
    position: relative;
    object-fit: cover;
    
  }
  #bannerimageduff {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #F4CD9F;
    height: 400px;
    background-position: center;
    position: relative;
    object-fit: cover;
    font-family: "Carlo";
  }
    
  #bannerimageapple {
    width: 100%;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-color: #8B9364;
    height: 400px;
    background-position: center;
    position: relative;
    object-fit: cover;
  }

  .info-blurb {
    /* background-color: #ECEDF0; */
    padding: 3px 3px 3px 3px;
    margin: auto;
    box-sizing: border-box;
    font-weight: 600;
    
  }
 
  .info-blurb li{
    line-height: 1.8;  }
  


@media (max-width:600px) {
   
    section {
        padding: 10rem 3% 2rem;
    }
    
}
@media (max-width:600px) {
    .projects h2{
        margin-bottom: 3rem;
    }
    .heading {
        text-align: center;
    }
    .projects-container {
        grid-template-columns: repeat(1,1fr);
    }
    .projects-container-individual {
        grid-template-columns: repeat(1,1fr);
    }
    .hero-image-img {
        color: rgba(0, 0, 0, 0.5);
        height: 300px;
        width: 100%;
        object-fit: cover;
        background-position: top;
        position: relative;
      }
      /* #bannerimage {
        width: 100%;
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../includes/images/side_art_good.PNG);
        height: 150px;
        background-position: center;
        position: relative;
        object-fit: cover;
      } */
      .hero-text .heading{
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 3rem;
      }
    .about-img {
        width: 100%;
    }
    .about-blurb {
        grid-template-columns: repeat(1,1fr);
        text-align: center;
    }
    .about-container {
        grid-template-columns: repeat(1,1fr);
    }
    .about-container-skills {
        grid-template-columns: repeat(1,1fr);
        text-align: left;
    }
}
