
* {
    margin: 0; 
    padding: 0;
}

body {
    background-color: #708090;
    width: 80vw;
    max-width: 1080px;
    margin: auto;
    font-family: sans-serif;
}

h1 {
    text-align: center;
}

h4, h5 {
    font-size: 1.8em;
    font-family: Georgia, serif;
    color: #dedcde;
    padding-bottom: 8px;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-family: Georgia, serif;
    color: #dedcde;
    font-size: 1.2em;
    padding-top: 8px;
    text-align: center;
}

h4 a, h5 a, h6 a, .project-right a {
    text-decoration: none;
    color: rgb(189 238 255);
}

.intro a {
    text-decoration: none;
    color: rgb(189 238 255);
}

h4 a:hover, h5 a:hover, h6 a:hover, .project-right a:hover {
    color: #335bdb;
}

.intro a:hover {
    color: #333;
    text-decoration: underline;
}

.website-info p {
    color: #dedcde;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 260px;
}

.header p, .header li {
    padding: 4px 0;
}

.photo {
    flex: 1;
}

.photo img {
    height: 200px;
    border-radius: 50%;
}

.redirect-note {
    background: linear-gradient(to right, #f5f5f5, #e4e4e4);
    border-left: 6px solid rgb(33 33 33);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    color: rgb(33 33 33);
    margin: 0.5rem 0;
    box-shadow: 4px 4px 4px rgba(32 32 32 / 50%);
}

.redirect-note p {
    margin: 0;
    color: #333;
}

.redirect-note a {
    text-decoration: none;
    color: #333;
}

.redirect-note a:hover {
    color: slategray;
}

.intro {
    padding: 8px;
    color: #dedcde;
    flex: 3;
    display: flex;
    flex-direction: column;
}

.intro ul {
    padding-left: 2rem;
}

.project {
    overflow-y: hidden;
    display: flex;
    justify-content: space-between;
    background-color: rgba(0 0 0 / 75%);
    background-image: linear-gradient(to right, black, black, rgb(18 18 18), rgb(50 50 50));
    box-shadow: 4px 4px 4px rgba(32 32 32 / 50%);
    border-radius: 8px;
    height: 496px;
    align-items: center;

    /* Disable Text Selection */
    user-select: none;
}

.project:hover {
    box-shadow: 6px 6px 6px rgba(0 0 55 / 75%);
}

.project ul {
    margin: 1rem 0;
}

.project hr {
    margin: 0.5rem auto;
    width: 600px;
}

.prev {
    color: rgba(255 255 255 / 33%);
    font-size: 40px;
    background-color: rgba(255 255 255 / 25%);
    padding: 100% 4px 100% 6px;
    border-radius: 12px 0 0 12px;
}

.next {
    color: rgba(255 255 255 / 33%);
    font-size: 40px;
    background-color: rgba(255 255 255 / 25%);
    padding: 100% 6px 100% 4px;
    border-radius: 0 12px 12px 0;
}

.prev:hover, .next:hover {
    color: rgba(255 255 255 / 66%);
    background-color: rgba(255 255 255 / 50%);
    cursor: pointer;
}

#website-img {
    border-radius: 8px;
    border: solid 1px rgba(123 123 123 / 50%);
}

#website-img:hover {
    box-shadow: 3px 3px 3px rgba(123 123 123 / 75%);
    cursor: pointer;
}

.project-left {
    flex: 1;
    padding: 8px;
    text-align: center;
}

.project-left img {
    max-height: 480px;
}

.project-right {
    flex: 2;
    padding: 24px;
    color: #dedcde;
}

.project-right p {
    padding-top: 8px;
}

.project-right ul {
    padding-left: 24px;
}

.project-right img {
    width: 240px;
    padding-top: 16px;
}

.app-link {
    display: none;
}

.rotate-message {
    display: none;
}

@media (width <= 975px) {
    body {
        width: 96vw;
        max-width: 96vw;
        height: var(--app-height);
    }

    .header {
        height: fit-content;
        width: fit-content;
        padding-top: 1rem;
        margin: auto;
    }

    .redirect-note {
        font-weight: 500;
    }

    .photo img {
        height: 100px;
    }

    .intro {
        margin-bottom: 2px;
    }

    .intro-pt1, .intro-pt2, .project-right {
        display: none;
    }

    .project {
        width: 100%;
        height: 60%;
        background-image: linear-gradient(to right, black, black);
        overflow: hidden;
        align-items: center;
    }

    .project hr {
        width: 100%;
    }

    #website-img {
        max-width: 90%;
        margin-top: 5%;
    }

    .project-left {
        padding: 0;
        text-align: center;
        height: 100%;
    }

    #video {
        width: 80%;
        max-height: 100%;
        padding: 0;
    }

    .prev {
        color: rgba(255 255 255 / 25%);
        background-color: rgba(255 255 255 / 15%);
    }

    .next {
        color: rgba(255 255 255 / 25%);
        background-color: rgba(255 255 255 / 15%);
    }

    .prev:hover, .next:hover {
        color: rgba(255 255 255 / 50%);
        background-color: rgba(255 255 255 / 25%);
    }

    .website-info{
        margin-top: 16px;
        padding: 8px;
    }

    .website-info h4{
        font-size: 1.4em;
        padding-top: 16px;
    }

    .website-info p{
        font-size: 0.8em;
        padding-top: 12px;
    }

    .banner-div {
        width: 90%; 
    }

    .banner {
        margin-top: 24px;
        max-width: 100%;
    }

    #project-right {
        display: none;
    }

    .app-link {
        display: block;
        height: 15%;
    }

    .app-link p {
        text-align: center;
        margin: 1rem;
    }

    .app-link img {
        width: 75%;
    }
}

@media (width >= 975px) {
    .intro-alt {
        display: none;
    }
}

@media (width <= 975px) and (orientation: landscape) {
    body {
        width: 100dvw;
        height: 100dvh;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header {
        height: 100%;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .photo, .intro {
        flex: 1;
        max-height: fit-content;
    }
    .project {
        height: 100%;
        flex: 3;
    }
    .intro-title {
        display: none;
    }
    .photo img {
        height: 75px;
    }
    .project-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #website-img {
        max-width: auto;
        margin-top: 0;
        max-height: 66%;
    }
    .website-info {
        margin: 0;
        padding: 0;
    }
    .website-info p, .website-info h5 {
        padding: 0;
    }
    .description-hr {
        display: none;
    }
    .app-link {
        display: none;
    }
    .rotate-message {
        display: block;
        color: #dedcde;
        text-align: center;
        padding-top: 4px;
    }
}
