/* CSS Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}


/* Body CSS */

body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #18121e;
    position: relative;
    /* background: rgb(55,31,79);
background: radial-gradient(circle, rgba(55,31,79,1) 0%, rgba(24,18,30,1) 100%); */
}

a {
    text-decoration: none;
    color: inherit;
}

span {
    color: #cb9bff;
    font-family: "IBM Plex Serif", serif;
    font-weight: 100;
    font-style: italic;
}


/* Project Page Container */

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: "DM Sans", sans-serif;
    color: white;
    background-color: #18121e;
}


/* Back Button */

.back-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-button img {
    width: 16px;
    height: 16px;
    transform: rotate(225deg);
    /* Flip the arrow */
}

.back-button:hover {
    color: #cb9bff;
    /* Subtle color change */
}

.project-container {
    width: 1000px;
}

.project-header span {
    font-size: 3rem;
}

.project-header h3 {
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    padding-top: 1rem;
}


/* Header Styling */

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #cb9bff;
    margin-bottom: 1rem;
}

.project-header img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-top: 3rem;
}

.project-header span {
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
}


/* Project Description Section */

.project-description {
    font-size: 1rem;
    line-height: 1.8;
}

.project-description p {
    margin-bottom: 2rem;
}

.project-description img {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    object-fit: cover;
}


/* Buttons Container */

.buttons-container {
    display: flex;
    flex-direction: row;
    /* Arrange buttons in a row */
    gap: 15px;
    /* Spacing between buttons */
    padding-bottom: 5rem;
}

.custom-button {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    /* Text color */
    background-color: transparent;
    border: 2px solid #a992f7;
    /* Light purple border */
    border-radius: 30px;
    padding: 15px 35px;
    position: relative;
    transition: transform 0.3s ease;
    /* Smooth transition only for relevant properties */
}

.custom-button:hover {
    transform: translateY(-5px);
    /* Smooth upward movement */
}

.custom-button img {
    margin-left: 10px;
    /* Spacing between text and arrow */
}

.arrow-icon {
    width: 12px;
    height: 12px;
}


/* Responsive Styles */


/* For devices with a maximum width of 768px (Tablets and smaller screens) */

@media (max-width: 768px) {
    .project-container {
        padding: 1rem;
        width: 100%;
    }
    .project-header h1 {
        font-size: 2rem;
    }
    .project-header span {
        font-size: 2rem;
    }
    .project-header h3 {
        font-size: 1.2rem;
    }
    .project-header img {
        margin-top: 2rem;
    }
    .buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    .custom-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* For devices with a maximum width of 480px (Mobile phones) */

@media (max-width: 480px) {
    .back-button {
        font-size: 0.9rem;
        gap: 0.3rem;
    }
    .project-header h1 {
        font-size: 1.8rem;
    }
    .project-header span {
        font-size: 1.5rem;
    }
    .project-header h3 {
        font-size: 1rem;
    }
    .buttons-container {
        gap: 5px;
    }
    .custom-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    .project-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .project-description img {
        margin-bottom: 1rem;
    }
}