body {
    margin: 0;
    font-family: Arial, sans-serif;
    /*background: #101010;*/
    background: linear-gradient(270deg, #0d0d0d, #111111);
    color: white;
    overflow-x: hidden;   /* prevent horizontal scroll */
}

/*section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}*/

.hero {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    padding: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    color: #aaa;
}

.projects h2 {
    margin-bottom: 30px;
}

.project {
    margin-bottom: 50px;
}

.project iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

.project h3 {
    margin-top: 10px;
}

h2 {
    font-size: 28px;
}

p {
    line-height: 1.6;
    color: #ccc;
}

.project iframe {
    transition: transform 0.3s ease;
}

.project iframe:hover {
    transform: scale(1.02);
}

.container {
    display: flex;
    height: 100vh;
}

.left {
    width: 32%;
    padding: 60px;    
    position: fixed;
    top: 0;
    left: 0;

background: rgba(19, 19, 19, 0.412);

}

.right {
    margin-left: 40%;
    width: 50%;
    height: auto;        /* let it expand with content */
    padding: 70px;

    overflow: visible;   /* no internal scroll */
}

.rescores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project p {
    font-size: 14px;       /* smaller than body text */
    color: #aaa;           /* lighter than main text */
    margin-top: 8px;
    line-height: 1.4;
}

.contact-section {
    position: fixed;
    bottom: 40px;
    left: 60px;
}

.break {
    margin-top: 290px;
}

.composer {
    font-size: 20px;
}

.contact-header {
    margin-top: 0px;
}

.space {
    margin-top: 0px;
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column;

        
    }

    

    body {
    margin: 0;
    font-family: Arial, sans-serif;
    /*background: #101010;*/
    background: linear-gradient(180deg, #0d0d0d, #111111);
    color: white;
    overflow-x: hidden;   /* prevent horizontal scroll */

    transform: scale(1.3);
        transform-origin: top left;
        width: 90%;
}



h2 {
    font-size: 85px;
}

p {
    line-height: 1.4;
    color: #ccc;
    font-size: 30px;

    padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* optional, looks nicer on small screens */
}

h3{
    font-size: 40px;
}

.contact-header {
    color: rgba(255, 255, 255, 0.83);
    font-size: 30px;
}

.rescores-grid {
    display:block;
}

.project p {
    font-size: 30px;       /* smaller than body text */
    color: #aaa;           /* lighter than main text */
    margin-top: 8px;
    line-height: 1.4;
    margin-bottom: 20px;
}

    .left {
        position: relative !important;   /* override any fixed positioning */
        width: 100% !important;
        height: auto;
        padding: 20px;
    }

    .right {
        margin-left: 0 !important;       /* remove left margin */
        width: 100% !important;
        padding: 20px;
    }

    h1 {
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        font-size: 100px;
    }

    .contact-section {
        position: relative;  /* stops being fixed */
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 15px;       /* internal spacing */
        text-align: center;  /* looks nice on narrow screens */
        box-sizing: border-box;
    }

    .break {
        margin-top: 1px;
}

    img {
        transform: scale(2);
        transform-origin: center;
    }

    .space {
    margin-bottom: 50px;
}
    
}
