@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

* {
    box-sizing: border-box;
}

html {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    background-color: #131313;
    margin: 0;
    padding: 0;
}

.lang-switcher {
    position: fixed;
    width: 100%;
    text-align: center;
    top: 20px;
    left: 0;
    z-index: 999;
}

.lang-switcher a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: color 500ms;
}

.lang-switcher a:hover {
    color: #ec812c;
}

.lang-switcher a.flagselect {
    color: #ec812c;
    font-weight: bold;
}

.lang-switcher a + a {
    margin-left: 15px;
}

.fr-flag:after {
    content: "";
    height: 24px;
    width: 30px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    background-image: url("/images/fr-flag.png");
    margin-left: 5px;
}

.en-flag:after {
    content: "";
    height: 24px;
    width: 30px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    background-image: url("/images/en-flag.png");
    margin-left: 5px;
}

.jp-flag:after {
    content: "";
    height: 24px;
    width: 30px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    background-image: url("/images/jp-flag.png");
    margin-left: 5px;
}

.section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.hero {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    flex-direction: column;
}

.hero img {
    width: 95%;
    height: auto;
    max-width: 350px;
    display: inline-block;
    position: relative;
    left: 10px;
}

.hero h1 {
    margin: 10px 0;
    font-size: 55px;
    color: #ec812c;
    font-weight: 600;
}

.hero h1 span + span {
    color: #fff;
}

.hero h2 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.particlesjs-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#section-switch {
    position: fixed;
    z-index: 999;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
}

#section-switch a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ec812c; */
    color: #ec812c;
    border-radius: 50px;
    font-size: 30px;
    width: 80px;
    height: 80px;
    transition: background-color 500ms, color 500ms;
    text-decoration: none;
}

#section-switch a:hover {
    background-color: #ec812c;
    color: #ffffff;
}

#section-switch a + a {
    margin-left: 20px;
}

#about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

#about-section span {
    color: #ec812c;
}

#about-section > div {
    padding-bottom: 15vh;
    margin: 0 5px;
}

#about-section > div > .about-content {
    padding: 10px;
    border: 5px solid #ec812c;
    box-shadow: 5px 5px #333;
    background-color: #131313;
}

#about-section > div > .about-content h3 {
    font-size: 26px;
    margin: 0px 0px 20px 0px;
}

#about-section > div > .about-content p {
    margin-bottom: 0;
}

#about-section img {
    display: inline-block;
    max-width: 200px;
    border-radius: 300px;
    overflow: hidden;
    margin: 30px 0;
}

#about-section ul {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px 0 0 0;
    padding: 0;
}

#about-section ul li {
    display: inline-block;
}

#about-section ul li:first-child a {
    font-size: 26px;
}

#about-section ul li a {
    display: inline-block;
    color: #ffffff;
    font-size: 40px;
    margin: 0 10px;
    transition: color 500ms;
    text-decoration: none;
}

#about-section ul li.separator {
    margin: 0 10px;
}

#about-section ul li.separator:before {
    content: '';
    width: 1px;
    height: 30px;
    background-color: #ec812c;
    display: block;
}

#about-section ul li a:hover {
    color: #ec812c;
}

#contact-section {
    color: #ffffff;
    padding: 10px;
}

#contact-section h3 {
    font-size: 26px;
}

#contact-section form input, #contact-section form textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 2px solid #ec812c;
}

#contact-section form textarea {
    resize: none;
}

#contact-section form input[type="submit"] {
    background-color: #ec812c;
    color: #ffffff;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#contact-section form label {
    display: inline-block;
    margin-bottom: 2px;
}

footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #ec812c;
}

@media (min-width: 576px) {
    .hero img {
        max-width: 500px;
    }

    .hero h1 {
        font-size: 75px;
    }

    .hero h2 {
        font-size: 28px;
    }

    #about-section {
        text-align: left;
    }

    #about-section > div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0;
        max-width: 1000px;
        padding-bottom: 0;
    }

    #about-section > div > .about-content {
        box-shadow: 10px 10px #333;
        padding: 20px;
        order: 1;
    }

    #about-section > div > .about-pic {
        margin: 0 0 0 50px;
        order: 2;
    }

    #about-section > div > .about-pic img {
        max-width: 300px;
    }

    #about-section > div > div h3 {
        font-size: 30px;
    }

    #contact-section {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 1000px;
        margin: 0 auto;
    }

    #contact-section > div {
        width: 40%;
    }

    #contact-section div + div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60%;
    }

    #contact-section div + div:before {
        content: "";
        height: 200px;
        width: 1px;
        background-color: #ec812c;
        margin: 0 40px;
    }

    div.form-message i {
        display: inline-block;
    }
    
    div.form-message p span {
        display: inline-block;
        margin-left: 10px;
        margin-top: 0px;
        font-size: 16px;
    }

    footer {
        font-size: 16px;
    }
}

.privacy-page {
    padding: 10px;
}

.privacy-page * {
    color: #fff;
}

.privacy-page h1 {
    color: #ec812c;
}

.privacy-page .privacy-contact-info {
    margin: 30px 0 0 0;
}

.privacy-page .privacy-contact-info p span {
    color: #ec812c;
}

.privacy-intro {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    border: 2px solid #fff;
    border-bottom-color: #ec812c;
    border-right-color: #ec812c;
    text-align: center;
}

.privacy-intro h2:nth-of-type(2n) {
    color: #ec812c;
}

.privacy-home-link {
    color: #ec812c;
    font-size: 18px;
    padding: 20px;
    display: inline-block;
}

.privacy-home-link i {
    color: #fff;
    margin-right: 5px;
}

.botrap-field-container {
    display: none;
}

.form-message {
    position: fixed;
    width: 100%;
    opacity: 0;
    left: 0;
    top: -500px;
    transition: opacity 1s, top 1s;
    text-align: center;
    padding: 0px 10px;
}

.form-message p {
    margin: 0;
    padding: 15px 25px 15px 20px;
    border-radius: 50px;
    border: 2px solid;
    background-color: #f6f8f9;
    display: inline-block;
}

.form-message i {
    font-size: 20px;
    display: block;
}

.form-message p span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.form-message.visible {
    animation-duration: 9s;
    animation-name: slidein;
}

.form-success p {
    border-color: #28a745;
}

.form-success i {
    color: #28a745;
}

.form-failure p {
    border-color: tomato;
}

.form-failure i {
    color: tomato;
}

@keyframes slidein {
    from {
        top: -500px;
        opacity: 0;
    }

    10% {
        top: 70px;
        opacity: 1;
    }

    13% {
        opacity: 0;
    }

    16% {
        opacity: 1;
    }

    19% {
        opacity: 0;
    }

    22% {
        opacity: 1;
    }

    90% {
        top: 70px;
        opacity: 1;
    }
  
    to {
        top: -500px;
        opacity: 0;
    }
}