@charset "utf-8";
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

header {
    background-color: #1a4e5ab1;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin: 0px;
    line-height: 1.5;
    font-size: clamp(1.8rem, calc(1.6rem + 0.9vw), 2.8rem);
}

body {
    margin: 0px;
    padding: 0px;
    line-height: 1.6;
}

footer {
    text-align: center;
    background-color: #1a4e5ab1;
    color: #fff;
    width: 100%;
    padding: 10px 0;
    margin-top: auto;
    font-size: clamp(1.4rem, calc(1.2rem + 0.7vw), 2rem);
    line-height: 1.5;
}

footer a {
    color: #fff;
}

nav {
    text-align: center;
    background-color: #62919cb1;
    padding: 10px;
    font-size: clamp(1.3rem, calc(1.1rem + 0.7vw), 1.8rem);
    line-height: 1.5;
}

nav a {
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
}

.main {
    text-align: center;
    min-height: 1000px;
    padding: 10px;
    max-width: 1280px;
    margin: 0 auto;
    font-size: clamp(1.4rem, calc(1.2rem + 0.7vw), 2rem);
    background-color: rgba(255, 228, 196, 0.2);
}

.container {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 10px;
}

.image {
    flex: 3;
    width: 100%;
    max-width: 40%;
    height: auto;
    padding: 30px;
    margin: 20px;
}

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

.text {
    flex: 7;
    text-align: left;
    padding: 10px 100px;
    margin: 20px;
}

.item {
    text-align: left;
    margin: 10px;
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgba(240, 255, 255, 0.5);
    min-width: 200px;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 20px;
    }

    .container .item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .container .image {
        flex: 0 0 auto;
        margin-bottom: 20px;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .container .text {
        flex: 1 1 auto;
        padding: 10px 20px;
    }

    .main {
        font-size: clamp(1.6rem, calc(1.4rem + 0.9vw), 2.2rem);
    }

    nav {
        font-size: clamp(1.5rem, calc(1.3rem + 0.8vw), 2rem);
    }

    footer {
        font-size: clamp(1.6rem, calc(1.4rem + 0.9vw), 2.2rem);
    }

    header {
        font-size: clamp(2rem, calc(1.8rem + 1vw), 3rem);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .container .item {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .container .image {
        flex: 0 0 auto;
        margin-bottom: 10px;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container .text {
        flex: 1 1 auto;
    }

    .main {
        font-size: clamp(1.8rem, calc(1.6rem + 1vw), 2.4rem);
    }

    nav {
        font-size: clamp(1.7rem, calc(1.5rem + 0.9vw), 2.2rem);
    }

    footer {
        font-size: clamp(1.8rem, calc(1.6rem + 1vw), 2.4rem);
    }

    header {
        font-size: clamp(2.2rem, calc(2rem + 1.2vw), 3.2rem);
    }
}

#particles-js {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #96abbeaf;
}

.fluid {
    width: 100%;
    aspect-ratio: 1;
    margin: 10px;
    max-width: 300px;
    background: #0b5b94;
    background-size: cover;
    animation: fluidrotate 30s ease 0s infinite;
}

.fluid1 {
    background-image: url("../images/icon.jpg");
}

.fluid2 {
    background-image: url("../images/brain.jpg");
}

.speakerdeck-iframe {
    border: 0px;
    background: padding-box padding-box rgba(0, 0, 0, 0.1);
    margin: 0px;
    padding: 0px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 40px;
    width: 100%;
    height: auto;
    aspect-ratio: 560 / 315;
}

@keyframes fluidrotate {
    0%,
    100% {
        border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
    }
    14% {
        border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
    }
    28% {
        border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
    }
    42% {
        border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
    }
    56% {
        border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
    }
    70% {
        border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
    }
    84% {
        border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
    }
}
