/*! 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}.page{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;align-content:start;background-color:#000;display:grid;font-family:Inter,Helvetica Neue,Arial,sans-serif;grid-template-areas:"header" "auth" "profile" "elements" "footer";justify-content:center;min-height:100vh;min-width:320px;text-rendering:optimizeLegibility;transition:.4s}.page_clicked{-webkit-transform:translateY(142px);transform:translateY(142px)}@media screen and (min-width:768px){.page_clicked{-webkit-transform:translateY(0);transform:translateY(0)}}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/mesto/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(/mesto/static/media/Inter-Regular.8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/mesto/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(/mesto/static/media/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(/mesto/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(/mesto/static/media/Inter-Black.c6938660eec019fefd68.woff) format("woff")}.spinner{align-self:center;background-image:url(/mesto/static/media/spinner-loading.c1b8565f12c3c976ba01.gif);background-repeat:no-repeat;background-size:cover;height:150px;justify-self:center;margin:23vh auto;width:150px}.header{border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box;display:flex;flex-direction:row;grid-area:header;height:56px;justify-content:space-between;margin:28px auto 0;overflow-y:hidden;position:relative;width:320px}@media screen and (min-width:768px){.header{width:651px}}@media screen and (min-width:1024px){.header{height:74px;margin:45px auto 0;width:880px}}.header__logo{background-image:url(/mesto/static/media/header__logo.0715d33d1ddeff57325c.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;height:24px;margin:0 0 0 27px;width:104px}@media screen and (min-width:1024px){.header__logo{height:33px;margin:0;width:142px}}.header__nav{align-items:center;background-color:#000;display:flex;flex-direction:column;height:142px;justify-content:center;left:0;margin:0;padding:0;position:fixed;top:-142px;width:100%}@media screen and (min-width:768px){.header__nav{align-items:flex-start;border:none;display:flex;flex-direction:row;height:auto;position:static;width:auto}}.header__nav-button-container{display:flex;height:21px;margin:4px 27px 0 0}.header__nav-button-container:hover{cursor:pointer}@media screen and (min-width:768px){.header__nav-button-container{display:none}}.header__nav-button{background:#fff;border:none;display:block;height:3px;margin:auto;width:24px}.header__nav-button:after{margin-top:15px}.header__nav-button:after,.header__nav-button:before{background:#fff;content:"";display:block;height:3px;transition:-webkit-transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1),-webkit-transform .4s cubic-bezier(.23,1,.32,1);width:24px}.header__nav-button:before{margin-top:-9px}.header__nav-button_clicked:after{margin-top:-3px;-webkit-transform:rotate(405deg);transform:rotate(405deg);transition:-webkit-transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1),-webkit-transform .4s cubic-bezier(.23,1,.32,1)}.header__nav-button_clicked{background:transparent}.header__nav-button_clicked:before{margin-top:0;-webkit-transform:rotate(-405deg);transform:rotate(-405deg);transition:-webkit-transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1);transition:transform .4s cubic-bezier(.23,1,.32,1),-webkit-transform .4s cubic-bezier(.23,1,.32,1)}.header__button-logout{background-color:initial;border:none;color:#a9a9a9;font-size:18px;font-style:normal;font-weight:400;height:22px;line-height:normal;padding:0;text-align:center}@media screen and (min-width:768px){.header__button-logout{margin:6px 27px 0 0;text-align:right}}@media screen and (min-width:1024px){.header__button-logout{margin:6px 0 0}}.header__button-logout:hover{cursor:pointer;opacity:.6;transition:.2s}.header__nav-email{color:#fff;font-size:18px;font-style:normal;font-weight:500;height:22px;line-height:normal;margin:0 0 18px;padding:0;text-align:center}@media screen and (min-width:768px){.header__nav-email{margin:6px 24px 0 0;text-align:right}}.header__link{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:6px 27px 0 0;text-align:right;text-decoration:none}@media screen and (min-width:768px){.header__link{font-size:18px;line-height:22px}}@media screen and (min-width:1024px){.header__link{margin:6px 0 0}}.header__link:hover{opacity:.6;transition:.2s}.auth{grid-area:auth;margin:0 auto;width:260px}@media screen and (min-width:768px){.auth{width:358px}}.auth__form{display:flex;flex-direction:column;margin:0;padding:0;width:100%}.auth__title{color:#fff;font-size:20px;font-style:normal;font-weight:900;line-height:24px;margin:40px auto 0;padding:0;text-align:center}@media screen and (min-width:768px){.auth__title{font-size:24px;line-height:29px;margin:60px auto 0}}.auth__field{background:transparent;border:none;border-bottom:2px solid #ccc;box-sizing:border-box;color:#ccc;font-size:14px;font-style:normal;font-weight:400;height:27px;line-height:17px;margin:40px 0 0;padding:0}.auth__field:last-of-type{margin:0}@media screen and (min-width:768px){.auth__field{margin:50px 0 0}}.auth__error{color:#ccc;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:0;min-height:30px;opacity:0;padding:0;transition:visibility 0s linear .2s,opacity .2s linear;visibility:hidden;z-index:2}.auth__error:last-of-type{min-height:15px}.auth__error_visible{opacity:1;transition-delay:0s;visibility:visible}.auth__submit-button{background:#fff;border:none;border-radius:2px;box-sizing:border-box;color:#000;font-size:16px;font-style:normal;font-weight:400;height:46px;line-height:19px;margin:158px 0 0;padding:0;text-align:center;width:100%}.auth__submit-button:hover{cursor:pointer;opacity:.85;transition:.2s}@media screen and (min-width:768px){.auth__submit-button{height:50px;margin:201px 0 0}}.auth__submit-button_disabled{background-color:#fff;color:#757575;opacity:.4;pointer-events:none;-webkit-user-select:none;user-select:none}.auth__link{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin-top:20px;padding:0;text-align:center;text-decoration:none}@media screen and (min-width:768px){.auth__link{margin-top:15px}}.auth__link:hover{opacity:.6;transition:.2s}.profile{align-items:center;display:flex;flex-direction:column;grid-area:profile;margin:42px 19px 0}@media screen and (min-width:768px){.profile{flex-direction:row;margin:40px auto 0}}.profile__avatar-block{position:relative}.profile__avatar-block,.profile__avatar-block:before{border-radius:49%;display:flex;height:120px;width:120px}.profile__avatar-block:before{background-image:url(/mesto/static/media/edit-button.ff0fcb318a3974db48d1.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;content:"";left:0;opacity:0;position:absolute;top:0}.profile__avatar-block:hover:before{background-color:rgba(0,0,0,.8);cursor:pointer;opacity:1;transition:.4s}.profile__avatar{border-radius:50%;height:120px;object-fit:cover;object-position:center center;width:120px}.profile__info{align-items:center;display:flex;flex-direction:column;justify-content:space-between;margin:26px 0 0;padding:0;position:relative}@media screen and (min-width:768px){.profile__info{align-items:start;margin:auto 0 auto 30px}}.profile__name{color:#fff;font-size:27px;font-style:normal;font-weight:500;line-height:33px;margin:1px 10px 0 28px;overflow:hidden;padding:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:189px}@media screen and (min-width:768px){.profile__name{font-size:42px;line-height:48px;margin:0 18px 0 0;text-align:start;width:294px}}.profile__occupation{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:8px 0 0;overflow:hidden;padding:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:282px}@media screen and (min-width:768px){.profile__occupation{font-size:18px;line-height:22px;margin:9px 0 0;text-align:start;width:336px}}.profile__edit-button{background-color:#000;background-image:url(/mesto/static/media/edit-button.ff0fcb318a3974db48d1.svg);background-position:50%;background-repeat:no-repeat;background-size:7.5px;border:1px solid #fff;box-sizing:border-box;height:18px;margin:8px 0 0;outline:none;padding:0;width:18px}.profile__edit-button:hover{cursor:pointer;opacity:.6;transition:.2s}@media screen and (min-width:768px){.profile__edit-button{background-size:10px;height:24px;margin:15px 0 0;width:24px}}.profile__add-button{background-color:#000;background-image:url(/mesto/static/media/add-button.d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;background-size:16px;border:2px solid #fff;border-radius:2px;box-sizing:border-box;height:50px;margin:31px 0 0;outline:none;padding:0;width:282px}.profile__add-button:hover{cursor:pointer;opacity:.6;transition:.2s}@media screen and (min-width:768px){.profile__add-button{background-size:18px;margin:auto 0 auto auto;width:100px}}@media screen and (min-width:1024px){.profile__add-button{background-size:22px;width:150px}}.profile__name-and-edit{display:flex;flex-direction:row;margin:0;padding:0}.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;height:100%;justify-content:center;left:0;opacity:0;overflow:hidden;position:fixed;top:0;transition:visibility 0s linear .3s,opacity .3s linear;visibility:hidden;width:100%;z-index:10}.popup_opened{opacity:1;transition-delay:0s;visibility:visible}.popup_type_picture{background-color:rgba(0,0,0,.9)}.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;min-height:181px;position:relative;width:282px}@media screen and (min-width:768px){.popup__container{width:430px}}.popup__container_type_picture{background-color:initial;box-shadow:none;margin:0;padding:0;position:relative;width:auto}.popup__figure{margin:0;padding:0}.popup__title{color:#000;font-size:18px;font-style:normal;font-weight:900;line-height:22px;margin:25px 22px 0;padding:0;text-align:start}@media screen and (min-width:768px){.popup__title{align-self:start;font-size:24px;line-height:29px;margin:34px 0 0 36px}}.popup__title_type_info{font-size:20px;font-style:normal;font-weight:900;line-height:24px;margin:0 18px 50px;text-align:center;white-space:pre-line}@media screen and (min-width:768px){.popup__title_type_info{margin:0 auto 60px}}.popup__form{display:flex;flex-direction:column;margin:0;padding:0;width:100%}.popup__field{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-size:14px;font-style:normal;font-weight:400;line-height:27px;margin:69px 22px 0;padding:0}.popup__field:last-of-type{margin:0 22px}@media screen and (min-width:768px){.popup__field{margin:44px 36px 0}.popup__field:last-of-type{margin:0 36px}}.popup__field_type_error{border-bottom:1px solid red}.popup__field_margin_top:last-of-type{margin-top:44px}.popup__image{margin:0;max-height:75vh;max-width:75vw;object-fit:contain;object-position:center center;padding:0}.popup__image_type_info{height:120px;margin:50px 80px 40px;width:120px}@media screen and (min-width:768px){.popup__image_type_info{margin:60px 155px 32px}}.popup__image-caption{font-size:12px;line-height:15px}.popup__image-caption,.popup__submit-button{color:#fff;font-style:normal;font-weight:400}.popup__submit-button{background-color:#000;border:none;border-radius:2px;box-sizing:border-box;font-size:14px;line-height:17px;margin:33px 22px 24px;min-height:46px;padding:0;text-align:center}.popup__submit-button:hover{cursor:pointer;opacity:.8;transition:.2s}@media screen and (min-width:768px){.popup__submit-button{font-size:18px;line-height:22px;margin:20px 36px 37px;min-height:50px}}.popup__submit-button_disabled{background-color:#fff;border:1px solid #000;color:#000;opacity:.2;pointer-events:none;-webkit-user-select:none;user-select:none}.popup__close-button{background-color:initial;background-image:url(/mesto/static/media/close-button.b793e07c3f4c19e26c11.svg);background-position:50%;background-repeat:no-repeat;background-size:20px;border:none;box-sizing:border-box;height:20px;padding:0;position:absolute;right:0;top:-36px;width:20px}.popup__close-button:hover{cursor:pointer;opacity:.6;transition:.2s}@media screen and (min-width:768px){.popup__close-button{background-size:32px;height:32px;right:-40px;top:-40px;width:32px}}.popup__error{color:red;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:0 22px;min-height:30px;opacity:0;padding:0;transition:visibility 0s linear .2s,opacity .2s linear;visibility:hidden;z-index:2}.popup__error:last-of-type{min-height:15px}@media screen and (min-width:768px){.popup__error{margin:0 36px}.popup__error,.popup__error:last-of-type{min-height:30px}}.popup__error_visible{opacity:1;transition-delay:0s;visibility:visible}.elements{grid-gap:20px;display:grid;gap:20px;grid-area:elements;grid-template-columns:1fr;margin:36px 19px 0}@media screen and (min-width:768px){.elements{gap:20px 17px;grid-template-columns:repeat(2,1fr);margin:50px auto 0;padding-left:35px;padding-right:35px}}@media screen and (min-width:1024px){.elements{grid-template-columns:repeat(3,1fr);margin:50px auto 0;padding:0}}.element{background-color:#fff;border-radius:10px;display:grid;margin:0;position:relative;width:282px}.element__image{border-radius:10px 10px 0 0;box-sizing:border-box;height:282px;object-fit:cover;object-position:center center;width:100%}.element__image:hover{cursor:pointer}.element__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:190px}.element__caption{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:22px 20px 22px 21px;padding:0}.element__heart-likes{display:flex;flex-direction:column;margin:0;padding:0}.element__heart-button{background-color:#fff;background-image:url(/mesto/static/media/heart-button.87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;border:none;box-sizing:border-box;height:19px;margin:0;padding:0;width:22px}.element__heart-button:hover{cursor:pointer;opacity:.5;transition:.2s}.element__likes-counter{color:#000;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0;min-height:16px;padding:0;text-align:center}.element__heart-button_active{background-image:url(/mesto/static/media/heart-button_active.fe17a515669479b1e649.svg)}.element__delete-button{background-color:initial;background-image:url(/mesto/static/media/delete-button.823b0cf1b0b7e9cb7cad.svg);background-position:50%;background-repeat:no-repeat;border:none;box-sizing:border-box;height:19px;padding:0;position:absolute;right:20px;top:20px;width:18px}.element__delete-button:hover{cursor:pointer;opacity:.6;transition:.2s}.element__delete-button_disable{display:none}.footer{display:flex;flex-direction:row;grid-area:footer;margin:48px auto 36px;width:282px}@media screen and (min-width:768px){.footer{margin:48px auto 36px 0;width:318px}}@media screen and (min-width:1024px){.footer{margin:66px auto 60px 0}}.footer__copyright{color:#545454;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0}@media screen and (min-width:1024px){.footer__copyright{font-size:18px;line-height:22px}}
/*# sourceMappingURL=main.62069fb2.css.map*/