@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__box{display:flex;justify-content:space-between;align-items:center}@media screen and (min-width: 1360px){.header__box{display:flex}}.header__characters-btn{height:42px;font-size:12px;line-height:18px;border:1px black;color:#000;word-wrap:break-word;padding:8px 15px;font-family:Montserrat;background-color:#a1d737;border-radius:30px}@media screen and (min-width: 768px){.header__characters-btn{font-size:14px;font-weight:600;padding:8px 15px}}@media screen and (min-width: 1360px){.header__characters-btn{text-shadow:0px 4px 4px rgba(0,0,0,.25)}}.header__episodes-btn{height:42px;border:1px solid #7b7b7b;background-color:transparent;color:#fafafa;font-size:12px;line-height:18px;word-wrap:break-word;padding:10px 15px;border-radius:30px}@media screen and (min-width: 768px){.header__episodes-btn{padding:10px 20px;font-size:14px;font-weight:600}}.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{color:#fafafa;padding-bottom:0;padding-top:10px}@media screen and (min-width: 768px){.hero{padding-bottom:0;padding-top:0}}@media screen and (min-width: 1360px){.hero{padding-bottom:0;padding-top:10px}}.hero__box{display:flex}@media screen and (min-width: 768px){.hero__box{justify-content:center;align-items:center}}@media screen and (min-width: 1360px){.hero__box{justify-content:space-between;align-items:center}}.hero__content{display:flex;flex-direction:column-reverse}@media screen and (min-width: 768px){.hero__content{justify-content:center;align-items:center}}@media screen and (min-width: 1360px){.hero__content{flex-direction:row}}.hero__box-text{width:291px;margin-top:10px;text-align:center}@media screen and (min-width: 768px){.hero__box-text{width:420px;margin-top:16px}}@media screen and (min-width: 1360px){.hero__box-text{width:311px}}.hero__text{font-family:Montserrat;font-size:16px;font-style:normal;font-weight:400;line-height:18px}.hero__image-box{margin-top:54px}.hero__button-tobottom{background:none;border:none;display:block;margin-bottom:auto;align-self:center;width:60px;height:60px;margin-left:auto;margin-top:10px}@media screen and (min-width: 768px){.hero__button-tobottom{margin-bottom:0;margin-top:auto;align-self:flex-end;width:72px;height:72px}}@media screen and (min-width: 1360px){.hero__button-tobottom{margin-left:auto;width:80px;height:80px}}.tags{background-position-x:center;background-repeat:no-repeat;background-size:auto 115px;height:200px;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:-10px;height:320px}}@media screen and (min-width: 1360px){.tags{background-size:1440px 173px;height:250px;background-position-y:20px}}.main-characters{padding:20px;font-family:Arial,sans-serif}.main-characters h2{font-size:28px;font-family:Montserrat;font-weight:600;line-height:32px;word-wrap:break-word}@media screen and (min-width: 768px){.main-characters h2{font-size:44px;line-height:44px}}.main-characters h2 span{background:black;color:#fff;padding:5px 17px;border-radius:44px;font-weight:700;font-size:28px;font-family:Montserrat;font-weight:600;line-height:32px}@media screen and (min-width: 768px){.main-characters h2 span{font-size:44px;line-height:44px;padding-left:17px;padding-top:4px;padding-bottom:8px}}.main-characters__container{display:flex;gap:20px;flex-direction:column}@media screen and (min-width: 768px) and (max-width: 1359px){.main-characters__container{flex-direction:column}}@media screen and (min-width: 1360px){.main-characters__container{flex-direction:row}}.main-characters__title{padding-left:10px}@media screen and (min-width: 768px) and (max-width: 1359px){.main-characters__title{padding-left:30px}}@media screen and (min-width: 1360px){.main-characters__title{padding-left:90px}}.main-characters__image{flex:1;background:#b8f02f;border-radius:25px;display:flex;justify-content:center;align-items:center;padding:16px 10px 11px}@media screen and (min-width: 768px) and (max-width: 1359px){.main-characters__image{padding:39px 155px 38px 154px;border-radius:100px}}@media screen and (min-width: 1360px){.main-characters__image{padding:32px 69px 33px 70px;border-radius:100px}}.main-characters__image img{max-width:100%;height:auto}.main-characters__list{flex:2;display:flex;flex-direction:column;gap:24px}@media screen and (min-width: 768px){.main-characters__list{gap:32px}}.main-characters__character{border-bottom:1px solid #ccc;padding-bottom:14px;cursor:pointer}@media screen and (min-width: 768px){.main-characters__character{padding-bottom:16px}}.main-characters__name{font-size:18px;color:#111;font-family:Montserrat;font-weight:600;line-height:28px;word-wrap:break-word}@media screen and (min-width: 768px){.main-characters__name{font-size:24px}}.main-characters__text{font-size:14px;margin-top:16px;color:#111;font-family:Montserrat;font-weight:400;line-height:18px;word-wrap:break-word}@media screen and (min-width: 768px){.main-characters__text{font-size:16px}}.main-characters__name:hover{color:#7ac943;border:1px rgb(0,0,0)}.footer{padding-top:60px;padding-bottom:15px}@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:#111;font-weight:400}@media screen and (min-width: 768px){.footer__text{color:#111;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:#111;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}}
