*{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}
  
body{
    margin: 0;
    padding: 0;
    background: #242034;
    perspective: 1px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: scroll;
}
  
#projectPage{
    /* padding: 50px; */
    padding: 4%;
    position: relative;
}
  
.project-content{
    color: #D1D7E0;
    display: flex;
    /* margin-top: 40px; */
    margin-top: 2%;
}
  
.project-images{
    width: 30%;
    /* margin-left: 50px; */
    margin-left: 5%;
}
  
.project-images img{
    width: 100%;
    /* margin-bottom: 20px; */
    /* margin-bottom: 2%; */
}
  
.project-description{
    width: 60%;
    /* padding-left: 60px;  */
    padding-left: 5%; 
    text-align: left;
}
  
.project-description h1{
    /* font-size: 45px; */
    font-size: 3.5rem;
    border-bottom: 2px solid #D89600; /* add a line after h1 */
    /* padding-bottom: 10px;
    margin-bottom: 5px; */
    padding-bottom: 1%;
    margin-bottom: 2%;
}

.project-description h2{
    /* font-size: 20px; */
    font-size: 1.1rem;
    font-weight: 100;
}

.project-description h3{
    /* font-size: 20px; */
    font-size: 1.1rem;
    font-weight: 100;
}

  
.project-description p{
    /* margin-top: 15px; */
    margin-top: 1%;
    text-align: justify;
    /* font-size: 17px; */
    font-size: 1rem;
    line-height: 1.5; /* space between lines */
}

.project-description p span{
    color:#D89600;
}

.project-description p br {
    content: "";
    margin: 0.5em 0;
    display: block;
    line-height: 1em;
}
.prev:hover,
.next:hover{
    transform: scale(1.1);

}

/* --------------special pictures-------------- */

img[src="Images/projects/Chatbot.png"] {
    /* margin-top: 100px; */
    margin-top: 30%;
}

img[src="Images/projects/Cshell.png"] {
    width: 85%;
}

.project-images img[src="Images/projects/276/CodingMania-level3.jpg"] {
    /* margin-top: 120px; */
    margin-top: 30%;
}




/* -----------External links ------------ */
.fancy-link{
    display: inline-block;
    padding: 12px 24px;
    /* margin: 10px; */
    margin: 1%;
    color: #242034;
    background-color: #7395ae;
    border: 2px solid #D1D7E0;
    border-radius: 5px;
    text-decoration: none;
    /* min-width: 200px;  */
    min-width: 25%;
    text-align: center; 
    transition: all 0.3s ease-out;
}

.fancy-link img{
    width: 1.3rem;
    height: 1.3rem;
    /* height: 20px; */
    vertical-align: middle;
}


.fancy-link:hover{
    color: #242034;
    background-color: #D89600;
    border: 2px solid #242034;
}

/* ------------------Tools----------------- */
.tools {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}
  
.tools img {
    /* margin-left: 10px; */
    margin-left: 1%;
    /* width: 40px;
    height: 40px; */
    width: 2.5rem;
    height: 2.5rem;
    transition: transform 0.3s;
}

img[src="Images/languages/unity.png"] {
    /* width: 102px;
    height: 40px; */
    width: 6.3rem;
    height: 2.5rem;
}


img[src="Images/languages/express.png"] {
    /* width: 107px;
    height: 32px; */
    width: 6.3rem;
    height: 1.8rem;
}


img[src="Images/languages/nodejs.png"] {
    /* width: 103px;
    height: 30px; */
    width: 6.3rem;
    height: 1.8rem;
}

.tools img:hover {
    transform: scale(1.2);
    /* transform: translateY(-10px); */
}


  
/* ------------Back button--------------- */
.back-to-projects{
    position: absolute;
    /* top: 30px;
    left: 40px; */
    top: 3%;
    left: 3%;
    padding: 12px 24px;
    text-decoration: none;
    background-color: #7395ae;
    color: #242034;
    border: 2px solid #D1D7E0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
.back-to-projects:hover{
    background-color: #D89600;
    color: #242034;
    border: 2px solid #242034;
}


/* --------------gallery------------------- */
.gallery-title {
    text-align:left;
    color: #D1D7E0;
    /* margin-left: 135px; */
    margin-left: 7%;
}


.gallery {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* margin-top: 20px;
    margin-bottom: 150px;
    margin-left: 80px;
    margin-right: 80px; */

    margin-top: 1%;
    margin-bottom: 2%;
    margin-left: 4%;
    margin-right: 4%;
}

.image-container {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* for Firefox */
}

.image-container::-webkit-scrollbar { /* for Chrome, Safari, and Edge */
    display: none; 
}

.image-container img {
    /* height: 300px; */
    margin-right: 10px;
    /* margin-right: 500%; */
    transition: transform 0.3s;
}

.next, .prev {
    background: none;
    border: none;
}

.next img, .prev img {
    /* height: 50px;
    width: 50px; */
    height: 3rem;
    width: 3rem;
}

.next:disabled img, .prev:disabled img {
    opacity: 0.5;
}


.gallery-small-InBloom,
.gallery-small-Anomaly,
.gallery-small-Mania{
    /* width: 400px; */
    width: 25rem;
    height: auto; 
}

.gallery-small-Horizons{
    /* width: 600px; */
    width: 35rem;
    height: auto; 
}


.gallery-image {
    display: inline-block;
    transition: transform 0.3s;
    position: relative; /* to make sure transform property is applied correctly */
}

.gallery-image a {
    width: 100%;
    height: auto;
}


.image-container :hover {
    transform: translateY(-10px);
}


/* -----------model------------ */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 5%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
  
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1300px;
}
  
.close {
    position: absolute;
    /* top: 15px;
    right: 35px; */
    top: 1%;
    right: 2%;
    color: #f1f1f1;
    /* font-size: 40px; */
    font-size: 3rem;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* -------------FOR SMALL SCREEN-------------- */
@media (max-width: 600px) {

    .project-content{
        flex-direction: column-reverse;
    }

    .project-images {
        padding: 5% 0 1% 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0%;
    }
    
    .project-images img {
        max-width: 70%;
    }

    .project-description{
        padding-top: 25%;
        width: 100%;
        padding-left: 0%; 
        /* text-align: center; */
    }

    .project-description h1{
        font-size: 2.2rem;
        align-items: center;
        /* padding-bottom: 1%;
        margin-bottom: 2%; */
    }

    
    .project-description h2{
        padding-left: 3%;
        padding-right: 3%;
    } 
    
    .project-description h3{
        padding-left: 3%;
        padding-right: 3%;
    } 
    .project-description p{
        padding-left: 3%;
        padding-right: 3%;
    }   

    /* ------buttons------ */
    .fancy-link{
        display: inline-block;
        padding: 9px 18px;
        min-width: 10%;
    }

    .back-to-projects{
        top: 2%;
        left: 3%;
        padding: 9px 18px;
    }

    /* ---special pictures----- */
    img[src="Images/projects/Chatbot.png"] {
        margin-top: 0%;
    }

    img[src="Images/projects/Cshell.png"] {
        width: 100%;
    }
    
    .project-images img[src="Images/projects/276/CodingMania-level3.jpg"] {
        margin-top: 0%;
    }


    /* -------gallery----- */
    .gallery-title {
        font-size: 1.3rem;
        padding-left: 3%;
        padding-right: 3%;
    }
    .next img, .prev img {
        height: 2rem;
        width: 2rem;
    }

    .gallery-small-InBloom,
    .gallery-small-Anomaly,
    .gallery-small-Mania{
        width: 12rem;
        height: auto; 
    }
    
    .gallery-small-Horizons{
        width: 15rem;
        height: auto; 
    }

    

    




    
}
  