body {
    margin: 0vh;
    border: 0vh;
    background: #0b0b0b;
}
#container {
    width: 70vw;
    height: fit-content;
    margin: 35px auto;
    margin-top: 70px;
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 50px 1fr 200px;
    /*grid-auto-rows: 1fr;*/
    grid-gap: 30px;
    color: #e8e8e8; /* off white text */
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid;
    text-align: center;
    grid-column: 1/4;
    height: 190px;
    border-color: #2a2a2a; /* dark grey borders */
    border-radius: 25px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #151515, #101010);
}
.heading1 {
    font-size: 6rem;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold";
    font-weight: bold;
    letter-spacing: 12px;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

nav {
    border: 4px solid;
    grid-column: 1/4;
    display: flex;
    justify-content: space-around;
    border-color: #2a2a2a; /* dark grey borders */
    border-radius: 10px;
    background: #141414;
    align-content: center;
}
.home,
.blank,
.contact {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    transition: 0.25s ease;
}

nav a:hover,
.res:hover {
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

#blocks {
    display: grid;
    border: 4px solid;
    grid-column: 1/4;
    border-color: #2a2a2a; /* dark grey borders */
    border-radius: 25px;
    overflow: hidden;
    background: #141414;
}
.block {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-gap: 5px;
    border-bottom: 4px solid;
    border-color: #2a2a2a; /* dark grey borders */
}

.block:hover {
    background: rgba(124, 58, 237, 0.05);
}

.block:last-child {
    border-bottom: none;
}
.media {
    grid-template-rows: auto;
    display: grid;
    justify-items: center;
    justify-content: space-between;
    align-items: center;
    justify-self: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    grid-gap: 18px;
    order: 2;
}

.video {
    width: 100vw;
    max-width: fit-content;
    border-radius: 18px;
    border: 2px solid #333;
    transition: 0.3s ease;
}
.images {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid #333;
    transition: 0.3s ease;
}
.video:hover,
.images:hover {
    transform: scale(1.02);
    border-color: #7c3aed;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.35);
}

.res {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 35px;
    text-align: center;
}
.res:hover {
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}
.content {
    order: 1;
}
.chead {
    font-size: 3rem;
    justify-self: center;
    align-self: center;
    padding: 1rem 1rem 0rem 1rem;
    margin: 0px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    letter-spacing: 3px;
}
.c2head {
    font-size: 2rem;
    padding: 1rem 1rem 0rem 1rem;
    margin: 0px;
    font-family: "Lucida Console", Monaco, monospace;
}
.cpara {
    font-size: 31px;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0px;
    text-align: left;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #d4d4d4;
    word-spacing: 6px;
}
footer {
    border: 4px solid;
    border-color: #2a2a2a; /* dark grey borders */
    border-radius: 10px;
    grid-column: 1/4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    background: #141414;
}

/*form stuff*/
.contact-box {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.contact-content {
    background: #141414;
    padding: 30px;
    border-radius: 20px;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 3px solid #2a2a2a;
}

.contact-content input,
.contact-content textarea {
    background: #0b0b0b;
    border: 2px solid #333;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 18px;
}

.contact-content textarea {
    min-height: 120px;
    resize: none;
}

.contact-content button {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}
.contact-content,
h2 {
    color: white;
}
/*formstuff ended*/

@media (max-width: 800px) {
    #container {
        display: grid;
        width: 100vw;
        margin: 0px;
        grid-template-columns: 1fr;
        grid-template-rows: 100px 50px 1fr 100px;
    }
    header {
        height: 100px;
        border-radius: 0px;
    }
    #blocks {
        border-radius: 0px;
    }
    .block {
        border-radius: 0px;
    }
    .content {
        order: 1;
        grid-column: 1/4;
        border-radius: 0px;
    }
    .media {
        order: 2;
        grid-column: 1/4;
        border-radius: 0px;
    }
    .heading1 {
        font-size: 2rem;
        letter-spacing: 6px;
    }
    .chead {
        font-size: 2rem;
    }
    .cpara {
        font-size: 1rem;
    }
    .res {
        font-size: 1rem;
    }

    nav {
        border-radius: 0px;
    }
    nav .home,
    .contact {
        font-size: 1rem;
        align-content: center;
    }
}
