@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --backg: #f5f5ee;
    --headfoot: #b39d26;
    --headfoot2:#dcc230;
    --accent: #2e2c28;
    --textcol: #003049;
    --darkaccent: #3d3818;
    --headerfont: "Tinos", Verdana, Geneva, Tahoma, sans-serif;
    --bodyfont: 'Roboto', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--headerfont);
    background-color: var(--backg);
    background-size: cover;
    background-attachment: fixed;
}
h1 {
    margin-top: 0;
    margin-bottom: 0;
}
h2 {
    color: var(--backg);
    text-align: center;
}
p {
    font-family: var(--bodyfont);
    color: var(--textcol);
    line-height: 1.5em;
    font-size: large;
    animation-name: fade-in;
    animation-duration: 2s;
}
ul {
    padding: 0;
    list-style-type:none;
    margin-bottom: 0;
    margin-top: 0;
}
.wrapper, #wrapper {
    width: 80%;
    margin: 0 auto;
    padding: 1em 1em 1em 1em;
}
#whole-wrapper {
    width: 100%;
    margin: 0 auto;
}
.img {
    width: 100%;
    float: left;
    padding: 0 0 0 0;
    border-radius: 10px;
}
#header{
    text-align: left;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.fcol1 {
    text-align: left;
    width: 33%;
}
.fcol2 {
    text-align: center;
    width: 33%;
}
.fcol3 {
    width: 33%;
}
.hcol2 {
    flex: 1;
    text-align: right;
}
#header {
    background: linear-gradient(120deg, var(--backg), var(--backg));
    padding: 1em 10%;
    color: var(--accent);
}
#footer {
    text-align: right;
    clear: both;
    background: var(--accent);
    color: var(--backg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}
#references {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
    padding: 0;
}
#references li {
    text-align: left;
    margin-left: 0; 
    padding: 0;
    padding-left: 0.5rem;
}
#footer a {
    color: var(--backg);
    text-decoration: none;
}
#footer p {
    animation: none;
    font-size: 0.75rem;
    margin: 0;
    margin-bottom: 3px;
    color: var(--backg);
}
#footer a:hover {
    text-decoration: underline;
}
#nav {
    text-align: right;
    padding: 0;
}
#nav li, #nav2 li {
    display: inline-block;
    list-style-type: none;
    position: relative;
}
#nav li a, #nav2 li a{
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    padding: 0.5em 0.5em;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: small;
    transition: all 800ms;
}
#nav2 li a{
    background-color: var(--headfoot);
    border-radius: 10px;
    font-size: large;
}
#nav li a:hover {
    border: 1px solid #333;
}
#nav2 li a:hover {
    background-color: var(--headfoot2);
}
#nav li a:hover.current {
    background-color: var(--backg);
    color: var(--darkaccent);
}
#nav li a.current {
    color: var(--accent);
}
#nav li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 25px;
    padding: 0;
    text-align: left;
    z-index: 1000;
}
#nav li:hover > ul{
    display: block;
}
#nav li ul li {
    display: block;
}
#nav li ul li a {
    width: 100%;
    display: inline-block;
    padding: 8px 12px;
    background-color: var(--darkaccent);
    color: white;
    text-align: left;
    border-radius: 0;
}
#nav li ul li a:hover {
    background-color: var(--accent);
}
#nav2 {
    text-align: center;
    font-size: large;
}
#nav2 li {
    display: inline-block;
    list-style-type: none;
}
h1 ul li a {
    color: white;
    text-shadow:none;
    z-index: 1;
    position: relative;
}
#center {
    text-align: center;
}
.head {
    color: var(--accent);
}
.grid {
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
    align-items: start;
}
@keyframes fade-in {
    from {color: var(--backg)}
    to {color: var(--textcol)}
}
.quads {
    display: flex;
    justify-content: space-between; /* or space-around / center */
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 2em;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    text-align: center;
}
.quads p {
    font-size: small;
}
.youtube {
    width: 100%;
    height: 48vw;
}
.qcol1, .qcol2, .qcol3, .qcol4{
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.gcol1 {
    width: 45%;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
}
.gcol1 img {
    max-width: 100%;
    display: block;
  }
.gcol2 {
    width: 5%;
    order: 2;
}
.gcol3 {
    width: 50%;
    order: 3;
    min-height: 100vh;
}
.grid img {
    border: 1px solid #222;
}
.parallax-content {
    color: inherit;
    animation: none;
    text-align: center;
}
.parallax-intro, .parallax-intro2, .parallax-intro3, .parallax-intro4 {
    background-image: url('images/trees.jpg');
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-family: var(--headerfont);
}
.parallax-intro2 {
    background-image: url('images/datacenter.jpg');
}
.parallax-intro3 {
    background-image: url('images/re.jpg');
}
.parallax-intro4 {
    background-image: url('images/sustain.jpg');
}
.parallax-wrapper, .parallax-wrapper2, .parallax-wrapper3, .parallax-wrapper4, .parallax-wrapper5, .parallax-wrapper6, .parallax-wrapper7, .parallax-wrapper8, .parallax-wrapper9, .parallax-wrapper0 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    background-image: url('images/sapling.jpg');
}
.parallax-wrapper2 {
    background-image: url('images/trees.jpg');
    position: relative;
}
.parallax-wrapper3 {
    background-image: url('images/data.jpg');
}
.parallax-wrapper4 {
    background-image: url('images/turbines.jpg');
}
.parallax-wrapper5 {
    background-image: url('images/cpu.jpg');
}
.parallax-wrapper6 {
    background-image: url('images/datacenter.jpg');
}
.parallax-wrapper7 {
    background-image: url('images/re.jpg');
}
.parallax-wrapper8 {
    background-image: url('images/iceberg.jpg');
}
.parallax-wrapper9 {
    background-image: url('images/ocean.jpg');
}
.parallax-wrapper0 {
    background-image: url('images/sustain.jpg');
}
.gcol1 a img:hover, .gcol3 a img:hover  {
    transform: scale(1.05);
    transition: all 800ms;
}
.intro-title {
    font-size: 3em;
    z-index: 1;
    padding: 0 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    display: block;
}
.stuff, .stuff2 {
    background-color: rgba(234, 232, 231, 0.8);
    color: var(--accent);
    padding: 2em;
    margin: 0 10%;
    border-radius: 12px;
    backdrop-filter: blur(2px);
    margin-top: 100px;
    margin-bottom: 200px;
}
.break {
    background-color: var(--darkaccent);
    color: var(--backg);
    width: 100%;
    font-family: var(--bodyfont);
}
.x-large {
    font-size: 3rem;
    margin-left: 10%;
    padding-top: 50px;
    padding-bottom: 50px;
}
#mobilenav, #menu-toggle {
    display: none;
}
input {
    display: block;
}
textarea {
    display: block;
}
h1.contact, p.contact {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}
form {
    max-width: 600px;
    margin: 2rem auto;
    background: rgb(232, 232, 232);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: #444;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
    outline: none;
}
input[type="submit"] {
    margin-top: 1.5rem;
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
input[type="submit"]:hover {
    background-color: #005fa3;
}
p a {
    text-decoration: none;
}
@media screen and (min-width: 811px) {
    .parallax-intro, .parallax-intro2, .parallax-intro3, .parallax-intro4,
    .parallax-wrapper, .parallax-wrapper2, .parallax-wrapper3, .parallax-wrapper4,
    .parallax-wrapper5, .parallax-wrapper6, .parallax-wrapper7, .parallax-wrapper8,
    .parallax-wrapper9, .parallax-wrapper0 {
        background-attachment: scroll; /* instead of fixed */
        background-size: contain; /* or cover, depending on your design */
        background-position: center top; /* keeps it neat */
    }
}

/* Mobile adjustments */
@media screen and (max-width: 810px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.25rem; }
    p { font-size: 0.95rem; }

    .grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .gcol1, .gcol3 {
        width: 100%;
        position: relative;
        top: 0;
    }

    .quads {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
    }
    .qcol1, .qcol2, .qcol3, .qcol4 {
        width: 100%;
    }

    #nav { display: none; }
    #mobilenav {
        display: block;
        text-align: right;
        font-size: 1.75rem;
        margin-right: 1rem;
    }
    #menu-toggle:checked + #nav {
        display: block;
        text-align: center;
    }
    #nav li, #nav li a {
        width: 100%;
        display: block;
        padding: 0.75em;
    }
    #nav li ul {
        position: static;
    }

    .intro-title { font-size: 1.75rem; }
    .x-large { font-size: 1.75rem; margin-left: 0; }

    #footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }
    #footer p { font-size: 0.85rem; }
}
