/*! 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: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-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")}@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: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")}.page{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-rendering:optimizeLegibility;background-color:#000;color:#fff;font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0 auto;width:100%}@media screen and (max-width:1023px){.page{max-width:768px}}@media screen and (max-width:767px){.page{max-width:540px}}@media screen and (max-width:540px){.page{max-width:320px}}.header{align-items:flex-start;border-bottom:1px solid rgba(84,84,84,.7);display:flex;font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:880px}.header__button{background-color:#000;border:none;color:#fff;font-size:18px;line-height:1.22;margin-top:51px;text-decoration:none;transition:opacity .2s ease}.header__button:hover{opacity:.6}@media screen and (max-width:540px){.header__button{margin:34px 0 30px}}.header__button_active{color:#a9a9a9}.header__login{font-size:18px;font-weight:500;line-height:1.22;margin:51px 24px 0 auto;transition:opacity .2s ease}.header__login:hover{opacity:.6}.logo{max-height:33px;max-width:142px;padding:45px 0 41px}@media screen and (max-width:1023px){.logo{padding-left:20px}}@media screen and (max-width:540px){.logo{max-height:24.4px;max-width:104px;padding:28px 0 31.6px 27px}}.content{margin:0 auto;max-width:880px}.content,.profile{font-family:Inter,Helvetica Neue,Arial,sans-serif}.profile{align-items:flex-start;display:flex;padding-top:36.25px}@media screen and (max-width:1023px){.profile{padding:20px}}@media screen and (max-width:540px){.profile{align-items:center;flex-direction:column;padding:0}}.profile__avatar{border-radius:60px;height:120px;margin:3.75px 30px 3.75px 0;width:120px}.profile__avatar-overlay:hover{opacity:.5}@media screen and (max-width:767px){.profile__avatar{margin:auto 20px auto 0}}@media screen and (max-width:540px){.profile__avatar{margin:38.25px auto 22.25px}}.profile__info{display:grid;grid-template-areas:"title edit-button" "text text";grid-template-columns:repeat(294px 24px);grid-template-columns:repeat(39px 18px);margin:22px 0 25px;max-width:336px}@media screen and (max-width:540px){.profile__info{margin:0}}.profile__title{font-size:42px;font-weight:500;grid-area:title;line-height:1.14;margin:0 18px 0 0;max-width:294px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__title{margin-right:9px}}@media screen and (max-width:540px){.profile__title{font-size:27px;line-height:1.22;margin-right:10px;max-width:189px}}.profile__text{font-size:18px;font-weight:400;grid-area:text;line-height:1.22;margin:14px 0 0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__text{text-align:center}}@media screen and (max-width:540px){.profile__text{font-size:14px;line-height:1.21;margin-top:14px;max-width:282px}}.profile__edit-button{background:transparent url(/react-mesto-auth/static/media/edd.8667ac4a523e8fc42e59.svg) no-repeat 50%;border:1px solid #fff;box-sizing:border-box;cursor:pointer;grid-area:edit-button;height:24px;margin:15px 0 0;padding:0;transition:opacity .3s ease;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:767px){.profile__edit-button{margin-top:auto}}@media screen and (max-width:540px){.profile__edit-button{height:18px;margin:8px 0 0;width:18px}}.profile__add-button{background:transparent;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;height:50px;margin:35px 0 35px auto;padding:0;position:relative;transition:opacity .2s ease;width:150px}.profile__add-button:hover{opacity:.6}.profile__add-button:after,.profile__add-button:before{background:#fff;border:1.5px solid #fff;content:" ";height:22px;left:50%;position:absolute;top:25%}.profile__add-button:after{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@media screen and (max-width:767px){.profile__add-button{margin:auto 20px;width:103px}}@media screen and (max-width:540px){.profile__add-button{margin:34px 0;width:282px}.profile__add-button:after,.profile__add-button:before{height:11px;top:35%}}.elements{grid-gap:20px 17px;display:grid;font-family:Inter,Helvetica Neue,Arial,sans-serif;gap:20px 17px;grid-template-columns:repeat(3,282px);grid-template-rows:repeat(2,361px);max-width:880px;padding:46.25px 0 66px}@media screen and (max-width:1023px){.elements{gap:30px 40px;grid-template-columns:repeat(2,282px);grid-template-rows:repeat(3,361px);justify-content:center}}@media screen and (max-width:767px){.elements{grid-template-columns:repeat(1,282px);grid-template-rows:repeat(6,361px)}}@media screen and (max-width:540px){.elements{gap:20px;padding:0 0 48px}}.element{font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0;max-width:282px;position:relative}@media screen and (max-width:1023px){.header__line{max-width:768px}}.element__img{border-radius:10px 10px 0 0;cursor:pointer;display:block;height:282px;margin:0;object-fit:cover;object-position:center;transition:opacity .3s ease;width:100%}.element__img:hover{opacity:.5}.element__caption{background-color:#fff;border-radius:0 0 10px 10px;color:#000;display:flex}.element__text{font-size:24px;font-weight:900;line-height:1.2;margin:19px auto 23px 21px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element__button-like{background:#fff;background-image:url(/react-mesto-auth/static/media/like.87ed371465c7a6a1cd01.svg);border:0;cursor:pointer;height:19px;margin:21px 20px 13px 0;padding:0;position:relative;transition:background-image .3s ease;width:22px}.element__button-like:hover{opacity:.5}.element__button-like_active{background-image:url(/react-mesto-auth/static/media/like_black.fe17a515669479b1e649.svg);opacity:1}.element__like-counter{font-size:13px;font-weight:400;line-height:1.2px;margin:0 0 0 7px;text-align:left}.element__button-delete{background:transparent;background-image:url(/react-mesto-auth/static/media/del.823b0cf1b0b7e9cb7cad.svg);border:0;cursor:pointer;height:19px;margin:0;padding:0;position:absolute;right:20px;top:20px;transition:background-image .3s ease;width:18px;z-index:1}.element__button-delete:hover{opacity:.6}.element__button-delete_hidden{visibility:hidden}.element__button-delete_visible{visibility:visible}.footer{font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:880px;padding-bottom:64px}@media screen and (max-width:1023px){.footer{padding-left:20px}}@media screen and (max-width:540px){.footer{padding-bottom:36px}}.footer__text{color:#545454;font-size:18px;font-weight:400;line-height:1.22;margin:0 0 3px}@media screen and (max-width:540px){.footer__text{font-size:14px}}.popup{align-items:center;background:rgba(0,0,0,.5);bottom:0;color:#000;display:none;display:flex;font-family:Inter,Helvetica Neue,Arial,sans-serif;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility 0s linear .3s,opacity .3s linear;visibility:hidden;z-index:100}@media screen and (max-width:540px){.popup{padding-top:123px}}.popup_opened{opacity:1;transition-delay:0s;visibility:visible}.popup__window{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;margin:auto;position:relative}@media screen and (max-width:540px){.popup__window{max-width:282px}}.popup__window_view-card{background-color:transparent}.popup_view_card{background:rgba(0,0,0,.9)}.popup__img{height:75vh;width:75vw}.popup__title{font-size:24px;font-weight:900;line-height:1.2px;margin:48px 64px 54px 36px}@media screen and (max-width:540px){.popup__title{font-size:18px;line-height:1.22px;margin:35px 22px 75px;width:282px}}.popup__title_view-card{color:#fff;font-size:12px;font-weight:400;line-height:1,25;margin:10px 0 0}.popup__title_delete-card{font-size:24px;font-weight:900;line-height:1.2;margin:34px 0 16px}.popup__title_tooltip{font-size:24px;line-height:1.2;margin:0 36px 60px;max-width:358px;text-align:center}.popup__form{margin:0 36px;width:358px}@media screen and (max-width:540px){.popup__form{margin:0 auto;max-width:238px}}.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-family:inherit;font-size:14px;font-weight:400;height:27px;line-height:1.2;margin:3px 0 0;width:100%}@media screen and (max-width:540px){.popup__input{max-width:238px}}.popup__close-button{background:none;border:none;cursor:pointer;height:32px;padding:0;position:absolute;right:-40px;top:-30px;transition:opacity .3s ease;width:32px}.popup__close-button:hover{opacity:.6}.popup__close-button:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popup__close-button:after,.popup__close-button:before{background:#fff;border:2px solid #fff;content:" ";height:32px;position:absolute;top:0}.popup__close-button:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}@media screen and (max-width:540px){.popup__close-button{height:20px;right:0;top:-36px;width:20px}.popup__close-button:after,.popup__close-button:before{border:1px solid #fff;height:20px}}.popup__save-button{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-family:inherit;font-size:18px;height:50px;line-height:1.2px;margin:18px 0 37px;text-align:center;transition:opacity .3s ease;width:358px}.popup__save-button:hover{opacity:.8}@media screen and (max-width:540px){.popup__save-button{font-size:14px;margin:15px 0 25px;max-width:238px}}.popup__save-button_inactive{background:#fff;border:1px solid #000;border-radius:2px;box-sizing:border-box;color:#000;cursor:auto;opacity:.2}.popup__save-button_load{opacity:.8}.popup__input_type_error{border-bottom-color:red;margin-bottom:0}.popup__input-error{color:red;display:inline-block;font-size:12px;line-height:1;margin-bottom:0;min-height:21.3px;min-width:164px;visibility:hidden}.popup__input-error_active{visibility:visible}.popup__icon{margin:60px auto 32px;width:120px}.registration{background:rgba(0,0,0,.5);color:#fff;font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:880px}@media screen and (max-width:540px){.registration{max-width:320px}}.registration__save-button{background-color:#fff;border:none;border-radius:2px;color:#000;cursor:pointer;font-family:inherit;font-size:18px;height:50px;line-height:1.2px;margin:186px auto 15px;text-align:center;transition:opacity .2s ease;width:358px}.registration__save-button:hover{opacity:.8}@media screen and (max-width:540px){.registration__save-button{margin-top:173px;max-width:260px}}.registration__save-button_enter{margin-bottom:112px}.registration__form{display:flex;flex-direction:column;margin:0 auto 36px;width:358px}@media screen and (max-width:540px){.registration__form{max-width:320px}}.registration__input{background-color:#000;border:0;border-bottom:2px solid #ccc;box-sizing:border-box;color:#fff;font-family:inherit;font-size:14px;font-weight:400;height:27px;line-height:1.2;margin:0 auto 30px;width:100%}@media screen and (max-width:540px){.registration__input{max-width:260px}}.registration__title{font-size:24px;font-weight:900;line-height:1.2px;margin:60px auto 50px;text-align:center}@media screen and (max-width:540px){.registration__title{margin:40px auto;max-width:320px}}.registration__paragraph{font-size:14px;font-weight:400;line-height:1.2;margin:0 auto 80px;text-align:center}.registration__link{color:#fff;font-size:14px;line-height:1.2;text-decoration:none;transition:opacity .2s ease}.registration__link:hover{opacity:.6}
/*# sourceMappingURL=main.4e0e4c31.css.map*/