@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}
body {
    background: #F5F5F5;
    font-style: normal;
    text-align: center;
}

.main {
    display: flex;
    margin: auto;
    overflow: auto;
    height: 100vh;
}

.main-container {
    margin: 100px auto auto;
    width: 945px;
}

.title {
    font-weight: 900;
    font-size: 38px;
    line-height: 42px;
    color: #4F4F4F;
    padding-bottom: 40px;
}

.text {
    font-weight: 500;
    font-size: 35px;
    line-height: 40px;
    color: #828282;
    margin: auto;
    padding-bottom: 40px;
}

.action-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-button {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    margin: 20px 0;
    background: #39CCE0;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
}

.action-input {
    width: 325px;
    max-width: 90%;
    padding: 16px;
    background: #FFFFFF;

    border: 1px solid #BDBDBD;
    border-radius: 6px;
}

.action-input:focus, .action-input:focus-visible {
    outline: none;
    box-shadow: 0px 0px 0px 3px rgba(57, 204, 224, 0.2);
}

.result {
    display: none;
    background: rgba(248, 193, 12, 0.2);
    border: 1px solid #F8C10C;
    margin-bottom: 30px;
}
.result span {
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    padding: 25px 30px;
}
.show-result .result {
    display: flex;
}

@media (max-width: 992px) {
    .main-container {
        margin: 10% auto auto;
        width: 75%;
    }

    .title {
        font-size: 28px;
        line-height: 33px;
        padding-bottom: 30px;
    }

    .text {
        font-size: 25px;
        line-height: 30px;
        padding-bottom: 20px;
    }

    .result {
        margin-bottom: 25px;
    }
    .result span {
        font-size: 22px;
        line-height: 26px;
        padding: 20px 25px;
    }
}

@media (max-width: 768px) {
    .main-container {
        width: 90%;
    }

    .title {
        font-size: 20px;
        line-height: 24px;
        padding-bottom: 20px;
    }

    .text {
        font-size: 18px;
        line-height: 22px;
        padding-bottom: 20px;
    }

    .result {
        margin-bottom: 20px;
    }
    .result span {
        font-size: 18px;
        line-height: 24px;
        padding: 12px 20px;
    }
}

@media screen and (min-width: 768px) and (max-height: 600px) {
    .main-container {
        margin: 20px auto auto;
    }
    .title {
        padding-bottom: 20px;
    }

    .text {
        padding-bottom: 20px;
    }
}
