* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
}


Clear fix hack .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

/******************************************
/* HEADER
/*******************************************/
header{ 
    height: auto; 
    clear: both;  
    height: auto; 
}
header {
    background-color: white;
    padding: 10px 0;
}

header nav {
    width: 90%;
    margin: 0 auto;
}

header ul {
    display: flex;
    align-items: center;
    justify-content: space-between;

    list-style: none;
    margin: 0;
    padding: 0;
}

header a {
    text-decoration: none;
    color: #444;
}

header button {
    background-color: #3f4650;
    color: white;
    border: none;
    padding: 10px 35px;
}

/******************************************
/* Section 2
/*******************************************/

.japanOne{
    display: flex; 
    justify-content: space-around;
    align-items: center;
    padding: 45px; 
    height: auto; 
    background: rgb(239, 241,243); 
    clear: both; 
}

.japTwo p{
    line-height: 1.4;
    max-width: 550px;
    margin-bottom: 20px;
}

.japTwo .pGraph{
    font-size: 10px; 
    margin: 5px 0; 
}

.japTwo form{
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.japTwo input {
    width: 320px;
    padding: 12px;
    border: 1px solid #9b9a9a;
    border-radius: 5px;
    
}
.japTwo button {
    width: 150px;
    padding: 12px;
    border: 1px solid #999;
    background: #b7c3cc;
    color: white;
    font-family: 14px;
    border-radius: 5px;
}
/******************************************
/* Section 3
/*******************************************/

.oneSec{
    height: auto;  
    padding: 20px; 
    clear: both; 
}
.oneOfone h2{
    font-weight: 600;
    text-align: center;
    margin: 30px 0; 
}
.oneOfTwo{
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
.oneOfTwo p{
    flex: 1; ;
}
.oneOfTwo span{
    font-weight: bold;
    border-top: 5px solid rgb(246, 217, 237);
}
.oneOftres{
    display: flex; 
    font-size: 12px;
    color: #b7c3cc;
    margin: 40px; 
    font-style: italic;
}

/******************************************
/* Section 4
/*******************************************/

.twoSec{
    padding: 10px; 
    display: flex; 
     height: auto; 
    background: rgb(239, 241, 243);
    gap: 30px; 
    clear: both; 
}
.twoSec h2{
    font-weight: 600;
}
.twoTwos p{
    margin-top: 5px;
    line-height: 1.5;
}
.twoTrees{
     height: auto; 
    margin-top: 20px; 
}
/******************************************
/* Section 5
/*******************************************/

.treeSec{
    clear: both; 
    height: auto; 
}
.treeSec h2{
    padding: 5px; 
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
}
.sec3{ 
    display: flex; 
    align-items: flex-start;
    gap: 40px; 
    height: auto;
    margin: 0 20px;
    border: 1px solid #ddd;
}
.sec4 h3{
    margin-bottom: 10px;
    font-size: 14px;
}
.sec p{
    font-size: 10px;
    font-weight: lighter;
}
.sec3 img {
    padding: 10px 15px;
}

/******************************************
/* Section 6
/*******************************************/

.fourSec{ 
    display: flex; 
    height: auto; 
    gap: 40px; 
    padding: 20px; 
}
.fourSec h2{
    color: rgb(134, 137, 139); 
    font-weight: lighter;
}
.fourSec p{
    line-height: 25px;
}

/******************************************
/* Footer
/*******************************************/
footer{
    height: auto; 
}
.footerOne{
    text-align: center;
    padding: 35px 0;
    display: flex; 
    padding: 20px; 
    background: rgb(179, 189, 201);
    color: white;  
}

.footerOne h3{
    font-weight: 400;
    width: 40%; 
    display: flex; 
    align-items: center; 
}
.footerOne form{
    justify-content: right;
    display: flex;
    gap: 20px;
    width: 60%;  
}
.footerOne input {
    width: 300px;
    padding: 10px;
    border: none;
    border-radius: 10px;
}
.footerOne button {
    padding: 10px 30px;
    border: none;
    background: #667783;
    color: white;
    border-radius: 10px;
    text-align: center;
}
.bottom{
    background: rgb(126, 134, 141);
    color: white;
    padding: 20px 5%;
    text-align: center;
}
.bottomOne{
    border-bottom: 1px solid white; 
    display: flex; 
    padding-bottom: 20px 
}
.bottomOne ul{ 
    display: flex;  
    width: 50%; 
    list-style: none;
    justify-content: flex-end;
    gap: 20px;
    font-size: 12px;
    font-weight: 500;
}
.bottomOne p{
    display: flex;
    width: 50%; 
    font-size: 12px;
    font-weight: 500; 
    justify-content: flex-start;
}
.bottomUp{
    display: flex; 
}
.bottomUp ul{
    list-style: none;
    font-size: 12px;
}
#oneFirst{ 
    width: 18%;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}
#twoFirst{
    width: 20%;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}
#threeFirst{
    width: 18%;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}
#fourFirst{
    width: 45%; 
    display: flex; 
    justify-content: space-between;
}
.firstOnes{
    font-weight: bold;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */


/* =========================================================
    SMALL LAPTOP - 1024PX
   ========================================================= */

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

    /* ---------------- COLORS ---------------- */

    header {
        background: #d9c2cf;
    }

    .japanOne {
        background: #f4dfe9;
    }

    .oneSec {
        background: #fff7fa;
    }

    .twoSec {
        background: #ead8e3;
    }

    .treeSec {
        background: #fffafa;
    }

    .fourSec {
        background: #f2e5eb;
    }


    /* ---------------- NAV ---------------- */

    header {
        padding: 15px 25px;
    }

    header nav {
        width: 100%;
    }

    header ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px 25px;
        background: transparent;
    }

    header a {
        color: #333;
    }


    /* ---------------- HERO ---------------- */

    .japanOne {
        padding: 40px 30px;
        gap: 30px;
    }

    .japLogo img {
        max-width: 180px;
        height: auto;
    }

    .japThree img {
        max-width: 320px;
        height: auto;
    }

    .japTwo {
        flex: 1;
    }


    /* ---------------- JWLI MISSION ---------------- */

    .oneSec {
        padding: 35px;
    }

    .oneOfTwo {
        gap: 30px;
    }


    /* ---------------- HISTORY ---------------- */

    .twoSec {
        gap: 25px;
        padding: 30px;
    }

    .twoTwos {
        flex: 1.5;
    }

    .twoTrees {
        flex: 1;
    }

    .twoPics img {
        max-width: 100%;
        height: auto;
    }


    /* ---------------- WHO WE ARE ---------------- */

    .sec3 {
        margin: 0 30px;
        gap: 25px;
        padding: 20px;
    }

    .sec3 img {
        max-width: 250px;
        height: auto;
    }


    /* ---------------- PARTNERS ---------------- */

    .fourSec {
        gap: 30px;
        padding: 30px;
    }

    .fourSec section {
        flex: 1;
    }

    .fourSec img {
        max-width: 100%;
        height: auto;
    }


    /* ---------------- FOOTER ---------------- */

    .footerOne {
        background: #b79aaa;
    }

    .bottom {
        background: #75636d;
    }


    /* ---------------- FONT ---------------- */

    p,
    a,
    li,
    button,
    input,
    span {
        font-size: 14px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }
}



/* =========================================================
    TABLET - 768PX 
   ========================================================= */

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

    /* ---------------- COLORS ---------------- */

    header {
        background: #a67591;
    }

    .japanOne {
        background: #e8c4d6;
    }

    .oneSec {
        background: #f7e9f0;
    }

    .twoSec {
        background: #d9b3c7;
    }

    .treeSec {
        background: #fbeef4;
    }

    .fourSec {
        background: #ead5df;
    }


    /* ---------------- NAV ---------------- */

    header ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    header a {
        color: white;
    }

    header button {
        background: #57414d;
    }


    /* ---------------- HERO ---------------- */

    .japanOne {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 35px 25px;
    }

    .japLogo img {
        max-width: 180px;
    }

    .japTwo {
        width: 100%;
    }

    .japTwo p {
        max-width: 100%;
    }

    .japTwo form {
        justify-content: center;
    }

    .japThree img {
        max-width: 100%;
        height: auto;
    }


    /* ---------------- MISSION ---------------- */

    .oneOfTwo {
        flex-direction: column;
        gap: 20px;
    }

    .oneOftres {
        margin: 30px 10px;
    }


    /* ---------------- HISTORY ---------------- */

    .twoSec {
        flex-direction: column;
        padding: 30px 25px;
    }

    .twoTrees {
        display: flex;
        gap: 20px;
    }

    .twoPics {
        flex: 1;
    }

    .twoPics img {
        width: 100%;
    }


    /* ---------------- WHO WE ARE ---------------- */

    .sec3 {
        flex-direction: column;
        align-items: center;
        margin: 0 25px;
    }

    .sec3 img {
        max-width: 280px;
    }

    .sec4 {
        padding: 0 15px 20px;
    }


    /* ---------------- PARTNERS ---------------- */

    .fourSec {
        flex-direction: column;
        padding: 30px 25px;
    }


    /* ---------------- NEWSLETTER ---------------- */

    .footerOne {
        flex-direction: column;
        gap: 20px;
        background: #967a8a;
    }

    .footerOne h3 {
        width: 100%;
        justify-content: center;
    }

    .footerOne form {
        width: 100%;
        justify-content: center;
    }


    /* ---------------- LOWER FOOTER ---------------- */

    .bottom {
        background: #67535f;
    }

    .bottomOne {
        flex-direction: column;
        gap: 15px;
    }

    .bottomOne p,
    .bottomOne ul {
        width: 100%;
        justify-content: center;
    }

    .bottomUp {
        flex-wrap: wrap;
        gap: 25px;
        padding-top: 25px;
    }

    #oneFirst,
    #twoFirst,
    #threeFirst,
    #fourFirst {
        width: calc(50% - 15px);
    }

    #fourFirst {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* =========================================================
    MOBILE - 600PX
   ========================================================= */

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

    /* ---------------- NAV ---------------- */

    header nav {
        display: none;
    }

    /* ---------------- HERO ---------------- */

    .japanOne {
        padding: 30px 20px;
        gap: 25px;
    }

    .japLogo img {
        width: 150px;
        max-width: 100%;
    }

    .japTwo {
        text-align: left;
    }

    .japTwo form {
        flex-direction: column;
        gap: 10px;
    }

    .japTwo input,
    .japTwo button {
        width: 100%;
    }

    .japThree {
        width: 100%;
    }

    .japThree img {
        width: 100%;
        height: auto;
    }

    /* ---------------- MISSION ---------------- */

    .oneSec {
        padding: 30px 20px;
    }

    .oneOfone h2 {
        text-align: left;
        font-size: 22px;
    }

    .oneOfTwo {
        flex-direction: column;
    }

    .oneOftres {
        margin: 25px 0;
    }

    /* ---------------- HISTORY ---------------- */

    .twoSec {
        flex-direction: column;
        padding: 30px 20px;
    }

    .twoTwos p {
        font-size: 14px;
        line-height: 1.7;
    }

    .twoTrees {
        flex-direction: column;
    }

    .twoPics {
        width: 100%;
    }

    .twoPics img {
        width: 100%;
        height: auto;
    }

    /* ---------------- WHO WE ARE ---------------- */

    .treeSec {
        padding: 30px 20px;
    }

    .treeSec h2 {
        font-size: 24px;
    }

    .sec3 {
        margin: 0;
        padding: 15px;
    }

    .sec3 img {
        width: 100%;
        max-width: 260px;
    }

    .sec4 {
        padding: 10px 0;
    }

    .sec4 h3 {
        font-size: 18px;
    }

    /* ---------------- PARTNERS ---------------- */

    .fourSec {
        padding: 30px 20px;
        gap: 30px;
    }

    .fourSec h2 {
        font-size: 22px;
    }

    .fourSec p {
        line-height: 1.7;
    }

    .fourSec img {
        width: 100%;
        height: auto;
    }

    /* ---------------- NEWSLETTER ---------------- */

    .footerOne {
        padding: 25px 20px;
    }

    .footerOne h3 {
        text-align: center;
    }

    .footerOne form {
        flex-direction: column;
        gap: 10px;
    }

    .footerOne input,
    .footerOne button {
        width: 100%;
    }

    /* ---------------- LOWER FOOTER ---------------- */

    .bottom {
        padding: 25px 20px;
    }

    .bottomOne {
        flex-direction: column;
        align-items: flex-start;
    }

    .bottomOne p {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .bottomOne ul {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        text-align: left;
        gap: 8px;
    }

    .bottomUp {
        flex-direction: column;
        gap: 20px;
    }

    #oneFirst,
    #twoFirst,
    #threeFirst,
    #fourFirst {
        width: 100%;
        align-items: flex-start;
    }

    #fourFirst {
        flex-direction: column;
    }
}