*{
    font-family: "Abhaya Libre", serif;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
  }
  

body{
    background-color: #FCDC94;
    margin: 0%;
}
header{
    display: flex;
    max-width: 1500px;
    margin:auto;
    margin-top: 100px;
    gap: 15px;
}
.hleft{
    display: flex;
    align-items: center;
}
.hleft img {
    width: 260px;
    box-shadow: rgba(0, 0, 0, 0.35) -10px 10px 15px;
    user-select: none;
}

.hright{
    background-color: #EF9C66;
    padding: 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}
h1{
    font-weight: 700;
    font-style: oblique;
}
.about-text {
    font-weight: 400;
    margin-top: 10px;
    padding-right: 10%;
    line-height: 1.1em;
    text-align: justify;
    display: flex;
    flex-direction: column;
}

.headline{
    background-color: #EF9C66;
    font-weight: 800;
    font-style: oblique;
    font-size: x-large;
    display: flex;
    justify-content: center;
    margin-top: 5%;
    width:100%;
}

.proj1{
    background-color: #EF9C66;
    font-weight: 700;
    font-style: oblique;
    font-size: x-large;
    display: flex;
    justify-content: center;
    margin-top: 2%;
    max-width: 20%;
}

.container {
    display: flex;
    flex-wrap: wrap; /* Allow boxes to wrap to the next line if they don't fit */
    justify-content: center; /* Center boxes horizontally */
    gap: 2%; /* Add space between boxes */
    margin-top: 30px;
    user-select: none;
   
  }

  .container > * {  /* Target direct children of .container (your flex items) */
    transition: transform 0.3s ease; /* Add a smooth transition for transform */
}

.container > *:hover {
    transform: scale(1.05); /* Scale up slightly on hover */
}

  
  .project-box {
    width: 300px; /* Adjust the width as needed */
    border: 3px solid #EF9C66; 
    padding: 1%;
    margin-top: 2%;
  }

  .project-box img{
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) -10px 10px 15px;
  }
  
  .project-links a {
    display: inline-block; /* Make links act like blocks for padding and margin */
    padding: 8px 12px;
    color: black;
    text-decoration: none;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s
  }
  
  .project-links a:hover {
    background-color: #EF9C66; /* Darker blue on hover */
  }

  footer {
    background-color: #EF9C66;
    padding: 0rem 4rem;
    overflow: hidden;
    margin-top: 2%;
    font-size: large;
}

.f-container {
    display: flex;
    width: 100%;
}

.f-left {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.phone,
.email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.socials {
    display: flex;
    gap: 25px;
}

footer svg { /* Targets all SVGs within the footer */
    width: 24px; 
    height: 24px; 
    
}

svg {
    fill: #b45a23;
    height: 25px;
    transition: transform 0.2s ease-in-out;
    user-select: none;
}

svg:hover {
    transform: scale(1.5);
}

 
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #FCDC94;
    border: 2px solid #FCDC94;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #EF9C66;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b45a23; 
}


@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    .hleft img {
        order: 1; /* Move the image above */
        width: 180px; /* Adjust size as needed */
        margin-bottom: 20px; /* Add space between image and text */
    }
    
    .hright {
        padding: 1rem 2rem; /* Adjust padding for smaller screens */
    }
    
    .about-text {
        padding-right: 5%; /* Adjust padding for smaller screens */
        text-align: center; /* Center text */
    }
    .proj1 {
        max-width: unset; /* Remove max-width */
        width: 100%; /* Take full width */
        margin-top: 4%; /* Adjust margin */
        font-size: large; /* Adjust font size */
        text-align: center; /* Center text */
    }
  

    footer{
        margin-top: 5%;
        padding: 2%;
    }
}


@media screen and (max-width: 1200px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    .hleft img {
        order: 1; /* Move the image above */
        width: 180px; /* Adjust size as needed */
        margin-bottom: 20px; /* Add space between image and text */
    }
    
    .hright {
        padding: 1rem 2rem; /* Adjust padding for smaller screens */
    }
    
    .about-text {
        padding-right: 5%; /* Adjust padding for smaller screens */
        text-align: center; /* Center text */
    }
    .proj1 {
        max-width: unset; /* Remove max-width */
        width: 100%; /* Take full width */
        margin-top: 4%; /* Adjust margin */
        font-size: large; /* Adjust font size */
        text-align: center; /* Center text */
    }

    footer{
        margin-top: 5%;
        padding: 2%;
    }
}



