/* Mobile version */
body {
    font-family: Georgia, 'Times New Roman', Times, serif, sans-serif;
    color: #10121c;
    line-height: 1.6;
    background-color: #f7f3b7;
    margin-top: 120px; /* Room for navigator bar */
}

/* Banner and logo */
.banner {
    background-image: url("images/Banner.png");
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo{
    align-items: center;
    width: 220px;
    height: auto;
    z-index: 10;
}

/* Basic text stuff */
h1 {
    font-size: 20px;
}
h2 {
    font-size: 35px;
    text-decoration-line: underline;
    text-align: center;
}
p {
    font-size: 17px;
}
.text-container {
    padding: 10px;
}

/* First about section */
.text-about {
    margin-right: 120px;
}
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -220px;
}
.screenshot1 {
    width: 100%;
    border-radius: 10px;
    border: 7px solid #e8d282;
}
.girl-walking {
    width: 140px;
    height: auto;
    align-self: flex-end;
    margin-right: 10px;
    z-index: 10;
}

/* Second about section */
.image-container2{
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -150px;
}
.screenshot2 {
    width: 100%;
    border-radius: 10px;
    border: 7px solid #e8d282;
}
.granpa-read {
    width: 140px;
    height: auto;
    align-self: flex-start;
    margin-top: 10px;
    margin-right: 10px;
    z-index: 10;
}

/* Trailer */
.trailer{
    text-align: center;
}

/* Download button wrapper */
.download {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.download-button {
    background-color: #f3a833;
    cursor: pointer;
    width: 50%;
    height: 100px;
    font-size: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #10121c; /* Make it not blue! */
    line-height: 1.2;
    font-weight: bold;
    padding: 15px;
}

.download-button:hover {
    background-color: #e98537;
}

/* The two big gifs */
.gif {
    width: 100%;
    margin: auto;
    margin-top: 10px;
}

/* Team section */
.group {
    width: 90%;
    height: auto;
    border-radius: 10px;
    border: 7px solid #e8d282;
}
.team-container {
    text-align: center;
}
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.team-member {
    width: 45%;
    margin-bottom: 20px;
}
.team-member img {
    width: 90%;
    border-radius: 20%;
    border: 7px solid #e8d282;
}

/* YHTA section */
.image-container3 {
    flex: 1;
}
.image-container3 img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Navigatin bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f3a833;
    padding: 10px;
    padding-top: 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
/* Navbar logos at the end */
.nav-left {
    display: flex;
    flex-direction: column;
}
.icon {
    width: 35px;
    width: 35px;
}
/* Navbar buttons */
.nav-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-right: 40px;
}
.nav-links {
    display: flex;
    gap: 15px;
}
.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #10121c;
}
.nav-links a:hover {
    text-decoration: underline;
}
/* Language buttons */
.language-buttons {
    display: flex;
    gap: 40px;
}
.language-buttons button {
    border: transparent;
    background-color: transparent;
    cursor: pointer;
}
.language-buttons button:hover {
    background-color: transparent;
}

/* Footer */
footer {
    font-size: 20px;
    background-color: #e8d282;
    border: 4px solid #e8d282;
    padding: 10px;
}
/* Logos */
.image-container4 {
    align-items: center;
}
.image-container4 img {
    width: 22%;
    border-radius: 5px;
}
/* Contacts */
.email {
    color: #10121c;
}
.copy {
    text-align: center;
}

/* Computer version */
@media (min-width: 768px) {
    body {
        background-color: #e8d282;
        margin-top: 80px;
    }

    .banner {
        height: 450px;
    }
    .logo{
        width: 400px;
    }

    .content {
        max-width: 1125px;
        margin: auto;
        padding: 20px;
        background: #f7f3b7;
    }
    h1 {
        font-size: 35px;
    }
    p {
        font-size: 18px;
    }
    .text-about {
        margin-left: 150px;
        margin-right: -20px;
    }
    .about-container {
        display: flex;
        margin-bottom: 60px;
        align-items: center;
    }
    .text-container {
        flex: 1;
        padding: 30px;
    }
    .image-container {
        flex: 1;
        margin-top: -150px;
    }
    .this-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: -50px;
    }
    .image-container2{
        margin-top: -250px;
    }

    .trailer {
        text-align: center;
    }

    .gif {
        margin-top: 50px;
    }

    h2 {
        font-size: 45px;
    }

    .team-member {
        width: 22%;
    }

    .yhta-container {
        display: flex;
        margin-top: 50px;
    }

    nav {
        padding: 10px;
    }
    .nav-left {
        flex-direction: row;
    }
    .icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }
    .nav-right {
        align-items: flex-end;
        gap: 10px;
        margin-right: 60px;
    }
    .nav-links a:hover {
        text-decoration: underline;
    }
    footer {
        margin-left: 60px;
        padding: 30px;
    }
}