@import "main.css";

/*CSS page for index.html*/
main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

main div {
    margin-bottom: 1rem;
}

#vid_wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Videos on Home Page */
iframe.explore_video {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 1rem 0;
    border: none;
    border-radius: 1rem;
    box-shadow: black 5px 5px 10px;
}

#vid_text {
    position: absolute;
    right: 1rem;
    text-align: center;
    bottom: 0;
    text-shadow: var(--background_mono) 2px 2px;
}

.main_wrapper {
    width: 55vw;
}

.main_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem;
    height: fit-content;
}

.quick_link_object {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: var(--header);
    width: calc(25% - 1rem);
    border-radius: 1rem;
    text-decoration: none;
}

.quick_link_object img, .quick_link_object > svg {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
}

.quick_link_object img {
    object-fit: cover;
    aspect-ratio: 1;
}

.quick_link_content {
    width: 92%;
    height: 10rem;
    text-align: left;
    overflow: hidden;
}

.quick_link_content_source {
    margin: 0;
    width: 100%;
}
.quick_link_content_source p {
    color: var(--text_inverted);
    font-weight: bold;
    height: fit-content;
    margin: 0;
    padding: .2rem 0;
}

.discover {
    width: 55vw;
}

.discover_object {
    min-width: 100%;
    margin: 0;
}