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-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(/react-mesto-auth/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Black.c6938660eec019fefd68.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/react-mesto-auth/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/react-mesto-auth/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Regular.8c206db99195777c6769.woff) format("woff")}.fields{background-color:#000;width:100%}.fields,.page{align-items:center;display:flex;flex-direction:column}.page{font-family:Inter,Arial,sans-serif;max-width:880px;min-height:100vh;min-width:320px}.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;justify-content:space-between;margin:45px 0 0;padding-bottom:41px;width:880px}@media screen and (max-width:920px){.header{margin:28px 0 0;padding-bottom:30px}}.header__logo{max-width:142px}@media screen and (max-width:920px){.header__logo{margin-left:27px;max-width:105px}}.header__nav{display:flex}.header__mail{color:#fff;font-weight:500;margin:0 24px 0 0}.header__link,.header__mail{font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;line-height:22px}.header__link{color:#a9a9a9;font-weight:400;text-decoration:none}.content{width:100%}.profile{display:flex;flex-direction:row;justify-content:space-between;margin:40px 0 0}@media screen and (max-width:920px){.profile{align-items:center;flex-direction:column}}.profile__user{display:flex;flex-direction:row}@media screen and (max-width:766px){.profile__user{align-items:center;flex-direction:column}}.profile__avatar{border-radius:50%;height:120px;object-fit:cover;width:120px;z-index:0}.profile__avatar:hover{opacity:.2;transition:opacity .4s ease;z-index:-1}.profile__info{align-self:center;margin:0 0 0 30px}@media screen and (max-width:766px){.profile__info{margin:22px 0 0}}.profile__name{display:flex}.profile__title{color:#fff;font-family:Inter,Arial,sans-serif;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:880px){.profile__title{font-size:27px;line-height:33px;margin:5px;max-width:189px;text-align:center}}.profile__subtitle{color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:16px 0 0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:766px){.profile__subtitle{font-size:14px;line-height:17px;margin:5px 0 0;max-width:282px;text-align:center}}.profile__edit-button{align-self:center;background:none;background-image:url(/react-mesto-auth/static/media/profile-edit-button.8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;cursor:pointer;height:24px;margin:0 0 0 18px;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:766px){.profile__edit-button{height:18px;width:18px}}.profile__add-button{align-self:center;background:none;background-image:url(/react-mesto-auth/static/media/profile-add-button.d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;cursor:pointer;height:50px;width:150px}.profile__add-button:hover{opacity:.6}@media screen and (max-width:920px){.profile__add-button{margin:36px 0 0;width:282px}}.profile__change-button{background:#000;background-image:url(/react-mesto-auth/static/media/profile-change-button.a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;border:none;content:"";height:100%;padding:0;width:100%}.elements{grid-column-gap:17px;grid-row-gap:20px;-webkit-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,minmax(-webkit-min-content,-webkit-max-content));grid-template-columns:repeat(3,minmax(min-content,max-content));margin:50px 0 0;max-width:880px;row-gap:20px}@media screen and (max-width:920px){.elements{grid-template-columns:repeat(1,minmax(-webkit-min-content,-webkit-max-content));grid-template-columns:repeat(1,minmax(min-content,max-content));margin:36px auto 0;max-width:320px}}.element{background-color:#fff;border-radius:10px;max-width:282px;min-height:361px}@media screen and (max-width:880px){.element{margin:0 0 0 19px}}.element__container{display:flex;justify-content:space-between;margin:25px auto 0;max-width:246px;position:relative}.element__photo{border-top-left-radius:10px;border-top-right-radius:10px;cursor:pointer;height:282px;object-fit:cover;width:282px}.element__title{color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:246px}.element__like{align-self:center;background:none;background-image:url(/react-mesto-auth/static/media/elements-like.87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;width:25px}.element__like:hover{opacity:.5}.element__counter{color:#000;font-family:Inter,Arial,sans-serif;font-size:13px;font-style:normal;font-weight:400;height:13px;line-height:16px;margin-bottom:0;margin-left:248px;margin-top:0;text-align:center;width:10px}.element__trash{align-self:center;background:none;background-image:url(/react-mesto-auth/static/media/elements-trash.823b0cf1b0b7e9cb7cad.svg);background-position:50%;background-repeat:no-repeat;border:none;bottom:305px;cursor:pointer;height:19px;left:232px;position:absolute;width:18px}.element__trash:hover{opacity:.6}.element__like_active{background-image:url(/react-mesto-auth/static/media/elements-like-active.e787eeb70bb65b7b453a.svg)}.footer{margin:67px 0 60px;width:100%}@media screen and (max-width:920px){.footer{margin:48px 0 36px 19px}}.footer__copyright{color:#545454;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:920px){.footer__copyright{font-size:14px;line-height:17px}}.popup{background-color:rgba(0,0,0,.5);display:flex;height:100%;opacity:0;position:fixed;transition:visibility 0s,opacity .5s linear;visibility:hidden;width:100%}@media screen and (max-width:880px){.popup{align-self:center}}.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;margin:auto;max-height:330px;position:relative;width:430px}@media screen and (max-width:880px){.popup__container{width:282px}}.popup__view-container{box-sizing:border-box;display:flex;flex-direction:column;margin:auto;padding:8px;position:relative}.popup__photo{max-height:75vh;max-width:75vw;object-fit:cover}.popup__description{color:#fff;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:10px 0 0}.popup__close-button{background:none;background-image:url(/react-mesto-auth/static/media/popup-close-icon.2ceb783afbab75916ddc.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:32px;position:absolute;right:-40px;top:-38px;width:32px}.popup__close-button:hover{opacity:.6}@media screen and (max-width:880px){.popup__close-button{background-size:contain;height:20px;right:1px;top:-30px;width:20px}}.popup__close-button-for-view{position:absolute}@media screen and (max-width:880px){.popup__close-button-for-view{right:15px;top:-30px}}.popup__form{display:flex;flex-direction:column;margin:0 36px 37px;max-width:358px}@media screen and (max-width:880px){.popup__form{margin:0 22px 25px}}.popup__title{font-family:Inter,Arial,sans-serif;font-size:23px;font-style:normal;font-weight:900;line-height:29px;margin:34px 64px 54px 36px;text-align:center}@media screen and (max-width:880px){.popup__title{font-size:18px;margin:25px 0 75px 22px}}.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:14px 0 0;max-width:358px}.popup__input:focus{outline:none}.popup__input:first-of-type{margin:0}.popup__save-button{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:34px 0 0;max-width:358px;min-height:50px;padding:0;text-align:center}.popup__save-button:hover{opacity:.8}@media screen and (max-width:880px){.popup__save-button{font-size:14px;line-height:17px;margin:45px 0 0}}.popup__error_visible{color:red;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;height:15px;margin-top:5px}.popup_opened{display:flex;opacity:1;visibility:visible}.popup_view{background-color:rgba(0,0,0,.9)}.popup__save-button_disabled{background-color:#fff;border:1px solid #c4c4c4;color:#c4c4c4}.popup__input_type_error{border-bottom:1px solid red}.popup__status-icon{height:120px;margin:60px 35% 0;width:120px}.auth{display:block}.auth__title{color:#fff;font-family:Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:60px 0 50px;text-align:center}.auth__form{max-width:358px}.auth__input{background:none;border:none;border-bottom:1px solid #ccc;color:#fff;margin:0 0 30px;width:358px}.auth__input:focus{outline:none}.auth__submit-button{background-color:#fff;border:none;border-radius:2px;cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin:186px 0 0;padding:0;text-align:center;width:358px}.auth__submit-button:hover{opacity:.85}.auth__text{color:#fff;font-family:Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:16px 0 0;text-align:center;width:358px}.auth__link{color:#fff;text-decoration:none;transition:opacity 1s linear}.auth__link:hover{opacity:.6}.login{display:block}.login__title{color:#fff;font-family:Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:60px 0 50px;text-align:center}.login__form{max-width:358px}.login__input{background:none;border:none;border-bottom:1px solid #ccc;color:#fff;margin:0 0 30px;width:358px}.login__input:focus{outline:none}.login__submit-button{background-color:#fff;border:none;border-radius:2px;cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin:186px 0 0;padding:0;text-align:center;width:358px}.login__submit-button:hover{opacity:.85}
/*# sourceMappingURL=main.f3d4fdbe.css.map*/