@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background-color: #0a0a0a;
    color: white;
}

::-webkit-scrollbar {
    width: 3px;
    background-color: #000;
    border-radius: 5px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.left, .right {
    display: flex;
    align-items: center;
}

.icon {
    width: auto;
    height: 150px; /* Adjust size as needed */
    transition: all 0.5s ease;
}

.menu-button {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-button:hover {
    transform: scale(1.2);
}

.video-section {
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    position: relative;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 1;
    width: 80%; /* Adjust width as needed */
}

.video-overlay h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3rem;
}

.video-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Adjust height as needed */
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    pointer-events: none;
    z-index: 1;
}

.projects-section {
    display: flex;
    flex-wrap: wrap; /* Allow projects to wrap onto new lines */
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 0; 
    background-color: #0a0a0a;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.project {
    flex: 0 0 30%; /* Each project occupies 30% width */
    margin: 0 10px; 
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    margin-bottom: 20px; /* Add margin between projects */
}

@media (max-width: 768px) {
    .project {
        flex-basis: 100%; /* Each project takes full width on smaller screens */
    }
}

.sect {
    display: flex;
    flex-wrap: wrap; /* Allow content to wrap onto new lines */
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 0;
    background-color: #000000; /* Adjust background color as needed */
}

.sect-info {
    flex: 0 0 45%; /* Each sect-info block occupies 45% width */
    margin: 0 10px;
    text-align: center;
}

.contact-info {
    margin-bottom: 20px; /* Add margin between contact-info blocks */
}

@media (max-width: 768px) {
    .sect-info {
        flex-basis: 100%; /* Each sect-info block takes full width on smaller screens */
    }
}

.cursive {
    font-family: 'Spectral', serif;
    font-weight: 400;
    color: white;
    font-style: italic;
    font-size: 2rem; /* Adjust font size as needed */
    line-height: 1.2;
}

.sect p {
    color: #a3a3a3;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}


.project img {
    width: 100%;
    height: auto;
    border-radius: 14px 14px 0 0;
}

.project:hover {
    transform: scale(1.01);
    border: 2px solid #303030;
    border-radius: 7px;
    border-color: #1b1b1b56;
    box-shadow: 0 0 10px #1f1f1f;
}

.project-info {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 0 0 14px 14px;
}

.project-info h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: rgb(180, 180, 180);
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #cccccc;
}


.contact-info a {
    text-decoration: underline;
    color: white;
}

.contact-info h2 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: grey;
    line-height: 4px;
}

.contact-info p {
    font-size: 0.9rem;
    line-height: 2;
    color: white;
}