body {
    margin: 0px;
    font-family: 'Amiko', sans-serif;
}

h1 {
    margin-block: 0.3em;
}

p {
    margin-block: 5px;
}

/* fonts */

html {
    font-size: 16px;
}

.title {
    font-size: 3.5rem;
    line-height: 5rem;
}

.title-small {
    font-size: 3rem;
    line-height: 3.6rem;
}

.body-large {
    font-size: 2.025rem;
    line-height: 2.7rem;
}

.body-medium {
    font-size: 1.5rem;
}

.body-bold {
    font-size: 1.35rem;
    line-height: 1.8rem;
    font-weight: bold;
}

.button {
    font-size: 0.95625rem;
    line-height: 1.125rem;
    color: #5CB460;
}

.label {
    font-size: 0.7875rem;
    line-height: 0.9rem;
}


/* sections */

.full-width-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1800px;
    margin-bottom: 10px;
    margin-bottom: 10px;
    position: relative;
}

.middle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.content-container {
    margin-top: 80px;
    max-width: 700px;
    margin-inline: 20px;
}

.head-container {
    padding-top: 80px;
    margin-inline: 20px;
    height: 1250px;
}

.section {
    height: 958px;
}

.gray-color {
    background-color: #F5F5F7;
}

.two-tile-container {
    height: 758px;
    display: flex;
    background-color: white;
    justify-content: space-evenly;
    padding-block: 10px;
}

.half-width-tile {
    height: 100%;
    width: calc(50% - 30px);
}

footer {
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-content {
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    color: #424245;
}

.footer-content a {
    color: #424245;
}

.font-info {
    color: #424245
}

.benefit-container {
    margin: 0 auto;
    margin-top: 68px;
    display: flex;
    background-color: white;
    justify-content: center;
    gap: 10px;
    color: white;
}

/* others */

.logo {
    width: 150px;
    margin-bottom: 30px;
}

.container-img {
    position: absolute;
    bottom: 10px;
    height: 590px;
    left: 50%;
    transform: translateX(-50%);
}

.clipped-img {
    height: 480px;
}

.which-platform {
    margin-top: 156px;
}

.which-platform-button-container {
    margin-top: 90px;
    display: flex;
    width: 65%;
    justify-content: space-evenly;
    gap: 10px;
}

.rounded-tile-button {
    background-color: #F5F5F7;
    border-radius: 18px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 380px;
    height: 260px;
}

.rounded-tile-button:hover {
    background-color: #ececec;
    cursor: pointer;
}

.rounded-tile-button i {
    font-size: 80px;
    margin-top: 30px;
}


.download-logo {
    height: 150px;
}

.legal-info a {
    margin-right: 10px;
}

.benefit-tile {
    flex: 1;
    padding: 15px;
    text-align: left;
    color: black;
    max-width: 500px;
}

.benefit-tile p {
    font-weight: 900;
}

.benefit-tile i {
    font-size: 20px;
}

.benefit-tile span {
    color: #a7a7a7;
}

/* android form animation */

.hidden {
    display: none;
}

.form-group {
    display: flex;
    height: 60px;
    gap: 20px;
    margin-block: 40px;
}

#email-form-container {
    max-width: 800px;
    padding: 50px;
    margin-top: 120px;
    text-align: left;
}

.email-text-field {
    height: 100%;
    padding-inline-start: 10px;
    border-radius: 15px;
    border: 1px solid #5CB460;
    flex-grow: 1;
}

.send-mail-button {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9cb39d;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    padding: 10px 20px;
    border-radius: 20px;
}

.send-mail-button.active-button {
    background-color: #5CB460;
}

.confirmation-text {
    font-size: 2.5em;
    font-weight: bold;
    opacity: 0;
    transition: all 0.5s ease;
}

.confirmation-text.visible {
    font-size: 2.5em;
    opacity: 1;
    animation: bounce 0.5s ease;
}

.mobile {
    display: none;
}

.desktop {
    display: flex;
}

.label-checkbox-container {
    margin-top: 20px;
    display: flex;
    align-items: start;
}

.label-checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

#earth-img {
    height: 370px;
    bottom: 180px;
}

.close-button {
    background-color: transparent;
    border: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.close-button:hover {
    background-color: #dddddd;
}


@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceOut {

    0%,
    20% {
        transform: scale(1.02);
    }

    50%,
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.bounce-out {
    animation: bounceOut 0.9s forwards;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    25%,
    50% {
        transform: scale(1.1);
    }

    75% {
        transform: scale(0.9);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

#your-help-counts {
    margin-block: 80px;
}

.shake {
    animation: shake 0.5s ease-in-out;
}


@media (max-width: 995px) {
    html {
        font-size: 14px;
    }

    .which-platform-button-container {
        width: 100%;
        margin-top: 29px;
    }

    .mobile {
        display: flex;
        height: 600px;
    }

    .desktop {
        display: none;
    }

    .container-img {
        height: 550px;
    }

    .clipped-img {
        height: 450px;
    }

    #earth-img {
        height: 370px;
        bottom: 130px;
    }

}

@media (max-width: 550px) {
    .logo {
        width: 120px;
        margin-bottom: 30px;
    }

    html {
        font-size: 12px;
    }

    .form-group {
        height: 40px;
        margin-top: 35px;
        margin-bottom: 15px;
    }

    .which-platform-button-container {
        width: 100%;
        margin-inline: 10px;
        margin-top: 29px;
    }

    .head-container {
        height: 1050px;
    }

    .content-container {
        margin-top: 30px;
        margin-inline: 5%;
    }

    .section {
        height: 703px;
    }

    .rounded-tile-button {
        height: 200px;
    }

    .benefit-container {
        margin-top: 20px;
        margin-inline: 5px;
        flex-direction: column;
        gap: 30px;
    }

    .two-tile-container .half-width-tile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .container-img {
        height: 390px;
    }

    .clipped-img {
        height: 380px;
    }

    #earth-img {
        height: 28px;
        bottom: 70px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
    }

    .which-platform {
        margin-top: 110px;
    }

    #email-form-container {
        margin-top: 140px;
        padding: 0px;
    }
}