@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600&display=swap');
body {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
}
/* body background */
.color__grey {
    background-color: #f5f5f5;
}

.step__text {
    margin-right: 2rem;
    color: white;
    font-size: 1.4rem;
    background-color: #1266f1;
    box-shadow: 1px 1px 3px 1px rgb(168, 168, 168);
    padding: .5rem .75rem;
    border-radius: 3.5rem;
}
/* search bar */
.text_input {
    margin: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.search__form {
    width: 45rem;
    margin: 2rem 1.5rem;
}
.search__bar {
    width: 420px;
    height: 150px;
    padding: .5rem;
    transition: all .3s;
    border: 3px solid rgb(187, 187, 187);
    border-radius: 10px;
}
input[type="radio"] {
    display: none;
}
input[type="radio"]:checked + label {
    outline: 4px solid #1266f1;
}

.search__btn {
    padding: 8px 24px;
}

.submit.disabled {
    pointer-events: none;
    background-color: rgb(148, 147, 147);

}
.search__form .search__bar:focus {
    box-shadow: 1px 1px 3px 1px #1266f1;
    border-radius: 10px;
}

.h3 {
    font-size: 2rem;
}

.characs {
    margin: 2rem 1.5rem;
}
.characs_fr {
    width: 120px;
    height: 150px;
    object-fit: cover;
}
.characs_fr > img {
    width: 100%;
    height: 100%;
} 

.back_fr {
    width: 180px;
    height: 150px;
    object-fit: cover;
}
.back_fr > img {
    width: 100%;
    height: 100%;
} 
.submit {
    color: white;
    font-size: 1.4rem;
    background-color: #1266f1;
    box-shadow: 1px 1px 3px 1px rgb(168, 168, 168);
    padding: .75rem 2rem;
    border-radius: 3.5rem;
    outline: none;
    transition: all .3s;
}
.submit:hover {
    transform: scale(1.05);
}
/* card */
.card{
    transition: all .3s;
    cursor: pointer;
}
.card:hover {
    transform: scale(1.05);
}
.card.card__notHover {
    transform: scale(1);
}
.card-title {
    font-size: 1.3rem;
}
/* top card */
.card__grback {
    background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 75%, #1266f1 75%, #1266f1 100%);
    background-position: center;
    background-size: contain;
    margin-top: 2rem;
}
.card__left {
    width: 75%;
}
.card__url {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.card__url__icon {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.4rem;
}
.card__intro {
    font-size: .9rem;
    line-height: 1.5rem;
}
.intro_text {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 4rem;
}
.intro_text:nth-of-type(2) {
    padding-left: 3rem;
}
.intro_text:nth-of-type(3) {
    padding-left: 2rem;
}
.intro_text:nth-of-type(4) {
    padding-left: 1rem;
}
.intro_num {
    display: inline-block;
    background-color: lightblue;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    position: relative;
    z-index: 2;
}
.intro_num::after{
    content: " ";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 22px;
    border-left: 2px solid gray;
    transform: rotate(25deg);
    z-index: 1;
}
.intro_num_last::after {
    display: none;
}
.download {
    margin-top: 1.5rem;
    transition: all .3s;
}
.download:hover {
    background-color: #1266f1;
    color: white;
}
/* rank card */
.card__rank__title {
    font-weight: 500;
}
.card__rank__title i {
    display: inline-block;
    margin-right: .5rem;
    font-size: 1.2rem;
}
.rank__mark {
    font-size: 1.4rem;
    line-height: 1.4rem;
}
.rank_num {
    font-size: 2rem;
}
/* chart */
.chart {
    width: 600px;
    height:400px;
    margin:1.5rem auto;
}
.animate_fade{
    opacity: 0;
    transform: translateY(-30%);
    transition: all 1.2s;
  }
.fade_up{
    transform: translateY(0%);
    opacity: 1;
}
.intro__last {
    width: 8rem;
    height: auto;
    text-align: center;
    line-height: 1.5rem;
}
.youtube__icon {
    display: block;
    font-size: 2rem;;
}
.animate_in {
    opacity: 0;
    transform: translateX(-30%);
    transition: all 1s;
}
.animate_in:nth-of-type(2) {
    transition-delay: 1s;
}
.animate_in:nth-of-type(3) {
    transition-delay: 2s;
}
.fade_in{
    transform: translateX(0%);
    opacity: 1;
}
