html, body {
    margin:0;
    padding:0;
    box-sizing: border-box;
    background-image: url("./images/gpt_bg_2.png");
    background-size: cover;           /* Makes sure the image covers the entire screen */
    background-position: center;      /* Centers the image */
    background-repeat: no-repeat;     /* Prevents tiling */
    height: 100vh;                    /* Ensures the background covers the viewport height */
    overflow-x: hidden; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.webpage {
    width:100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index:1;
}

a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}

.header {
    width:90%;
    max-width:1000px;
    height:200px;
    margin:auto;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    margin-top:50px;
    background-color: #E7E4E5;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

/* -----logo----- */
.logo{
    display:flex;
    justify-content: center;
    align-items:center;
    margin:0;
    padding:0;
    gap:15px;
    margin-left:40px;
}
.logo_image {
    width:150px;
    height:auto;
    display:block;
    margin:0;
    padding:0;
}
.logo_text {
    font-size:5rem;
    font-family: "Crete Round", "Arial" serif;
    font-weight:100;
}
h1 {
    font-family: "Crete Round", serif;
    font-size: 3rem;
}
h3 {
    font-family: "inter", sans-serif;
}

/* -----navbar----- */
.nav {
    display:flex;
    align-items: flex-end;
    height:100%;
    margin-right:50px;
}
.nav_content {
    height:100px;
    display:flex;
    flex-direction: row;
    list-style:none;
    gap:20px;
    margin-bottom:22px;
}
ul {
    
    justify-content: center;
    align-items: center;
    margin-bottom:10px;
}
li{
    font-size:18px;
    font-family: "Inter", sans-serif;
    margin-bottom:10px;
}

.nihongo {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

/* -----page_content----- */


main {
    margin:0;
    padding:0;
    background-color: #E7E4E5;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    display:flex;
    flex-direction:column;
    margin: 10px auto;
    margin-bottom:0;
    width:90%;
    max-width:1000px;
    height:auto;
    padding-bottom:50px;

}

.business_card {
    max-width:750px;
    height:300px;
    display:flex;
    justify-content: center;
    margin-top:50px;
    margin-left:10px;
    gap:20px
    
}

.card_left {
    display: flex;
    flex-direction: column;
    margin-top:50px;
    margin-right:50px;
    margin-left:30px;
    
}

.title {
    display: flex;
    justify-content: flex-end;
}



.card_right {
    display:flex;
    flex-direction: column;
    margin-left: 50px;
    margin-top: 60px
    
}

.divider {
    width: 2px;
    height: 90%;
    background-color: black;
    
}


/* Media query for screens smaller than 1000px (Tablets, small laptops) */
@media (max-width: 999px) {


    .card_left {
        align-items: center;
        margin-right:auto;
        margin-left:auto;
    }

    .name {
        text-align: center;
    }

    .card_right {
        align-items: center;
        margin-top:80px;
        margin-right:20px;
        margin-left:auto;
    }


    .logo_image {
        width:100px;
        height:auto;
        display:block;
        margin:0;
        padding:0;
    }
    .logo_text {
        font-size:3rem;
        font-family: "Crete Round", "Arial" serif;
        font-weight:100;
    }

}

@media (max-width: 950px) {

    .header{
    flex-direction:column;
    
    
}

.logo {
    margin-left:0;
    margin-top:10px;
}
    .nav {
        height:50px;
        margin-right:0;
    }
}


@media (max-width: 600px) {

    .business_card {
        flex-direction: column;
        justify-content: center;
        align-items:center;
    }


    .card_left {
        align-items: center;
        margin-right:auto;
        margin-left:auto;
    }

    .name {
        text-align: center;
    }

    .card_right {
        align-items: center;
        margin-top: 10px;
        margin-right:auto;
        margin-left:auto;
    }


    .logo_image {
        width:75px;
        height:auto;
        display:block;
        margin:0;
        padding:0;
    }
    .logo_text {
        font-size:2rem;
        font-family: "Crete Round", "Arial" serif;
        font-weight:100;
    }
}