@font-face {
    font-family: 'MincraftRegular';
    src: url(../fonts/minecraft-font/MinecraftRegular-Bmg3.otf);
}

@font-face {
    font-family: 'MincraftBold';
    src: url(../fonts/minecraft-font/MinecraftBold-nMK1.otf);
}

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: 'MincraftRegular';
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navigation-section {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #ff9982;
    border-bottom: 2px solid black;
    z-index: 1200;
}

.nav-container {
    height: 100%;
    display: flex;
    max-width: 1200px;
    padding:0 1rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.nav-links a {
    height: 70%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    color: #000;
    background-color: #8fd9bd;
    border-radius: 5px;
    border: 2px solid black;
}

main {
    position: relative;
    padding:0 50px 0 20px;
    max-width: 1400px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-bar {
    position: fixed;
    top: 55px;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 100vh - 55px;
    background-color: #8fd9bd;
    border-left: 2px solid black;
    z-index: 1000;
}

.scroll {
    position: relative;
    top: 0px;
    width: 100%;
    height: 100px;
    background-color: #446257;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}


.hero-section {
    max-width: 84%;
    height: 420px;
}

.first-hero {
    background-color: #8fd9bd;
    border: 2px solid black;
}


.hedder-hero {
    width: 100%;
    border-bottom: 2px solid black;
    background-color: #ff9982;
    display: flex;
    align-items: center;
    padding: 5px 0;
    gap: 5px;
    padding-left: 20px;
}

.icon {
    padding: 2px;
    width: 25px;
    background-color: #8fd9bd;
    border: 2px solid black;
}

.content-hero {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 2rem;
}

.hero-h1 {
    display: inline;
    font-size: 3rem;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #ff9982; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */ /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ff9982; }
}

.image-me {
    border: 2px solid black;
}

.text-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
