@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";h1,h2,h3,h4,h5,h6,p{margin-top:0}p:last-child{margin-bottom:0}ul{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%;height:auto}body{font-family:Montserrat,sans-serif;background-color:#fafafa;position:relative;margin:0 auto;display:block;max-width:375px}@media screen and (min-width: 768px){body{max-width:768px}}@media screen and (min-width: 1360px){body{max-width:1440px}}.black-background{width:375px;height:780px;background-color:#0d171d;border-bottom-left-radius:70px;border-bottom-right-radius:70px;position:absolute;z-index:-1}@media screen and (min-width: 768px){.black-background{width:768px;height:768px}}@media screen and (min-width: 1360px){.black-background{width:1440px;height:803px}}.black-background-main{width:375px;height:785px;background-color:#0d171d;border-bottom-left-radius:70px;border-bottom-right-radius:70px;position:absolute;z-index:-1}@media screen and (min-width: 768px){.black-background-main{width:768px;height:960px}}@media screen and (min-width: 1360px){.black-background-main{width:1440px;height:923px}}section,header,footer{outline:solid green}input{color:none}.container{padding-right:10px;padding-left:10px;margin:0 auto;max-width:335px;width:100%;outline:solid red;overflow-x:hidden}@media screen and (min-width: 768px){.container{overflow:inherit;max-width:704px}}@media screen and (min-width: 1360px){.container{max-width:1184px}}.header{padding-top:30px;padding-bottom:30px;outline:1px solid green}.header__div{display:flex;justify-content:space-between;align-items:center}@media screen and (min-width: 1360px){.header__div{display:flex}}.header__logo{width:120px;height:45px}@media screen and (min-width: 768px){.header__logo{width:193px;height:73px}}@media screen and (min-width: 1360px){.header__logo{width:193px;height:73px}}.header__input-div{width:103px;height:36px;border:1px solid #7b7b7b;border-radius:30px;display:flex;gap:1px;padding-left:10px;align-items:center}@media screen and (min-width: 768px){.header__input-div{width:124px;height:42px;padding-left:17px}}@media screen and (min-width: 1360px){.header__input-div{width:124px;height:42px}}.header__button{width:30px;height:18px;display:inherit;background-color:transparent;border:none}.header__input-img{width:18px;height:18px}.header__input{background-color:transparent;display:block;width:50px;height:16px;border:none;font-size:12px;line-height:16px;color:#fafafa;font-weight:600}@media screen and (min-width: 768px){.header__input{display:block;width:54px;height:18px;border:none;font-size:14px;line-height:18px}}.header__input::placeholder{color:#fafafa}.hero{padding-top:40px;padding-bottom:0}@media screen and (min-width: 768px){.hero{padding-top:80px;padding-bottom:60px}}@media screen and (min-width: 1360px){.hero{padding-top:60px;padding-bottom:25px}}.hero__container{display:flex;flex-direction:column;gap:30px}@media screen and (min-width: 768px){.hero__container{gap:20px;flex-direction:row}}@media screen and (min-width: 1360px){.hero__container{gap:100px;flex-direction:row}}.hero__text-div{padding-top:0}@media screen and (min-width: 768px){.hero__text-div{padding-top:60px}}@media screen and (min-width: 1360px){.hero__text-div{padding-top:80px}}.hero__title{color:#fafafa;font-weight:600;font-size:40px;line-height:44px;margin-bottom:16px}@media screen and (min-width: 768px){.hero__title{font-size:60px;line-height:60px;margin-bottom:15px}}@media screen and (min-width: 1360px){.hero__title{font-size:100px;line-height:100px;margin-bottom:15px}}.hero__text{font-weight:400px;font-size:14px;line-height:18px;margin-bottom:25px;width:317px;color:#fafafa}@media screen and (min-width: 768px){.hero__text{font-size:16px;line-height:18px;width:310px;margin-bottom:25px}}@media screen and (min-width: 1360px){.hero__text{font-size:16px;line-height:20px;width:482px;margin-bottom:27px}}.hero__button{background-color:transparent;color:#fafafa;width:111px;height:36px;font-weight:500;border-radius:40px;border:1px solid #7b7b7b;font-size:12px;line-height:16px;display:flex;justify-content:center;align-items:center;cursor:pointer}@media screen and (min-width: 768px){.hero__button{width:131px;height:42px;font-size:14px;line-height:18px}}.hero__image-div{width:315px;height:315px;border-radius:30px;background-color:#a1d737;display:flex;justify-content:center;align-items:end}@media screen and (min-width: 768px){.hero__image-div{width:346px;height:346px;border-radius:40px}}@media screen and (min-width: 1360px){.hero__image-div{width:504px;height:504px;border-radius:50px}}.tags{background-position-x:center;background-repeat:no-repeat;background-size:auto 115px;height:160px;background-image:url(/rick-and-morty-vanilla-js/assets/tags-eaea12c0.webp);margin:0 auto;background-position-y:25px}@media (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.tags{background-image:url(/rick-and-morty-vanilla-js/assets/tags-2x-03d632fe.webp)}}@media screen and (min-width: 768px){.tags{background-size:auto 173px;background-position-y:80px;height:310px}}@media screen and (min-width: 1360px){.tags{background-size:1440px 173px;height:250px;background-position-y:20px}}.filter{padding-top:20px;padding-bottom:90px}@media screen and (min-width: 768px){.filter{padding-top:20px;padding-bottom:120px}}@media screen and (min-width: 1360px){.filter{padding-top:20px;padding-bottom:120px}}.filter__div{display:flex;align-items:center;flex-wrap:wrap;gap:15px}@media screen and (min-width: 768px){.filter__div{align-items:flex-start;gap:15px;flex-wrap:nowrap}}@media screen and (min-width: 1360px){.filter__div{display:flex;padding-left:50px;align-items:center;gap:20px;flex-wrap:nowrap}}.filter__selects-div{display:flex;flex-wrap:wrap;gap:15px}@media screen and (min-width: 768px){.filter__selects-div{flex-wrap:wrap;gap:15px}}@media screen and (min-width: 1360px){.filter__selects-div{gap:20px;flex-wrap:nowrap}}.filter__select-div1,.filter__select-div2{display:flex;gap:10px}@media screen and (min-width: 768px){.filter__select-div1,.filter__select-div2{gap:15px}}@media screen and (min-width: 1360px){.filter__select-div1,.filter__select-div2{gap:20px}}@media screen and (min-width: 768px){.filter__select-div2{margin-left:-270px}}@media screen and (min-width: 1360px){.filter__select-div2{margin-left:0}}.filter__label{font-size:12px;line-height:14px;margin-bottom:5px}@media screen and (min-width: 768px){.filter__label{font-size:14px;line-height:18px;margin-bottom:5px}}.filter__input-button-div{display:flex;align-items:center;justify-content:space-between;background-color:#daf836;width:315px;height:46px;border:1.5px solid #111111;padding-left:20px;padding-right:15px;border-radius:30px;flex-wrap:wrap}@media screen and (min-width: 768px){.filter__input-button-div{width:254px;height:50px;border:1.5px solid #111111;border-radius:30px;padding-left:20px;padding-right:15px}}@media screen and (min-width: 1360px){.filter__input-button-div{width:269px;height:50px;border:1.5px solid #111111;border-radius:30px;padding-left:20px;padding-right:15px}}.filter__input{font-size:14px;line-height:18px}@media screen and (min-width: 768px){.filter__input{font-size:16px;line-height:18px}}@media screen and (min-width: 1360px){.filter__input{font-size:16px;line-height:18px}}.filter__input{background-color:transparent;border:none;width:150px}@media screen and (min-width: 768px){.filter__input{background-color:transparent;border:none;width:150px}}@media screen and (min-width: 1360px){.filter__input{background-color:transparent;border:none;width:150px}}.filter__search-button{background-color:transparent;border:none}@media screen and (min-width: 768px){.filter__search-button{background-color:transparent;border:none}}@media screen and (min-width: 1360px){.filter__search-button{background-color:transparent;border:none}}.filter__select1,.filter__select2,.filter__select3,.filter__select4{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url(data:image/webp;base64,UklGRpQAAABXRUJQVlA4WAoAAAAQAAAAEQAAEQAAQUxQSEQAAAABT0AQQJp7gkPJ5IiIAM4esIltO8phFYCSX6bETjoqDOwoSLAcBRH9T60HBNaMMhF1tn09jqwkiLp/Azj+BMQ7ABbtAVZQOCAqAAAA0AIAnQEqEgASAD6RRJ1KJaOioagIALASCWkAAD2joAD+9zNHxiD1FAAA);background-repeat:no-repeat;background-position:right 1rem center;border:1.5px solid #111111;border-radius:25px;padding-left:20px;background-color:transparent;display:flex;align-items:center;height:50px}@media screen and (min-width: 768px){.filter__select1,.filter__select2,.filter__select3,.filter__select4{background-position:right 1.3rem center}}.filter__select1{width:153px;height:46px}@media screen and (min-width: 768px){.filter__select1{width:178px}}@media screen and (min-width: 1360px){.filter__select1{width:165px}}.filter__select2{width:153px;height:46px}@media screen and (min-width: 768px){.filter__select2{width:225px}}@media screen and (min-width: 1360px){.filter__select2{width:204px}}.filter__select3{width:153px;height:46px}@media screen and (min-width: 768px){.filter__select3{width:175px}}@media screen and (min-width: 1360px){.filter__select3{width:175px}}.filter__select4{width:153px;height:46px}@media screen and (min-width: 768px){.filter__select4{width:167px}}@media screen and (min-width: 1360px){.filter__select4{width:167px}}.filter__load-more{display:flex;justify-content:center;align-items:center;background-color:#a1d737;cursor:pointer;color:#0d171d;width:107px;height:36px;margin:30px auto 0;display:block;border:none;border-radius:25px;font-size:12px;line-height:16px;font-weight:600}@media screen and (min-width: 768px){.filter__load-more{width:126px;height:42px;margin-top:60px;font-size:14px;line-height:18px}}@media screen and (min-width: 1360px){.filter__load-more{margin-top:70px}}.filter__list{display:flex;flex-wrap:nowrap;flex-direction:column;gap:20px;margin-top:50px}@media screen and (min-width: 768px){.filter__list{gap:25px;flex-wrap:wrap;flex-direction:row;row-gap:60px;margin-top:60px}}@media screen and (min-width: 1360px){.filter__list{gap:20px;margin-top:60px;row-gap:60px}}.character{position:relative;width:315px;height:417px}@media screen and (min-width: 768px){.character{width:328px;height:418px}}@media screen and (min-width: 1360px){.character{width:276px;height:396px}}.character__image{width:315px;height:315px;border:2px solid #A1D737;border-radius:10px}@media screen and (min-width: 768px){.character__image{width:332px;height:332px}}@media screen and (min-width: 1360px){.character__image{width:276px;height:312px}}.character__name{margin-top:12px;font-size:16px;line-height:18px;margin-bottom:12px;font-weight:600;color:#111}.character__text1,.character__text2{color:#11111180;font-size:14px;line-height:18px;font-weight:400}.character__text1{margin-bottom:5px}.character__origin,.character__location{color:#111;font-weight:400;font-size:14px;line-height:18px}.character__button{position:absolute;background-color:transparent;top:0;left:0;right:0;bottom:0;border:none}.footer{padding-top:60px;padding-bottom:15px;background-color:#0d171d}@media screen and (min-width: 768px){.footer{padding-top:20px}}@media screen and (min-width: 1360px){.footer{padding-top:70px;padding-bottom:15px}}.footer__div{display:flex;gap:30px;align-items:center}@media screen and (min-width: 768px){.footer__div{gap:100px}}@media screen and (min-width: 1360px){.footer__div{gap:326px}}.footer__picture-div{position:relative;width:149px;height:106px;padding-top:3px}@media screen and (min-width: 768px){.footer__picture-div{width:225px;height:132px;padding-top:29px}}.footer__image{width:71px;height:60px;position:absolute;top:0}@media screen and (min-width: 768px){.footer__image{width:99px;height:84px}}@media screen and (min-width: 1360px){.footer__image{width:99px;height:84px}}.footer__image-text{width:149px;height:107px}@media screen and (min-width: 768px){.footer__image-text{width:225px;height:107px}}@media screen and (min-width: 1360px){.footer__image-text{width:225px;height:107px}}.footer__flex-div{display:flex;flex-direction:column;gap:20px}@media screen and (min-width: 768px){.footer__flex-div{gap:80px;flex-direction:row;align-items:center}}@media screen and (min-width: 1360px){.footer__flex-div{gap:310px}}.footer__text{font-size:14px;line-height:18px;color:#fafafa;font-weight:400}@media screen and (min-width: 768px){.footer__text{color:#fafafa;font-size:16px;line-height:18px}}.footer__list{display:flex;gap:12px}@media screen and (min-width: 768px){.footer__list{gap:20px}}@media screen and (min-width: 1360px){.footer__list{gap:25px}}.footer__item{width:40px;height:40px;border:1px solid #7b7b7b;border-radius:10px;display:flex;align-items:center;justify-content:center}@media screen and (min-width: 768px){.footer__item{width:56px;height:56px}}.footer__social{height:18px}@media screen and (min-width: 768px){.footer__social{height:24px}}.footer__article{color:#fafafa;text-align:center;font-size:12px;line-height:14px;margin-top:80px;opacity:40%;font-weight:300}@media screen and (min-width: 768px){.footer__article{font-size:14px;line-height:18px;margin-top:80px}}@media screen and (min-width: 1360px){.footer__article{margin-top:100px}}.backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{width:335px;height:993px;background-color:#0d171d;border-radius:16px;box-shadow:0 4px 15px #0000004d;display:flex;padding:40px 15px 20px;gap:25px;flex-direction:column;position:relative}@media screen and (min-width: 768px){.modal{width:702px;height:510px;padding:20px;gap:15px;flex-direction:row}}@media screen and (min-width: 1360px){.modal{width:710px;height:510px;padding:20px}}.modal__character-div{width:295px;height:469px}@media screen and (min-width: 768px){.modal__character-div{width:278px;height:446px}}@media screen and (min-width: 1360px){.modal__character-div{width:278px;height:446px}}.modal__image{border:2px solid #A1D737;border-radius:15px;width:295px;height:292px;margin-bottom:10px}@media screen and (min-width: 768px){.modal__image{width:278px;height:292px;margin-bottom:10px}}.modal__info{width:295px;height:160px;padding-top:25px;padding-left:34px;padding-bottom:10px;border:2px solid #A1D737;border-radius:15px}@media screen and (min-width: 768px){.modal__info{padding-left:20px;padding-top:25px;width:278px}}.modal__info-list{display:flex;flex-wrap:wrap;column-gap:15px;row-gap:25px}@media screen and (min-width: 768px){.modal__info-list{column-gap:15px;row-gap:25px}}.modal__info-text{margin-bottom:7px;color:#fafafa;opacity:40%;font-size:12px;line-height:14px;font-weight:400}.modal__info-info{color:#fafafa;font-size:14px;line-height:18px;font-weight:400}@media screen and (min-width: 768px){.modal__info-info{font-size:16px}}.modal__title{font-weight:600;font-size:18px;line-height:24px;margin-bottom:20px;color:#fafafa}@media screen and (min-width: 768px){.modal__title{font-size:24px;line-height:28px;margin-bottom:20px}}.modal__episodes-list{display:flex;flex-direction:column;gap:15px;width:295px}@media screen and (min-width: 768px){.modal__episodes-list{width:352px;gap:10px}}.modal__episodes-item{width:295px;height:64px;border:2px solid #A1D737;border-radius:20px;padding-left:10px;padding-top:10px}@media screen and (min-width: 768px){.modal__episodes-item{padding-left:12px;padding-top:12px;width:352px;height:68px}}.modal__close{position:absolute;right:10px;top:10px;background-color:transparent;border:none;width:20px;height:20px}.hidden{display:none}
