@import url('./global.css');

body{
    height: 100vh;
}
.hero {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 2.5rem;
}
.hero .top {
    margin-bottom: 1.25em;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero .top h1 {
    font-family: "FiraCode-medium";
    font-size: 1.875rem;
}
.hero .breadcrumb {
    font-family: "FiraCode-Light";
    font-size: 0.75rem;
}
.hero .breadcrumb a {
    text-decoration: underline;
    text-underline-position: under;
}
.hero .figure-gallery{
    position: relative;
    flex: auto;
}
.hero-image-container {
    width: 60%;
    position: absolute;
    border: 1px solid grey;
}
.hero-image-container .hero-image {
    height: auto;
}
.hero-image-container::before {
    padding-top: 450px;
}
.hero-image-container:first-of-type {
    top: 0;
    left: 0;
}
.hero-image-container:last-of-type {
    bottom: 0;
    right: 0;
}
.line {
    font-family: 'FiraCode-Light';
}
.line-content {
    font-family: 'FiraCode-Medium';
}
.link-to-website{
    background-color: black;
    color: white;
    font-family: "FiraCode-Medium";
    padding: 0.5em 0.75em;
    display: inline-block;
    transition: background-color 0.3s;
}
.link-to-website:hover{
    background: grey;
}
.hero .bottom {
    position: relative;
    height: 0;
    top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: calc(100% - 40px);
    padding: 0 1.25rem;
}
.hero .bottom .left {
    font-size: 1rem;
    padding: 1em;
    background: white;
    width: 100%;
    max-width: 325px;
}
.hero .tags-container {
    margin-top: .75rem;
}
.hero .tag-title {
    font-family: 'FiraCode-Light';
    display: inline-block;
    width: 100%;
}
.hero .tags {
    margin-top: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
}
.hero .tag {
    font-family: "FiraCode-Medium";
    display: inline-block;
}
.hero a.tag {
    text-decoration: underline;
    text-underline-position: under;
}
@media ( max-height: 800px ){

    .hero-image-container::before {
        padding-top: 360px;
    }
}

/* Responsive */
@media (max-width: 1000px) {
    body{
        height: auto;
    }
    .figure-gallery {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .hero-image-container {
        width: 100%;
        max-width: 650px;
        position: relative;
    }
    .hero-image-container::before {
        padding-top: 56.25%;
    }
    .hero-image-container:first-of-type {
        top: unset;
        left: unset;
    }
    .hero-image-container:last-of-type {
        bottom: unset;
        right: unset;
        margin-left: auto;
    }
    .hero .bottom {
        position: sticky;
        bottom: 0;
        padding: 1.25rem;
        height: auto;
    }
}

@media (max-width: 700px) {
    .hero .bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 1.25rem;
        padding: 1.25rem 0;
    }
    .hero .top {
        flex-direction: column;
        align-items: flex-start;
    }
}