/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}@font-face{font-family:"Inter";src:url(/mesto-react/static/media/Inter-Regular.58b22f90.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Regular.a5e1eeca.woff) format("woff"),url(/mesto-react/static/media/Inter-Regular.c706da9a.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:"Inter";src:url(/mesto-react/static/media/Inter-Medium.35ee0c12.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Medium.85f4b8e9.woff) format("woff"),url(/mesto-react/static/media/Inter-Medium.274e980f.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:"Inter";src:url(/mesto-react/static/media/Inter-Black.d2f835f3.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Black.438d0406.woff) format("woff"),url(/mesto-react/static/media/Inter-Black.c9070b12.ttf) format("truetype");font-weight:900;font-style:normal}.page{width:100%;background-color:#000;color:#fff;margin:0 auto;font-family:"Inter","Arial",sans-serif}.header__logo{width:143px;height:34px}@media screen and (max-width:390px){.header__logo{width:104px;height:25px}}.header{margin:0 auto;padding:45px 0 41px;width:100%;max-width:882px;border-bottom:1px solid #545454;display:flex}@media screen and (max-width:918px){.header{max-width:582px;padding:45px 19px 41px}}@media screen and (max-width:390px){.header{max-width:282px;padding:28px 19px 31px}}.profile__overlay{background-repeat:no-repeat;background-position:50%;position:relative;background-image:url(/mesto-react/static/media/edit_avatar.d476a8b8.svg)}.profile__avatar,.profile__overlay{width:120px;height:120px;border-radius:100%;transition:.3s ease;cursor:pointer}.profile__avatar{object-fit:cover}.profile__avatar:hover{opacity:.3}.profile__info{margin-left:20px;display:grid;grid-template-areas:"name edit" "job edit"}@media screen and (max-width:390px){.profile__info{margin-left:0}}.profile__title{margin:0;padding:0;font-weight:500;font-size:42px;line-height:1.3em;grid-area:name}@media screen and (max-width:365px){.profile__title{font-size:27px;line-height:2.1em}}.profile__subtitle{margin:0;padding:0;font-weight:400;font-size:18px;line-height:1.2em;grid-area:job}@media screen and (max-width:505px){.profile__subtitle{text-align:center}}@media screen and (max-width:390px){.profile__subtitle{font-size:14px}}.profile__button_edit{width:24px;height:24px;background-image:url(/mesto-react/static/media/edit_image.6bfdb354.svg);margin-top:19px;grid-area:edit;margin-left:17px;border:1px solid #fff}@media screen and (max-width:918px){.profile__button_edit{margin-left:10px}}@media screen and (max-width:365px){.profile__button_edit{width:18px;height:18px}}.profile__button_add{margin-left:auto;width:150px;height:50px;border:2px solid #fff;border-radius:2px;background-image:url(/mesto-react/static/media/add_image.b2fce4ac.svg)}@media screen and (max-width:918px){.profile__button_add{margin:20px auto 0;width:500px}}@media screen and (max-width:390px){.profile__button_add{margin-top:36px}}.profile__button{background-color:transparent;background-repeat:no-repeat;background-position:50%;transition:.7s ease}.profile__button:hover{opacity:.6;cursor:pointer}.profile{width:100%;max-width:882px;padding:37px 0 0;box-sizing:border-box;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center}@media screen and (max-width:918px){.profile{max-width:582px;justify-content:center;padding:37px 19px 0}}@media screen and (max-width:475px){.profile__info{flex-direction:column;flex-wrap:nowrap}}.cards__list{padding:0 199px;max-width:882px;margin:0 auto;display:grid;grid-gap:18px;grid-template-columns:repeat(auto-fill,minmax(auto,282px));justify-content:center}@media screen and (max-width:1280px){.cards__list{padding:0 40px}}@media screen and (max-width:1024px){.cards__list{padding:0 19px}}.cards__list-item{display:grid;grid-template-columns:repeat(2,minmax(1fr,282px));grid-template-rows:repeat(2,minmax(1fr,282px));grid-template-areas:"image image" "caption button";max-width:282px;max-height:361px;background-color:#fff;color:#000;border-radius:10px;overflow:hidden;box-sizing:border-box;position:relative;cursor:pointer}.card__image{object-fit:cover;object-position:bottom left;width:282px;height:282px;grid-area:image}.card__caption{margin-left:17px;font-weight:900;font-size:24px;line-height:1.2em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;grid-area:caption}.card__like-container{display:flex;flex-direction:column;margin-left:auto;margin-right:21px;border:none;grid-area:button;align-self:center}.card__button-like_disable{background-image:url(/mesto-react/static/media/like_image.83a46f45.svg)}.card__button-like{background-color:#fff;background-repeat:no-repeat;background-position:50%;width:21px;height:19px;border:none;grid-area:button;align-self:center;transition:.7s ease}.card__button-like:hover{opacity:.6;cursor:pointer}.like__counter{text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:0}.card__button-like_active{background-image:url(/mesto-react/static/media/like_image_active.5bbb05f7.svg)}.card__delete_hidden{visibility:hidden}.card__delete{background-color:transparent;background-image:url(/mesto-react/static/media/Group.d8078343.svg);background-repeat:no-repeat;background-position:50%;width:18px;height:19px;border:none;position:absolute;top:18px;right:15px;transition:.7s ease}.card__delete:hover{opacity:.6;cursor:pointer}.cards{width:100%;margin:0 auto;padding-top:48px}@media screen and (max-width:390px){.cards{padding-top:36px}}.footer__copyright{margin:0;padding:0;font-weight:400;font-size:18px;line-height:1.2em;color:#545454}@media screen and (max-width:390px){.footer__copyright{font-size:14px}}.footer{width:100%;max-width:882px;margin:0 auto;padding:66px 0 60px}@media screen and (max-width:918px){.footer{max-width:582px;padding:66px 19px 60px}}@media screen and (max-width:390px){.footer{max-width:282px;padding:48px 19px 36px}}.popup__form{margin:0 auto;padding:0 36px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-evenly;align-items:flex-start;width:430px;height:330px;border-radius:10px;background:#fff;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;position:relative;cursor:default}@media screen and (max-width:475px){.popup__form{width:240px;height:258px}}.popup__form_type_avatar{height:272px}.popup__form_type_confirm{height:181px}.popup__card-contain{margin:0}.popup__image{max-width:75vw;max-height:75vh}.popup__title{margin:0;padding:0;font-weight:900;font-size:24px;line-height:1.2em}@media screen and (max-width:475px){.popup__title{font-size:18px}}.popup__input,.popup__label{width:100%;max-width:358px}.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-weight:400;font-size:14px;line-height:1.2em;padding-bottom:13px}@media screen and (max-width:475px){.popup__input{font-size:12px}}.popup__input_type_error{border-bottom:1px solid red}.popup__error{display:none}.popup__error_visible{display:flex;margin:0;font-size:12px;line-height:15px;color:red}.popup__button{align-self:center;min-width:358px;min-height:50px;padding:0;font-size:18px;line-height:1.2em;text-align:center;background:#000;border-radius:2px;color:#fff;border:none;transition:.7s ease}.popup__button:hover{opacity:.8;cursor:pointer}@media screen and (max-width:475px){.popup__button{min-width:200px;min-height:40px}}.popup__button_disabled{border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);background-color:#fff}.popup__button-close{border:none;background-color:transparent;background-image:url(/mesto-react/static/media/close__image.5df32a06.svg);background-repeat:no-repeat;background-position:50%;width:41px;height:41px;position:absolute;right:-41px;top:-41px;transition:.7s ease}.popup__button-close:hover{opacity:.6;cursor:pointer}@media screen and (max-width:530px){.popup__button-close{top:-25px;right:-25px;width:25px;height:25px;border-radius:10px}}.popup__container{position:relative}.popup__caption{font-weight:400;font-size:12px;line-height:15px;color:#fff}.popup{visibility:hidden;opacity:0;transition:visibility .3s,opacity .5s ease;display:flex;justify-content:center;align-items:center;margin:0 auto;box-sizing:border-box;width:100vw;height:100vh;position:fixed;top:0;left:0;background-color:rgba(0,0,0,.5)}.popup_opened{visibility:visible;opacity:1}.popup_opened:hover{cursor:pointer}
/*# sourceMappingURL=main.2ffac5d3.chunk.css.map */