body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    background-color: #DFE0DF;
    margin: 0px;
    padding: 0px;
}
html, body{
    overflow-x:hidden;
}

button, form, textarea, input {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

hr {
    border: 0;
    border-top: 1px solid #ccc; 
    display: block;
    height: 1px;
    padding: 0;
    width: 80%;
    box-sizing: content-box;
}

.page-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    margin: 0px;
    padding: 0 1vw;
}
h2,
h3,
h4 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

h2 {
    font-size: 3rem;
}

img {
    width: 20vw;
}

/* Header and footer styles */
footer,
header {
    margin: 0;
    background-color: rgba(255, 170, 62);
    color: white;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); */
    /* background-image: linear-gradient(rgb(84, 158, 255), rgb(127, 180, 255)); */
    /* box-shadow: 0px 0px 2vh rgb(79, 9, 58); */
    /* border-width: 0 0 0.5vw 0;
    border-style: solid;
    border-color: rgb(79, 9, 58); */
    position: sticky;
    top: 0%;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    z-index: 899;
}

footer {
    position: relative;
    top: 100%;
    width: 100%;
    margin-top: 0;
    padding: 1.5vh 0;
    border-width: 0.5vw 0 0 0;
    background-color: rgb(224, 140, 30);
    color: #fff;
    text-align: center;
    padding: 0 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.footer-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
}

.footer-column {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.footer-column h3 {
    color: #fff;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

header {
    opacity: 1;
    padding: 1.5vh 0;
    transition: background-color 0.2s ease-in-out;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.2);
}

ul {
    padding: 0 3vw;
}

nav {
    margin: 0px;
    padding: 0 1vw;
}

.desktop-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

a {
    color: white;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;

    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

a:hover {
    opacity: 0.75;
}

section {
    margin: 0vh 1vw;
    padding: 5vh 2vw;
    background-color: #DFE0DF;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vh;
}

#pricing {
    background: rgb(255,158,0);
    background: radial-gradient(circle, rgba(255,158,0,1) 0%, rgba(255,193,107,1) 100%);
    background: url("images/introbg.jpg") no-repeat;
    background-size: cover;
    background-position: 0% 0%;
    /* animation: move-bg 20s ease-in-out infinite; */
}

#mission {
    background: url("images/orangevec-extended.png") no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 3vh;
}
/* */
/* #mission img:hover {
    opacity: 0.9;
} */

.darker-section {
    background-color: #d4d4d4;
}

/* Classes used to style content within each section */
.section-text {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 25vw;
}

#intro {
    background-color: #000000;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    background: url("images/introbg-qy.png") repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;

    background-position: 0% 0%;
    animation: move-bg 500s ease-in-out infinite;
}

.anim-on-scroll-bg {
    background-position: 0% 0%;
}

.anim-on-scroll-bg.scrolled {
    animation: slide-bg-in 2s ease-out;
}

@keyframes slide-bg-in {
    0% {
        background-position: 0% 25%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes move-bg {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 1000% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.intro {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    color: white;
}

.course .section-text {
    font-size: 0;
    transition: font-size 0.3s ease-in-out;
}

.course:hover .section-text {
    font-size: 1em;
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4vw;
}

#projects .content {
    align-items: stretch;
}

.course,
.project {
    background-color: rgb(238, 245, 255);
    box-shadow: 0px 0px 10px rgb(167, 203, 251);
    border-radius: 2vw;
    padding: 1vw;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    transition: background-color 0.3s ease-in-out;
}

.project img {
    animation: none;
    transition: animation 1s ease-in-out;
}

.project:hover img {
    animation: project-float 2s ease-in-out infinite;
}

@keyframes project-float {
    0% {
        transform: translateY(0%);
    }
    50% { 
        transform: translateY(-2%);
    }
    100% {
        transform: translateY(0%);
    }
}

/* Different hovers for images/page content */
img {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.course:hover,
.project:hover {
    background-color: rgb(199, 222, 255);
}

img:hover {
    opacity: 0.9;
}

#julian:hover {
    box-shadow: 0px 0px 30px rgb(79, 9, 58);
}

/* Specific section styles (projects and coursework) */
.project {
    flex-grow: 1;
    flex: 1;
}

.course {
    padding: 3vh;
    width: 90%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.course img {
    width: 3vw;
    margin-bottom: 0;
}

.course .content {
    gap: 1vw;
}

/* Change opacity of sections as it goes into user's viewport */
.anim-on-scroll {
    opacity: 0;
    transform: translateY(5%);

    transition: opacity 0.5s ease-in-out, transform 0.7s ease-in-out;
}

.anim-on-scroll.scrolled {
    opacity: 1;
    transform: translateY(0%);
}

.anim-on-scroll-right {
    opacity: 0;
    transform: translateX(5%);

    transition: opacity 0.5s ease-in-out, transform 0.7s ease-in-out;
}

.anim-on-scroll-right.scrolled {
    opacity: 1;
    transform: translateX(0%);
}

.anim-on-scroll-left {
    opacity: 0;
    transform: translateX(-5%);

    transition: opacity 0.5s ease-in-out, transform 0.7s ease-in-out;
}

.anim-on-scroll-left.scrolled {
    opacity: 1;
    transform: translateX(0%);
}

.anim-on-scroll-1 {
    opacity: 0;
    transform: translateY(5%);

    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.anim-on-scroll-1.scrolled {
    opacity: 1;
    transform: translateY(0%);
}

.anim-on-scroll-2 {
    opacity: 0;
    transform: translateY(5%);

    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.anim-on-scroll-2.scrolled {
    opacity: 1;
    transform: translateY(0%);
}

.anim-on-scroll-3 {
    opacity: 0;
    transform: translateY(5%);

    transition: opacity 1.1s ease-in-out, transform 1.1s ease-in-out;
}

.anim-on-scroll-3.scrolled {
    opacity: 1;
    transform: translateY(0%);
}

/* Colored project tags (Python, C++, etc) */
.project-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
}

.tag {
    padding: 0.25vw;
    font-weight: 400;
    border-radius: 0.3vw;
    color: white;
    margin: 0;
    box-shadow: 0 0 10px white;

    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.tag:hover {
    opacity: 0.5;
}

/* Footer content */
#contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
    background-position: 0% 0%;
    animation: move-bg 400s ease-in-out infinite;
}

footer img {
    width: 2vw;
    border-radius: 2vw;
}

/* Work experience -- company logos */
.company-logo {
    box-shadow: 0 0 10px rgb(167, 203, 251);
    border-radius: 100%;
    border-width: 0;
    border-style: solid;
}

/* Special rules for mobile/small screens */
.mobile-nav {
    display: none;
}

.orange-btn {
    background-color: rgb(255, 170, 62);
    color: white;
    border-width: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(100, 100, 100, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out;
}

.orange-btn:hover {
    background-color: rgb(255, 179, 80);
}

.white-btn-outline {
    background-color: rgba(255, 255, 255, 0.1); 
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    border-width: 0.1rem;
    border-style: solid;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.white-btn-outline:hover {
    background-color: rgba(255, 255, 255, 1); 
    color: rgba(227, 150, 50, 1);
}

.white-btn {
    background-color: white; 
    color: rgb(227, 150, 50);
    border-width: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(100, 100, 100, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out;
}

.white-btn:hover {
    background-color: rgb(250,250,250);
}

.green-btn-outline {
    background-color: rgba(41, 179, 60, 0.1); 
    color: rgba(41, 179, 60, 1);
    border-color: rgba(41, 179, 60, 1);
    border-width: 0.1rem;
    border-style: solid;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.green-btn-outline:hover {
    background-color: rgba(41, 179, 60, 1); 
    color: rgba(255, 255, 255, 1);
}

.green-btn {
    background-color: rgb(41, 179, 60); 
    color: rgb(255, 255, 255);
    border-width: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out;
}

.green-btn:hover {
    background-color: rgb(22, 192, 44); 
}

.blue-btn-outline {
    background-color: rgba(35, 157, 206, 0.1); 
    color: rgba(35, 157, 206, 1);
    border-color: rgba(35, 157, 206, 1);
    border-width: 0.1rem;
    border-style: solid;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.blue-btn-outline:hover {
    background-color: rgba(35, 157, 206, 1);
    color: rgba(255, 255, 255, 1);
}

.blue-btn {
    background-color: rgb(35, 157, 206); 
    color: rgb(255, 255, 255);
    border-width: 0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 1.05rem;

    transition: background-color 0.2s ease-in-out;
}

.blue-btn:hover {
    background-color: rgb(62, 166, 207); 
}

.intro-logo {
    height: 2rem; 
    width: auto;
    padding: 1vh 0;
}

.features-row {
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: stretch;
}

.feature-card {
    border-radius: 1rem;
    box-shadow: 0 0 2px rgba(100, 100, 100, 0.5);

    transition: box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
}

.features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    text-align: left;
    width: auto;
}

.features2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 20px;
    width: 25vw;
    background-color: #DFE0DF;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.25);

    transition: background-color 0.2s ease-in-out;
}

.features2:hover {
    background-color: #d4d4d4;
}

.features2 img, .features img {
    height: 6rem;
    width: auto;
}

.text-highlight-orange {
    color: rgb(209, 118, 0);
    text-shadow: rgba(242, 137, 0, 0.5) 0 0 5px;
}

.prices {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 1vw;
}

.rate {
    background-color: rgb(237, 237, 237);
    box-shadow: 0 0 50px rgba(100, 100, 100, 0.5);
    padding: 3vh 3vw;
    border-radius: 10px;
    width: 40vw;
}

.white-flag{
    background-color:#fff;
    color:#004085;
    border-width:0 0 0 .15rem;
    border-radius:.25rem;
    box-shadow:0 0 2px rgba(100,100,100,.25);
    border-style:solid;
    padding:1rem;
    width:100%;
    box-sizing:border-box
}
.yellow-flag{
    background-color:#fff3cd;
    color:#93751c;
    border-width:0 0 0 .15rem;
    border-radius:.25rem;
    box-shadow:0 0 2px rgba(100,100,100,.25);
    border-style:solid;
    padding:1rem;
    width:100%;
    box-sizing:border-box
}
.blue-flag{
    background-color:#cce5ff;
    color:#004085;
    border-width:0 0 0 .15rem;
    border-radius:.25rem;
    box-shadow:0 0 2px rgba(100,100,100,.25);
    border-style:solid;
    padding:1rem;
    width:100%;
    box-sizing:border-box
}
.red-flag{
    background-color:#f8d7da;
    color:#721c24;
    border-width:0 0 0 .15rem;
    border-radius:.25rem;
    box-shadow:0 0 2px rgba(100,100,100,.25);
    border-style:solid;
    padding:1rem;
    width:100%;
    box-sizing:border-box
}

.team {
    /* background-color: #d4d4d4; */
    /* box-shadow: 0 0 2px rgba(100, 100, 100, 0.5); */
    padding: 3vh 3vw;
    width: 100%;
    margin: 2vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.profile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* gap: 4vw; */
    margin: 3vh 2vw;
}

.profile img {
    height: 7rem; 
    width: auto;
}

.join-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

form {
    background-color: #d4d4d4;
    border-radius: 10px;
    /* box-shadow: 0 0 3px rgba(100, 100, 100, 0.5); */
    padding: 3vh 3vw;
    width: 60vw;
    height: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    width: 100%;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.animate-fade-in-left{
    animation:fade-in-left 3s ease-in-out;
}

@keyframes fade-in-left{
    0%{
        opacity:0;
        transform:translateX(-50px)
    }
    100%{
        opacity:1;
        transform:translateX(0)
    }
}

.mockups {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    width: 100%;
    height: auto;
    margin: 2vh 0;
}

#intro-mockup {
    height: 50vh; 
    width: auto; 
    margin: 0 2vw; 
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

#menu-mock {
    filter: drop-shadow(0 0 5px rgba(0,0,0, 0.25));
    border-radius: 1rem;
    height: 80vh;
    width: auto;
}

#schedule-desktop {
    display: block;
}

.pricing-btn-container {
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center; 
    gap: 2vw;
    width: 100%;
}

.only-mobile {
    display: none;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vid-container-container {
    width: 50%;
}

.about-h {
    font-weight: 600; 
    font-size: 2rem; 
    margin: 7vh 0 0 0;
    color: black;
}

.about-p {
    margin: 1rem 0;
    font-size: 1.3rem; 
    font-weight: 400; 
    color: rgb(60, 60, 60);
}

.about-d {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-start;
    margin: 2vh 10vw;
}

.flip-on-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .flip-on-mobile {
        flex-direction: column-reverse;
    }

    .vid-container-container {
        width: 90%;
    }

    .video-container {
        border-radius: 1rem;
    }

    .only-mobile {
        display: block;
    }

    .pricing-btn-container {
        flex-direction: column;
    }

    #schedule-desktop {
        display: none;
    }

    #intro-mockup {
        width: 90vw;
        height: auto;
    }
    
    #mission {
        flex-direction: column;
    }
    #mission img {
        width: auto;
    }

    nav,
    h3,
    body {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin: 0 2vw;
    }

    #about-me .content .section-text p,
    h4,
    ul {
        font-size: 0.75rem;
    }

    ul {
        padding: 0 4vw;
    }

    .content {
        flex-direction: column;
    }

    img {
        width: 30vw;
    }

    .project img,
    #julian {
        height: 30vh;
        width: auto;
    }

    #julian {
        border-width: 0.6vw;
    }

    .course img,
    .tech-stack img {
        width: 7vw;
    }

    footer img {
        width: 4vw;
    }

    section {
        margin: 0;
        padding: 5vw;
        border-width: 1vw;
    }

    header {
        border-width: 0 0 1vw 0;
        display: block;
    }
    footer {
        border-width: 1vw 0 0 0;
    }

    #contact {
        gap: 1vw;
    }

    .project-tags {
        font-size: 0.75rem;
    }

    .mobile-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        z-index: 900;
    }

    .desktop-nav {
        display: none;
    }

    button {
        border-width: 0;
        background-color: transparent;
    }

    button img {
        width: 8vw;
    }

    .dropdown-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: fixed;
        top: -180vh;
        right: 0;
        width: 100%;

        background-color: #DFE0DF;
        color: black;
        padding: 1vw;
        border-color: rgb(0, 0, 0);
        border-width: 0.05rem;
        border-style: solid;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);

        opacity: 0;
        transition: opacity 0.5s ease-in-out, top 0.4s ease-in-out;

        padding-top: 100vh;
        z-index: 900;
    }

    .dropdown-content.showing {
        opacity: 1;
        top: -99vh;
    }

    .company-logo {
        width: 15vw !important;
    }

    footer {
        font-size: 0.5rem;
    }

    #dropdown-button-img:hover {
        opacity: 1;
    }

    #dropdown-button-img img:hover {
        opacity: 1;
    }

    .section-text {
        margin: 0;
    }

    h2 {
        font-size: 2rem;
    }

    .intro-logo {
        height: 1rem; 
        width: auto;
    }

    .features2 {
        flex-direction: column;
        width: 40vw;
    }

    .features2 img {
        height: 4rem;
    }

    .prices {
        flex-direction: column;
        gap: 3vh;
    }

    .rate {
        width: 80vw;
    }

    .team, form {
        width: 80vw;
    }

    .team {
        border-radius: 2rem;
    }

    .profile img {
        height: 5rem;
    }

    p {
        margin-left: 2vw;
        margin-right: 2vw;
    }

    .features-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4vh
    }

    .features {
        width: 70vw;
    }

    #header-banner {
        font-size: 0.75rem;
    }

    .intro {
        flex-direction: column-reverse;
    }

    #intro {
        background: url("images/introbg-qy-mobile.png") no-repeat;
        background-size: cover;
        /* animation: move-bg 600s ease-in-out infinite; */
        animation: none;
    }

    #contact {
        background-size: cover;
        animation: move-bg 600s ease-in-out infinite;
    }
}
