@font-face {
    font-family: 'Stampwriter';
    src: url('stampwriter.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, sans-serif;
    background-color: #111111;
    scroll-behavior: smooth;
    transition: scroll 5s ease;
    color: #eeeeee;
}

h1 {
    font-size: 5rem;
    font-family: 'Stampwriter', sans-serif;
}

a {
    color: #eeeeee;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff0000;
}

.typewriter {
    max-width: 50%;
    overflow: hidden;
    border-right: .15em solid #eeeeee;
    white-space: nowrap;
    letter-spacing: .15em;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #eeeeee;
    }
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.content {
    flex: 1;
}

/* .content>div {
    min-height: 50vh;
} */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333333;
    color: #cccccc;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 30px;
    cursor: pointer;
    display: none;
    /* Initially hidden */
}

.header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 5fr 1 fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
}

.hero {
    grid-area: 1 / 1 / 3 / 2;
    min-height: 50vh;
    background-image: url("//gbst.store/cdn/shop/files/IMG_8691.jpg?v=1751546850&amp;width=3000");
    background-position: center;
    filter: grayscale();
}

.title {
    grid-area: 2 / 1 / 3 / 2;
    text-align: center;
    z-index: 1;
}

.navigation {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    background-color: #222222;
    width: 100%;
    z-index: 2;
}

.navigation a {
    color: #eeeeee;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem
}

.navigation a:hover {
    color: #ff0000;
    background-color: #333333;
}

.bio {
    padding: 2.5rem 10vw;
    display: grid;
}

.image {
    grid-area: 1 / 2 / 2 / 4;
}

.image > img {
    filter: grayscale();
}

.description {
    grid-area: 1 / 3 / 2 / 4;
    padding: 0 1rem;
}

.gallery {
    min-height: 100vh;
    padding: 2.5rem 10vw;
}

.gallery-grid {
    width: 80vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-gap: 5px;
    grid-auto-flow: dense;
}

.gallery-grid img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.g-h{
    grid-column: span 2;
}
.g-v {
    grid-row: span 2;
}
.g-b{
    grid-column: span 2;
    grid-row: span 2;
}

.contact {
    padding: 2.5rem 10vw;
}

.c-wrapper {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}

.testemonials {
    padding: 2.5rem 10vw;
}

.t-wrapper {
    min-height: 25vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.t-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    min-width: 20vw;
}

.t-rating {
    color: gold;
    font-size: larger;
}

.t-text {
    font-size: larger;
}

.t-info {
    min-width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.footer {
    flex: 0;
    display: grid;
    background-color: #000000;
}

.footer>div {
    padding: 1rem 2.5rem;
}

.footer-links {}

.footer-social {}

.footer-contact {}

.footer-contact h3 {
    color: #ff0000;
}

.footer-copy {
    text-align: center;
}

.created {
    text-align: center;
    margin: 0;
    padding: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: lighter;
    font-size: 0.8rem;
    color: #333333;
    background-color: #000000;
}



/* Responsive Design */


/* Mobile First */

@media only screen and (max-width: 600px) {

    .title {
        font-size: 2rem;
    }

    .typewriter {
        max-width: 90%;
    }

    .bio {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr;
    }

    .image {
        grid-area: 1 / 1 / 2 / 2;
    }

    .description {
        grid-area: 2 / 1 / 3 / 2;
    }

    .c-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .t-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 3fr) 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .footer-links {
        grid-area: 1 / 1 / 2 / 2;
    }

    .footer-social {
        grid-area: 2 / 1 / 3 / 2;
    }

    .footer-contact {
        grid-area: 3 / 1 / 4 / 2;
    }

    .footer-copy {
        grid-area: 4 / 1 / 5 / 2;
    }
}


/* Tablet */

@media only screen and (min-width: 600px) {}


/* Desktop */

@media only screen and (min-width: 768px) {

    .bio {
        grid-template-columns: 1fr 1fr 3fr 1fr;
        grid-template-rows: 1fr;
    }

    .image {
        grid-area: 1 / 2 / 2 / 3;
    }

    .description {
        grid-area: 1 / 3 / 2 / 4;
    }

    .footer {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 5fr 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .footer-links {
        grid-area: 1 / 1 / 2 / 2;
    }

    .footer-social {
        grid-area: 1 / 2 / 2 / 3;
    }

    .footer-contact {
        grid-area: 1 / 3 / 2 / 4;
    }

    .footer-copy {
        grid-area: 2 / 1 / 3 / 4;
    }
}