@import url(http://fonts.googleapis.com/css?family=Coustard|Open+Sans);
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

.clear {
    clear: both;
}

* {
    font-family: "Montserrat", sans-serif;
}

:root {
    --box-bg: rgba(255 255 255 / 0.8);
    --box-shadow: rgba(0 0 0 / 0.1);
    --text-color: #111827;
    --accent-gradient: linear-gradient(90deg, #ff7e5f, #feb47b);
}

html,
body {
    /* overflow-x: hidden !important; */
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#particle-canvas {
    width: 100%;
    height: 100%;
}

.content {
    /* border: 1px solid #27b; */
    z-index: 9999;
    /* width: 100px; */
    -webkit-font-smoothing: antialiased;
    /* For WebKit browsers */
    color: white;
    position: fixed;
    /* Use fixed positioning to center in the viewport */
    /* top: 40%; Move down 50% of the viewport height */
    /* left: 50%; Move right 50% of the viewport width */
    /* transform: translate(-50%, -50%); Center the element */
    /* text-align: center; */
    /* padding: 20px; Optional: Add some padding */
    /* width: 80vw; */
    /* background-color: rgba(0, 0, 0, 0.5);  */
}

.show {
    display: block;
}

.hide {
    opacity: 0;
}

.featured-projects {
    text-align: left;
    /* Align project content to the left */
    width: 60vw;
    border: 1px solid #27b;
}

.featured-projects h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    gap: 30px;
}

.project {
    border-radius: 8px;
    overflow: hidden;
    /* Ensure image stays within rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
    height: 200px;
    /* background-color: rgba(0, 0, 0, 0.5);  */
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 100px;
    /* Fixed height for consistent look */
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
    background-color: #f9f9f9;
}

.project-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1rem;
    color: #666;
    /* margin-bottom: 15px; */
}

.project-link {
    display: inline-block;
    /* padding: 8px 16px; */
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #0056b3;
}

/* 
@media only screen and (max-width: 1023px) {
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
} */