/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:initial;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}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:initial}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:initial}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;font-style:normal;font-weight:400;src:url(/mesto-react/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Regular.8c206db99195777c6769.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url(/mesto-react/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:url(/mesto-react/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(/mesto-react/static/media/Inter-Black.c6938660eec019fefd68.woff) format("woff")}.page,.root{background-color:#000}.page{color:#fff;font-family:Inter,Arial,sans-serif;margin:0 auto;max-width:880px;min-width:320px;text-rendering:optimizeLegibility}.header{border-bottom:1px solid #545454;margin-bottom:42px;padding:45px 0 36px}@media screen and (max-width:690px){.header{margin-bottom:43px;padding:28px 0 26px 27px}}.logo{height:33px;width:142px}@media screen and (min-width:320px) and (max-width:690px){.logo{height:24px;width:103px}}.profile{display:flex;margin-bottom:51px}@media screen and (max-width:770px){.profile{align-items:center;flex-direction:column;margin:0 19px 36px}}.profile__content{display:flex}@media screen and (max-width:550px){.profile__content{align-items:center;flex-direction:column}}.profile__avatar-container{display:flex;height:120px;margin-right:30px;position:relative;width:120px}@media screen and (max-width:550px){.profile__avatar-container{margin:0 0 29px}}.profile__avatar-edit{background:rgba(0,0,0,.8) url(/mesto-react/static/media/edit_avatar.a086f758840ae814ecde.svg) no-repeat 50%/26px 26px;border:none;height:120px;opacity:0;padding:0;position:absolute;transition:opacity .2s;width:120px}.profile__avatar-edit:hover{cursor:pointer;opacity:1}.profile__avatar{border-radius:50%;height:120px;object-fit:cover;width:120px}@media screen and (max-width:550px){.profile__avatar{margin:0 auto 29px}}.profile__info{align-self:center;margin-right:245px;max-width:336px}@media screen and (max-width:890px){.profile__info{margin-right:75px}}@media screen and (max-width:770px){.profile__info{margin-right:0}}.profile__name-container{align-items:baseline;display:flex}@media screen and (max-width:550px){.profile__name-container{justify-content:center;padding-left:27px}}.profile__name{font-size:42px;font-weight:500;line-height:1.14;margin:0 18px 9px 0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:550px){.profile__name{font-size:27px;line-height:1.01;margin:0 10px 12px 0;max-width:189px;text-align:center}}.profile__btn_action_edit{background:url(/mesto-react/static/media/edit.8667ac4a523e8fc42e59.svg) #000 no-repeat 50%;border:1px solid #fff;cursor:pointer;height:24px;padding:0;transition:opacity .2s linear;width:24px}.profile__btn_action_edit:hover{opacity:.6}@media screen and (max-width:550px){.profile__btn_action_edit{height:18px;width:18px}}.profile__status{font-size:18px;font-weight:400;line-height:1.01;margin:0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:550px){.profile__status{font-size:14px;max-width:282px;text-align:center}}.profile__btn_action_add{background:url(/mesto-react/static/media/add_btn.d86bb2edc2f6eadb96b7.svg) #000 no-repeat 50%;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;margin-top:33px;transition:opacity .2s linear;width:150px}.profile__btn_action_add:hover{opacity:.6}@media screen and (max-width:770px){.profile__btn_action_add{max-width:100%;width:100%}}@media screen and (max-width:550px){.profile__btn_action_add{background-size:5.6%;margin-top:34px}}.photo-grid{grid-gap:20px 17px;display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,minmax(282px,282px));margin:0 0 66px}@media screen and (max-width:890px){.photo-grid{grid-template-columns:repeat(2,282px);justify-content:center;margin:0 19px 52px}}@media screen and (max-width:620px){.photo-grid{grid-template-columns:282px}}.card{background-color:#fff;border-radius:10px;position:relative}.card,.card__image{max-width:100%;object-fit:cover}.card__image{border-radius:10px 10px 0 0;cursor:pointer;height:282px;width:282px}.card__btn_action_remove{background:url(/mesto-react/static/media/remove_btn.823b0cf1b0b7e9cb7cad.svg) no-repeat 50%;border:none;cursor:pointer;height:19px;position:absolute;right:20px;top:18px;transition:opacity .2s linear;width:18px}.card__btn_action_remove:hover{opacity:.6}.card__description{align-items:center;background-color:#fff;border-radius:10px;color:#000;display:flex;justify-content:space-between;padding:17px 20px 22px}@media screen and (min-width:320px) and (max-width:690px){.card__description{align-items:center;padding:18px 20px 21px}}.card__title{font-size:24px;font-weight:900;line-height:1.2;margin:0;max-width:218px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card__like-container{height:35px;width:22px}.card__btn_action_like{background:url(/mesto-react/static/media/btn_like.7913ddfd147a48616b09.svg) #fff no-repeat 50%/22px 19px;border:none;cursor:pointer;height:19px;margin-bottom:4px;transition:opacity .2s linear;width:22px}.card__btn_action_like:hover{opacity:.5}.card__btn_action_like-active{background:url(/mesto-react/static/media/btn_like_active.e787eeb70bb65b7b453a.svg) #fff no-repeat 50%/22px 19px}.card__like-counter{font-size:13px;font-weight:400;line-height:1.2;margin:0;text-align:center}.footer{margin-bottom:33px}.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:1.01;margin:0}@media screen and (max-width:460px){.footer__copyright{font-size:14px;margin:0 19px}}.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;font-family:Inter,Arial,sans-serif;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility .2s,opacity .2s linear;visibility:hidden}.popup_opened{opacity:1;visibility:visible}.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;justify-content:flex-end;margin:0 auto;padding:36px;position:relative;width:430px}@media screen and (max-width:550px){.popup__container{margin:0 19px;padding:27px 22px 25px}}.popup__form{display:flex;flex-direction:column;height:100%;width:100%}.popup__header{color:#000;font-size:24px;font-weight:900;line-height:1.01;margin:0 0 51px}@media screen and (max-width:640px){.popup__header{font-size:18px;font-weight:900;line-height:1.01;margin:0 0 77px}}.popup__header_margin-bottom{margin-bottom:35px}.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-weight:400;line-height:1.01;margin-bottom:5px;outline:none;padding:0 0 9px}.popup__input:last-of-type{margin-bottom:4px}@media screen and (max-width:550px){.popup__input:last-of-type{margin-bottom:44px}}.popup__input_type_error{border-bottom-color:red}.popup__input-error{color:red;font-size:12px;font-weight:400;line-height:15px;min-height:36px;visibility:hidden}.popup__input-error:last-of-type{margin:0 0 12px}.popup__input-error_active{visibility:visible}.popup__btn_action_submit{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;font-weight:400;height:51px;line-height:1.01;transition:opacity .2s linear;width:100%}.popup__btn_action_submit:hover{opacity:.8}@media screen and (max-width:550px){.popup__btn_action_submit{font-size:14px;font-weight:400;height:46px;line-height:1.7}}.popup__btn_inactive{background-color:#fff;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);pointer-events:none}.popup__btn_action_close{background:url(/mesto-react/static/media/close_icon.2ceb783afbab75916ddc.svg) transparent no-repeat 50%/cover;border:none;cursor:pointer;height:32px;padding:0;position:absolute;right:-39px;top:-39px;transition:opacity .2s linear;width:32px}.popup__btn_action_close:hover{opacity:.6}@media screen and (max-width:640px){.popup__btn_action_close{height:20px;right:0;top:-36px;width:20px}}.popup_opacity{background-color:rgba(0,0,0,.9)}.popup__image-container{display:flex;flex-direction:column;position:relative}.popup__photo{margin-bottom:10px;max-height:75vh;max-width:75vw;object-fit:cover}.popup__caption{color:#fff;font-size:12px;font-weight:400;line-height:1;margin:0}
/*# sourceMappingURL=main.91f97bf5.css.map*/