/* General Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #004c4c, #000);
    color: white;
    margin: 0;
    padding: 0;
}

/* Home Icon */
.home-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 35px;
    color: white;
}

.home-icon a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.home-icon a:hover {
    color: #ffd700;
}

/* Project Title */
.proj-title {
    text-align: center;
    padding: 20px;
    border-bottom: 3px solid white;
    font-family: 'OCR A Std', sans-serif;
    margin: 20px 0;
}

.proj-title h1 {
    font-size: 2.2em;
    color: #ffddb3;
}

.proj-title h3 {
    font-size: 1.1em;
    font-weight: 300;
    color: #b3b3b3;
}

/* Project Description */
.proj-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 20px;
    background: #001f1f;
    border-radius: 10px;
    border: 2px solid #b3b3b3;
    color: white;
}

.proj-description p {
    font-size: 1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px;
    text-align: left;
}

.proj-description h3 {
    position: relative;
    font-size: 1.1em;
    margin-top: 20px;
}

.proj-description a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

.proj-description a:hover {
    color: #ffddb3;
}

/* Media Content (Images & Videos) */
.proj-description video,
.proj-description img {
    margin: 20px 0;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    border: 3px solid #b3b3b3;
    transition: transform 0.3s;
}

.proj-description video:hover,
.proj-description img:hover {
    transform: scale(1.05);
}

/* Double Image Section */
.double-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.double-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    border: 3px solid #b3b3b3;
    transition: transform 0.3s;
}

.double-image img:hover {
    transform: scale(1.05);
}

/* Responsive Layout */
@media (min-width: 768px) {
    .proj-description {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }
    .proj-description p {
        max-width: 45%;
    }
    .proj-description video,
    .proj-description img {
        max-width: 45%;
    }
}

@media (min-width: 1024px) {
    .proj-title h1 {
        font-size: 2.5em;
    }
    .proj-title h3 {
        font-size: 1.2em;
    }
    .proj-description p {
        font-size: 1.1em;
    }
}

/* Button Styling */
button {
    background-color: #ffddb3;
    color: #004c4c;
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ffd700;
}
