/* Index and Main Content */
body {
    font-family: Arial, sans-serif;
    font-size: 2.4vh;
    margin: 0;
    padding: 0;
    background-color: rgb(20, 20, 20);
    color: whitesmoke;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vh 0;
    text-align: center;
    background-color: #333;
    width: 100%;
    z-index: 1;
    position: relative;
    border-top: 2px solid whitesmoke;
}

main {
    margin-top: 10vh;
    padding: 2vh;
    text-align: center;
}

footer {
    color: whitesmoke;
    padding: 1vh 0;
    text-align: center;
    background-color: #333;
}

a {
    color: whitesmoke;
    text-decoration: none;
}

a:visited {
    color: whitesmoke;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10vh;
    max-height: 100vh;
    background-color: rgb(20, 20, 20);
    position: absolute;
    top: 0;
    z-index: 5;
}

.logoVideo, .logoImage {
    height: 10vh;
    max-height: 100vh;
    width: 100%;
}

.logoVideo:hover {
    filter: blur(5px);
    cursor: pointer;
}

.logoVideo:active {
    filter: blur(0px);
}

#logoVideo, #logoHeader {
    height: 100%;
    width: auto;
    position: absolute;
    z-index: 10;
}

.logoVideo, #logoVideo {
    left: 0;
}

.logoImage, #logoHeader {
    left: 50%;
    transform: translateX(-50%);
}

#logoimage {
    width: 100%;
    height: auto;
}

#logoFooter {
    display: none;
}

/*Navigation*/
nav {
    display: flex;
    background-color: #333;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    flex-direction: column;
    align-items: center;
    top: 10vh;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 1.5vh 2vw;
    color: whitesmoke;
    text-decoration: none;
}

nav ul li a, #phone, #email:hover {
    background-color: #555;
    text-decoration: underline;
}

.nav-toggle {
    display: none;
}

main {
    padding: 2vh;
    text-align: center;
}

.card {
    font-size: 3vh;
}
/* Card Display */
#currentProjects {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1vh solid whitesmoke;
}

#indexlogo, #latestlogo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: absolute;
    right: 0;
}

.displayheader {
    display: flex;
    align-items: center;
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1vh solid whitesmoke;
}

.carddisplay {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.displaycard {
    flex: 1 1 30%;
    max-width: 80%;
    background-color: #444;
    color: whitesmoke;
    padding: 2vh;
    margin: 1vh;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.displaycard img:hover {
    transform: scale(1.25);
}

.displaycard img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.displaycard h3 {
    margin-top: 1vh;
    font-size: 2.4vh;
}

.displaycard p {
    font-size: 2vh;
}

#indexgofundme {
    width: 100%;
    height: auto;
    max-width: 100%;
    background-color: rgb(20, 20, 20);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2vh;
    margin: 0 auto;
}

#reelVideo {
    width: 80vw;
    height: 70vh;
    margin: 2vh 0;
}

/* Footers */
footer .text {
    margin: 2vh 0;
}

#missionStatement {
    font-size: 2.75vh;
}

#shareLinks a {
    color: whitesmoke;
    margin: 0 0.5vw;
    text-decoration: none;
    display: inline-block;
}

#shareLinks svg {
    fill: black;
    transition: fill 0.3s;
}

#shareLinks svg:hover {
    fill: whitesmoke;
}

#shareLinks img {
    transition: filter 0.3s;
}

#shareLinks img:hover {
    filter: invert(120%);
}

#references a {
    color: whitesmoke;
    margin: 0 0.5vw;
    text-decoration: none;
    display: inline-block;
}

#references svg {
    fill: black;
    transition: fill 0.3s;
}

#references svg:hover {
    fill: whitesmoke;
}

/*Contact Page*/
#subscription {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

#subscription input[type="text"], #subscription input[type="email"] {
    width: 80vw;
    padding: 2vh;
    margin-bottom: 1vh;
    border: 1px solid #444;
    border-radius: 4px;
}

#submit {
    width: 20vw;
    height: 5vh;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
}

#button {
    width: auto;
    height: 10vh;
    padding: 2vh;
    margin-bottom: 1vh;
    border: 1px solid #444;
    border-radius: 4px;
    background-image: url('./whiteRazorLogoEdited.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #444;
    font-size: bold;
    white-space: normal;
    font-weight: bold;
    filter: blur(5px);
    transition: filter 0.1s ease-in-out;
}

#button:hover, #name:hover, #email:hover {
    filter: blur(0);
}

.text {
    font-size: 3vh;
    color: whitesmoke;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.2vw;
    text-transform: uppercase;
    transition: all 0.5s ease-in-out;
}

#thanks {
    opacity: 0;
}

#mailto {
    color: whitesmoke;
    text-decoration: underline;
}
/* Latest Page */
#galleryheader {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1vh solid whitesmoke;
}

#latestlogo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: absolute;
    right: 0;
}

.yearheader {
    display: flex;
    align-items: center;
    flex: 1;
}

#gofundme {
    width: 50vw;
    height: auto;
    max-width: 50vw;
    background-color: rgb(20, 20, 20);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2vh;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 1.4vh;
    }
    main {
        margin-top: 10vh;
        padding: 2vh;
        text-align: center;
    }
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        width: 100%;
        max-height: 10vh;
        background-color: rgb(20, 20, 20);
        z-index: 5;
    }

    .logoVideo, .logoImage {
        height: 10vh;
        max-height: 100%;
        width: 100%;
    }

    #logoVideo, #logoHeader {
        height: 100%;
        width: auto;
        position: absolute;
        z-index: 10;
    }

    .logoVideo, #logoVideo {
        left:0;
    }

    .logoImage, #logoHeader {
        left: 50%;
        transform: translateX(-50%);
    }

    #logoHeader, #logoFooter {
        display: block;
        margin: 0 auto;
        width: 10vh;
        height: auto;
    }

    #logoImage, .logoImage {
        display: none;
    }

    .nav-toggle {
        display: none;
    }

    #reelVideo {
        width: 75vw;
        height: 45vh;
        max-width: 100vw;
        max-height: 100vh;
    }

    #indexlogo, #latestlogo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        position: absolute;
        right: 0;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    #footerText, #share {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }

    #share {
        display: block;
        justify-content: center;
        padding-top: 1vh;
    }

    #logoContainer {
        padding-top: 2vh;
        margin-top: 2vh;
        background-color: rgb(20, 20, 20);
    }

    #subscription input[id="name"], #subscription input[id="email"] {
        width: 90vw;
        padding: 2vh;
    }

    #button {
        width: 20vw;
        height: auto;
        padding: 2vh;
        margin: 0;
        background-size: cover;
    }

    #subscription input[type="text"], #subscription input[type="email"] {
        width: 100%;
        padding: 2vh;
    }

    .footertext { 
        font-size: 1.2vh;
    }

    #indexgofundme {
        width: 40vw;
        height: auto;
        max-width: 80vw;
        max-height: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgb(20, 20, 20);
        padding-top: 2vh;
        margin: 0 auto;
    }

    #gofundme {
        width: 77vw;
        height: auto;
        max-width: 100vw;
        max-height: 100vh;
    }

    #indexlogo img {
        max-width: 50%;
        height: auto;
    }

    #latestlogo img {
        max-width: 50%;
        height: auto;
    }

    .display { 
        align-items: center;
        width: 100%; 
        height: auto;
        max-width: 100%; 
    }

    .displayimage {
        align-items: center;
        width: 100%;
        height: auto;
        max-width: 80vw;
    }

    .carddisplay {
        flex-direction: column;
        align-items: center;
    }

    .displaycard {
        flex: 1 1 80%;
        max-width: 80%;
    }

    #indexposter {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
}

@media (orientation: landscape) and (max-width: 768px) {
    body {
        font-size: 1.4vh;
    }
    main {
        margin-top: 10vh;
        padding: 2vh;
        text-align: center;
    }
    .nav-toggle {
        display: none;
    }

    nav {
        display: flex;
        background-color: #333;
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
        flex-direction: column;
        align-items: center;
        top: 10vh;
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        flex: 1;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1.5vh 2vw;
        color: whitesmoke;
        text-decoration: none;
    }

    nav ul li a, #phone, #email:hover {
        background-color: #555;
        text-decoration: underline;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        width: 100%;
        max-height: 10vh;
        background-color: rgb(20, 20, 20);
    }

    .logoVideo, .logoImage {
        height: 10vh;
        max-height: 100vh;
        width: 100%;
    }

    #logoVideo, #logoHeader {
        height: 100%;
        width: auto;
        position: absolute;
        z-index: 10;
    }

    .logoVideo, #logoVideo {
        left: 0;
    }

    .logoImage, #logoHeader {
        left: 50%;
        transform: translateX(-50%);
    }

    #logoHeader, #logoFooter {
        display: block;
        margin: 0 auto;
        width: 10vw;
        height: auto;
    }

    #indexlogo, #latestlogo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        position: absolute;
        right: 0;
    }

    #reelVideo {
        width: 60vw;
        height: 40vh;
        max-width: 100vw;
        max-height: 100vh;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    #footerText, #share {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }

    #share {
        display: block;
        justify-content: center;
        padding-top: 1vh;
    }

    #logoContainer {
        padding-top: 2vh;
        margin-top: 2vh;
        background-color: rgb(20, 20, 20);
    }

    #subscription input[id="name"], #subscription input[id="email"] {
        width: 90vw;
        padding: 2vh;
    }

    #button {
        width: 30vw;
        height: auto;
        padding: 2vh;
        margin: 0;
        background-size: cover;
    }

    #subscription input[type="text"], #subscription input[type="email"] {
        width: 100%;
        padding: 2vh;
    }

    .footertext { 
        font-size: 1.2vh;
    }

    #gofundme {
        width: 77vw;
        height: auto;
        max-width: 100vw;
        max-height: 100vh;
    }

    #indexgofundme {
        width: 40vw;
        height: auto;
        max-width: 80vw;
        max-height: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgb(20, 20, 20);
        padding-top: 2vh;
        margin: 0 auto;
    }

    #latestlogo img {
        max-width: 50%;
        height: auto;
    }

    .display { 
        align-items: center;
        width: 100%; 
        height: auto;
        max-width: 100%; 
    }

    .displayimage{
        align-items: center;
        width: 100%;
        height: auto;
        max-width: 80vw;
    }

    .carddisplay {
        flex-direction: column;
        align-items: center;
    }

    .displaycard {
        flex: 1 1 80%;
        max-width: 80%;
    }

    #indexposter {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
}