/*! 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: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";src:url(/mesto-frontend/static/media/Inter-Regular.26a30a5f.woff2) format("woff2"),url(/mesto-frontend/static/media/Inter-Regular.e148c4a1.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:"Inter";src:url(/mesto-frontend/static/media/Inter-Medium.d0a58d95.woff2) format("woff2"),url(/mesto-frontend/static/media/Inter-Medium.eec0ea57.woff) format("woff");font-weight:500;font-style:normal}@font-face{font-family:"Inter";src:url(/mesto-frontend/static/media/Inter-Black.768169b1.woff2) format("woff2"),url(/mesto-frontend/static/media/Inter-Black.7bb62343.woff) format("woff");font-weight:900;font-style:normal}.main{padding:0}.page{max-width:100%;min-height:100vh;margin:0 auto;background-color:#000;font-family:"Inter",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;box-sizing:border-box}.header{overflow:hidden;margin-left:auto;margin-right:auto;max-width:880px;display:flex;flex-direction:row;border-bottom:1px solid rgba(84,84,84,.7);align-items:center;justify-content:space-between}@media only screen and (max-width:320px){.header{padding-top:8.75%;width:100vw;padding-bottom:9.87vw}}@media only screen and (min-width:321px) and (max-width:1280px){.header{padding-top:calc(1.77vw + 22px);width:calc(58.33vw + 133px);padding-bottom:calc(.97vw + 28px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.header{padding-top:3.51%;width:68.75vw;padding-bottom:41px}}.header__logo{max-width:142px;width:auto;grid-area:logo;align-self:flex-start}@media only screen and (max-width:320px){.header__logo{width:32.41vw;margin-left:9.37vw}}@media only screen and (min-width:321px) and (max-width:1280px){.header__logo{width:calc(3.98vw + 90px);margin-left:calc(-3.13vw + 40px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.header__logo{width:11.09vw;margin-left:0}}.header__entrance-button{font-family:Inter;font-style:normal;font-weight:400;text-align:right;grid-area:login}.header__entrance-button,.header__entrance-button:visited{color:#fff;text-decoration:none}@media only screen and (max-width:320px){.header__entrance-button{margin-right:9.37vw;font-size:4.37vw;line-height:5.31vw}}@media only screen and (min-width:321px) and (max-width:1280px){.header__entrance-button{margin-right:calc(-3.13vw + 40px);font-size:calc(.41vw + 12px);line-height:calc(.52vw + 15px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.header__entrance-button{margin-right:0;font-size:18px;line-height:22px}}.header__profile-button{font-family:Inter;font-style:normal;font-weight:500;font-size:18px;line-height:22px;text-align:right;color:#fff;text-decoration:none;margin-left:auto;margin-right:24px}.header__profile-button:visited{color:#fff}@media only screen and (max-width:320px){.header__profile-button{font-size:4.37vw;line-height:5.31vw}}@media only screen and (min-width:321px) and (max-width:1280px){.header__profile-button{font-size:calc(.41vw + 12px);line-height:calc(.52vw + 15px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.header__profile-button{font-size:18px;line-height:22px}}.profile{margin-top:calc(-.21% + 42px);max-width:880px;display:flex;margin-left:auto;margin-right:auto;flex-direction:row;min-width:282px;width:90%;align-items:center}@media screen and (min-width:1281px){.profile{margin-top:40px}}@media screen and (min-width:321px) and (max-width:598px){.profile{flex-direction:column}}@media only screen and (max-width:320px){.profile{width:88.12%;margin-top:42px;flex-direction:column}}.profile__avatar-container{width:120px;height:120px;display:flex;justify-content:center;align-content:center;align-items:center;border-radius:50%;overflow:hidden;position:relative}.profile__avatar-edit{position:absolute;bottom:0;background:#000;background:rgba(0,0,0,.5);background-image:url(/mesto-frontend/static/media/Vector.ae1a976d.svg);background-repeat:no-repeat;background-position:50%;background-size:auto;width:100%;height:100%;transition:.5s ease;opacity:0;padding:20px;cursor:pointer;border:0}.profile__avatar-edit:hover{opacity:1;border:0}.profile__avatar{display:block;width:100%;height:100%;object-fit:cover}.profile__info{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;margin-left:30px;justify-content:flex-start;flex-grow:1;width:55%}@media screen and (max-width:598px){.profile__info{margin-left:0;justify-content:center;width:90%}}.profile__name{font-style:normal;font-weight:500;line-height:114%;color:#fff;font-size:calc(1.45vw + 22px);margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:80%}@media screen and (min-width:1280px){.profile__name{font-size:42px;max-width:85%}}@media screen and (min-width:599px) and (max-width:1279px){.profile__name{font-size:calc(1.45vw + 22px);max-width:85%}}@media screen and (min-width:321px) and (max-width:598px){.profile__name{margin-top:22.25px;font-size:27px;max-width:65vw}}@media screen and (max-width:320px){.profile__name{font-size:27px;margin-top:22.25px;line-height:33px;max-width:65vw}}.profile__edit-button{padding:0;background:none;cursor:pointer;max-width:24px;max-height:24px;min-width:18px;min-height:18px;width:calc(.62vw + 16px);height:calc(.62vw + 16px);border:1px solid #fff;box-sizing:initial;display:flex;justify-content:center;align-content:center;align-self:center;margin-left:calc(.83vw + 7px);opacity:1;transition:opacity 0s,opacity .15s linear;background-image:url(/mesto-frontend/static/media/Vector.6c7bf054.svg);background-repeat:no-repeat;background-position:50%;background-size:auto}@media screen and (max-width:598px){.profile__edit-button{margin-top:30.25px;align-self:flex-start}}.profile__edit-button:hover{opacity:.6}.profile__edit-button:focus{outline:0}.profile__status{font-style:normal;font-weight:400;font-size:18px;line-height:22px;color:#fff;margin-bottom:0;margin-top:16px;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;max-width:100%}@media screen and (max-width:598px){.profile__status{text-align:center;margin-top:14px;font-size:14px;line-height:17px;max-width:80vw}}.profile__add-button{padding:0;background:none;cursor:pointer;outline:0;height:50px;width:18.4vw;min-width:50px;max-width:150px;display:flex;border:2px solid #fff;box-sizing:initial;justify-content:center;margin-top:0;opacity:1;transition:opacity 0s,opacity .15s linear;background-image:url(/mesto-frontend/static/media/Vector.bed8c136.svg);background-repeat:no-repeat;background-position:50%;background-size:auto}@media screen and (max-width:598px){.profile__add-button{margin-top:36px;min-width:88.12%}}.profile__add-button:hover{opacity:.6}.elements{display:grid;grid-template-rows:auto;grid-template-columns:repeat(auto-fill,minmax(282px,auto));grid-row-gap:20px;grid-column-gap:17px;justify-content:center;grid-auto-flow:row dense;max-width:880px;margin-left:auto;margin-right:auto;margin-top:51px}.elements__element{display:flex;max-width:282px;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;position:relative}.elements__picture{display:flex;object-fit:cover;width:100%;height:151px;cursor:pointer}.elements__caption{width:246px;display:flex;justify-content:space-between;align-self:center;margin-top:25px;margin-bottom:32px}.elements__caption-text{font-style:normal;font-weight:900;font-size:24px;line-height:29px;color:#000;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:90%;align-self:center}.elements__like{display:flex;flex-direction:column}.elements__like-button{border:none;padding:0;background:none;cursor:pointer;align-self:center;display:flex;background-image:url(/mesto-frontend/static/media/Vector.cfd603a7.svg);background-repeat:no-repeat;background-position:50%;background-size:contain;width:20px;height:18px;opacity:1;transition:opacity 0s,opacity .15s linear}.elements__like-button:hover{opacity:.5}.elements__like-button:active{background-image:url(/mesto-frontend/static/media/Union.4d79e05b.svg)}.elements__like-button:focus{outline:0}.elements__like-button_active{background-image:url(/mesto-frontend/static/media/Union.4d79e05b.svg)}.elements__like-button_loading{-webkit-transform:scale(1);transform:scale(1);-webkit-animation:pulse-black .7s infinite;animation:pulse-black .7s infinite}@-webkit-keyframes pulse-black{0%{-webkit-transform:scale(.25);transform:scale(.25);box-shadow:rgba(0,0,0,.7)}50%{-webkit-transform:scale(1);transform:scale(1);box-shadow:transparent}to{-webkit-transform:scale(.25);transform:scale(.25);box-shadow:transparent}}@keyframes pulse-black{0%{-webkit-transform:scale(.25);transform:scale(.25);box-shadow:rgba(0,0,0,.7)}50%{-webkit-transform:scale(1);transform:scale(1);box-shadow:transparent}to{-webkit-transform:scale(.25);transform:scale(.25);box-shadow:transparent}}.elements__like-count{font-family:Inter;font-style:normal;font-weight:400;font-size:13px;line-height:16px;text-align:center;color:#000}.elements__delete-button{position:absolute;top:18px;right:15px;border:none;padding:0;background:none;cursor:pointer;align-self:center;display:flex;background-image:url(/mesto-frontend/static/media/Trash.2af49b82.svg);background-repeat:no-repeat;background-position:50%;background-size:contain;width:18px;height:19.3px;opacity:1;transition:opacity 0s,opacity .15s linear;-webkit-filter:drop-shadow(2px 2px 2px #222);filter:drop-shadow(2px 2px 2px #222)}.elements__delete-button:hover{opacity:.5}.elements__delete-button:active{opacity:1}.elements__delete-button:focus{outline:0}.user-entrance{margin-left:auto;margin-right:auto;display:flex;flex-direction:column;align-items:center}@media only screen and (max-width:320px){.user-entrance{width:81.25%;margin-top:12.5%}}@media only screen and (min-width:321px) and (max-width:1280px){.user-entrance{width:calc(10.2% + 227px);margin-top:calc(2.08% + 33px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.user-entrance{width:27.96%;margin-top:4.68%}}.user-entrance__form-title{font-family:Inter;font-style:normal;font-weight:900;text-align:center;color:#fff;margin:0}@media only screen and (max-width:320px){.user-entrance__form-title{font-size:6.25vw;line-height:7.5vw}}@media only screen and (min-width:321px) and (max-width:1280px){.user-entrance__form-title{font-size:calc(.41vw + 18px);line-height:calc(.52vw + 22px)}}@media only screen and (min-width:1281px){.user-entrance__form-title{font-size:24px;line-height:22px}}.user-entrance__form-fieldset{border:none;padding:0;margin:0;flex-direction:column;width:100%;max-width:100%}.user-entrance__form-input{padding:0;width:100%;max-width:100%;height:27px;border:none;border-bottom:2px solid #fff;box-sizing:border-box;color:#fff;background-color:#000;font-style:normal;font-weight:400;font-size:14px;line-height:17px;margin-top:30px;align-self:center;box-shadow:inset 0 0 0 27px #000;-webkit-text-fill-color:#fff}.user-entrance__form-input:focus{outline:0}.user-entrance__form-input::-webkit-input-placeholder{font-family:Inter;font-style:normal;font-weight:400;font-size:14px;line-height:17px;color:#ccc}.user-entrance__form-input::placeholder{font-family:Inter;font-style:normal;font-weight:400;font-size:14px;line-height:17px;color:#ccc}@media only screen and (max-width:320px){.user-entrance__form-input:first-child{margin-top:12.5vw}}@media only screen and (min-width:321px) and (max-width:1280px){.user-entrance__form-input:first-child{margin-top:calc(1.04vw + 36px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.user-entrance__form-input:first-child{margin-top:3.9vw}}.user-entrance__form-submit-button{width:100%;height:50px;cursor:pointer;border:none;color:#000;font-style:normal;font-weight:400;font-size:calc(.41vw + 12px);line-height:22px;text-align:center;background-color:#fff;opacity:1;transition:opacity 0s,opacity .15s linear;box-sizing:border-box;padding:0}.user-entrance__form-submit-button:hover{opacity:.8}.user-entrance__form-submit-button:disabled{border:1px solid #000;color:#000;border-radius:2px;background-color:#545454}@media only screen and (max-width:320px){.user-entrance__form-submit-button{margin-top:54.06vw}}@media only screen and (min-width:321px) and (max-width:1280px){.user-entrance__form-submit-button{margin-top:calc(4.47vw + 158px)}}@media only screen and (min-width:1281px) and (max-width:1920px){.user-entrance__form-submit-button{margin-top:16.87vw}}.user-entrance__bottom-link{font-family:Inter;font-style:normal;font-weight:400;font-size:14px;line-height:17px;text-align:center}.user-entrance__bottom-link,.user-entrance__bottom-link:visited{text-decoration:none;color:#fff}@media only screen and (max-width:320px){.user-entrance__bottom-link{margin-top:6.25vw;font-size:4.37vw}}@media only screen and (min-width:321px) and (max-width:1920px){.user-entrance__bottom-link{margin-top:calc(.15vw + 19px)}}.footer{display:flex;align-content:center;justify-content:space-between;flex-direction:row;margin-left:auto;margin-right:auto;max-width:880px;width:calc(62.29% + 82px)}.footer__copyright{margin-top:calc(1.97vw + 41px);margin-bottom:calc(2.5vw + 28px);text-align:right;font-style:normal;font-weight:400;font-size:18px;line-height:22px;color:#545454}@media only screen and (max-width:320px){.footer__copyright{font-size:4.37vw;line-height:5.31vw}}@media only screen and (min-width:321px) and (max-width:1280px){.footer__copyright{font-size:calc(.41vw + 12px);line-height:calc(.52vw + 15px)}}@media only screen and (min-width:1281px){.footer__copyright{font-size:18px;line-height:22px}}.popup{display:flex;position:fixed;top:50%;left:50%;right:50%;bottom:50%;justify-content:center;visibility:hidden;opacity:0;transition:opacity .12s,visibility .12s linear 0s;z-index:5}.popup__form{background-color:#fff;border-radius:10px;width:calc(15.41vw + 232px);max-width:430px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;align-items:center}.popup__form-fieldset{border:none;padding:0;margin:0}.popup__window{display:flex;flex-direction:column;align-items:center;width:-webkit-max-content;width:max-content;align-self:center}@media screen and (max-width:1280px){.popup__window{width:-webkit-max-content;width:max-content}}.popup__close-button{border:none;padding:0;background:none;cursor:pointer;outline:0;display:flex;z-index:1;max-width:30px;min-width:20px;width:calc(1.04vw + 16px);height:calc(1.04vw + 16px);align-self:flex-end;opacity:1;transition:opacity 0s,opacity .15s linear;margin-bottom:calc(-1.57% + 20px);position:relative;background-image:url(/mesto-frontend/static/media/Close\ Icon.dac22d3e.svg);background-repeat:no-repeat;background-position:50%;background-size:contain;right:calc(-3.65vw + 11px)}.popup__close-button:hover{opacity:.6}@media screen and (min-width:1280px){.popup__close-button{margin-bottom:0;right:-35px}}@media screen and (max-width:320px){.popup__close-button{margin-bottom:15px;right:0}}.popup__form-title{font-style:normal;font-weight:900;font-size:calc(.62vw + 16px);color:#000;max-width:358px;width:calc(12.5vw + 198px);margin:calc(.93vw + 22px) 0 0}@media only screen and (max-width:320px){.popup__form-title{margin-top:25px;font-size:18px}}@media screen and (min-width:1280px){.popup__form-title{margin-top:34px;font-size:24px}}.popup__form-submit-button{max-width:358px;width:calc(12.5vw + 198px);height:50px;background:#000;border-radius:2px;cursor:pointer;border:none;color:#fff;font-style:normal;font-weight:400;font-size:calc(.41vw + 12px);line-height:22px;text-align:center;background-color:#000;margin-top:calc(.31vw + 44px);opacity:1;transition:opacity 0s,opacity .15s linear;margin-bottom:calc(1.25vw + 21px);box-sizing:border-box;padding:0}.popup__form-submit-button:hover{opacity:.8}.popup__form-submit-button:disabled{border:1px solid #000;color:#000;border-radius:2px;background-color:initial}@media only screen and (max-width:320px){.popup__form-submit-button{font-size:14px;line-height:17px;margin-bottom:25px;margin-top:45px}}@media only screen and (min-width:1280px){.popup__form-submit-button{font-size:18px;line-height:22px;margin-bottom:37px;margin-top:48px}}.popup__form-input{padding:0;max-width:358px;width:calc(12.5vw + 198px);height:27px;border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;color:#000;font-style:normal;font-weight:400;font-size:14px;line-height:17px;margin-top:30px}.popup__form-input:first-child{margin-top:54px}.popup__form-input:focus{outline:0}@media only screen and (max-width:320px){.popup__form-input:first-child{margin-top:75px}}.popup__form-error-text{font-style:normal;font-weight:15px;font-size:12px;color:red;max-width:358px;width:calc(12.5vw + 198px);margin:5px 0 0;text-align:left;display:block;box-sizing:border-box;height:12px}.popup__form-input_validation_error{border-bottom:1px solid red}.popup__form-caption{font-family:Inter;font-style:normal;font-weight:900;text-align:center;margin-top:32px;margin-bottom:60px;max-width:358px}@media only screen and (max-width:320px){.popup__form-caption{font-size:6.25vw;line-height:7.5vw}}@media only screen and (min-width:321px) and (max-width:1280px){.popup__form-caption{font-size:calc(.41vw + 18px);line-height:calc(.52vw + 22px)}}@media only screen and (min-width:1281px){.popup__form-caption{font-size:24px;line-height:29px}}.popup__image{display:flex;flex-direction:column;align-items:center;align-self:center;max-width:75vw;max-height:75vh}.popup__icon{margin-top:60px}.popup__caption{font-style:normal;font-weight:400;font-size:12px;line-height:15px;color:#fff;margin-bottom:0;margin-top:10px;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;max-width:100%}.popup_active{opacity:1;visibility:visible}.popup-overlay,.popup_active{transition:opacity .12s,visibility .12s linear 0s}.popup-overlay{display:flex;position:fixed;width:100%;height:100%;top:0;background-color:rgba(0,0,0,.5);justify-content:center;visibility:hidden;opacity:0;z-index:2}.popup-overlay_active{opacity:1;visibility:visible;transition:opacity .12s,visibility .12s linear 0s}
/*# sourceMappingURL=main.48cdc27d.chunk.css.map */