@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bakbak+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Roboto Flex', sans-serif;
    background-color: #9EB2F8;
}

.hero {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    /* background-image: url('/images/stars.svg'); */
}

.avatar {
    position: relative;
    height: 105vh;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: end;
    background-color: #9EB2F8;
}

.avatar img {
    height: 95%;
    max-width: 100%;
    object-fit: contain;
}

.banner, .blog {
    height: auto;
    width: 60%;
    padding: 30px 50px;
    padding-top: 25vh;
    background-color: #F1EFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.blog {
    padding-top:0px;
    padding: 30px 50px !important;
}

.blog .content img { 
    width:100%;
}

.content {
    max-width: 800px;
    width: 100%;
}

.logo {
    width: auto;
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: bold;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 300;
    margin: 0.5rem 0;
}

.blog h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 300;
    margin: 0.5rem 0;
}

.download-buttons {
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
    gap: 1rem;
    
    flex-wrap: wrap;
}

.download-buttons img {
    max-width: 180px;
    height:3rem;
    width: 100%;
}

.navigation {
    margin-top: 10vh;
    padding-bottom: 1rem;
    width: 100%;
}

.links {
    display: flex;
    gap: 2rem;
}

.links ul { 
  display: flex;
  flex-direction: column;
  padding:0;
  margin-top:0;
}

.links a, .links h3 {
    margin: 0;
    color: #333333;
    text-decoration: none;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    padding: 0.5rem 0;
    font-size:1rem; 
}

.blog h1 { 
    font-size: 3rem;
}

.links .articles a {
  font-weight:400;
}

.blog .links {
    margin-bottom:3rem;
}

.fixed { 
    position:fixed;
}


@media screen and (max-width: 1023px) {
    .hero {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .fixed { 
        position:static;
    }

    .avatar {
        width: 100%;
        height: 50vh;
        min-height: 300px;
        max-height: 500px;
    }

    .banner, .blog {
        width: 100%;
        min-height: 50vh;
        padding: 2rem;
        box-sizing: border-box;
    }

    .content {
        text-align: center;
    }

    .logo {
        margin: 0 auto 2rem auto;
        display: block;
    }

    .download-buttons {
        justify-content: center;
    }

    .navigation {
        margin-top: 5rem;
    }

    .links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .banner, .blog {
        padding: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons img {
        max-width: 200px;
    }

    .avatar {
        height: 40vh;
        min-height: 250px;
    }
}