/*! 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(c8ba52b05a9ef10f4758.woff2?v=3.19) format("woff2"),url(8c206db99195777c6769.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2?v=3.19) format("woff2"),url(9053572c46aeb4b16caa.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2?v=3.19) format("woff2"),url(c6938660eec019fefd68.woff?v=3.19) format("woff")}
.page{background-color:#000}
.page__container{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#000;box-sizing:border-box;color:#fff;font-family:Inter,Arial,sans-serif;margin:0 auto;max-width:1280px;min-width:320px;padding-bottom:60px;padding-top:45px}@media screen and (max-width:536px){.page__container{padding-bottom:36px;padding-top:28px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box;display:flex;max-width:100%;min-height:74px}@media screen and (max-width:536px){.header{min-height:56px}}
.header__logo{align-self:flex-start;justify-self:start;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:142px}@media screen and (max-width:536px){.header__logo{padding-left:27px;width:104px}}
.header_page_mesto{margin-left:calc(50% - 440px);margin-right:calc(50% - 440px)}@media screen and (max-width:940px){.header_page_mesto{margin-left:30px;margin-right:30px}}@media screen and (max-width:536px){.header_page_mesto{margin-left:0;margin-right:0}}
.content{padding-left:calc(50% - 440px);padding-right:calc(50% - 440px)}@media screen and (max-width:940px){.content{padding-left:30px;padding-right:30px}}@media screen and (max-width:536px){.content{padding-left:19px;padding-right:19px}}
.button{border:none;box-sizing:border-box;padding:0}
.profile{align-items:center;display:flex;gap:30px;min-height:120px;padding-top:40px}@media screen and (max-width:783px){.profile{flex-direction:column;gap:0;height:100%;max-width:100%;padding-top:42px}}
.profile__info{display:flex;flex-direction:column;height:100%;justify-content:center;min-width:0;width:100%}@media screen and (max-width:783px){.profile__info{margin-bottom:34px}}
.profile__avatar-container{height:120px;position:relative;width:120px}@media screen and (max-width:783px){.profile__avatar-container{margin-bottom:26px}}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:120px}
.profile__avatar-edit-button{background-color:rgba(0,0,0,.8);background-image:url(93c771f5f8582261951d.png);background-position:50%;background-repeat:no-repeat;background-size:auto;border-radius:50%;content:"";cursor:pointer;display:block;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s;width:100%}.profile__avatar-edit-button:hover{opacity:1}
.profile__name-container{align-items:baseline;display:flex;gap:18px;max-width:100%;min-width:0}@media screen and (max-width:783px){.profile__name-container{gap:10px;justify-content:center;padding-left:28px}}
.profile__name{font-size:42px;font-weight:500;line-height:1.14;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:783px){.profile__name{font-size:27px;line-height:1.22}}
.profile__desc{font-size:18px;font-weight:400;line-height:1.21;margin:0;max-width:calc(100% - 42px);overflow:hidden;padding-top:9px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:783px){.profile__desc{align-self:center;font-size:14px;line-height:1.21;max-width:100%;padding-top:7px;text-align:center}}
.profile__edit-button{background-color:transparent;background-image:url(a1892ea72cb87c8fc3aa.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;flex-shrink:0;height:24px;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:783px){.profile__edit-button{height:18px;width:18px}}
.profile__add-button{background-color:transparent;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;background-size:22px;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;margin-left:auto;min-width:150px}.profile__add-button:hover{opacity:.6}@media screen and (max-width:783px){.profile__add-button{background-size:16px;margin:0;width:100%}}
.places{padding-top:50px}@media screen and (max-width:783px){.places{padding-top:36px}}
.places__grid{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));list-style:none;margin:0;padding:0;row-gap:20px}
.place{display:flex;flex-direction:column;line-height:0;position:relative}
.place__photo{word-wrap:break-word;border-top-left-radius:10px;border-top-right-radius:10px;cursor:pointer;font-size:18px;height:282px;line-height:1.21;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;transition:opacity .5s;width:100%}.place__photo:hover{opacity:.7}
.place__desc{align-items:center;background-color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px;display:flex;justify-content:space-between;min-height:79px;padding-left:21px;padding-right:20px}
.place__name{color:#000;font-size:24px;font-weight:900;line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.place__like-container{align-items:center;display:flex;flex-direction:column;gap:3px;padding-left:15px}
.place__like-button{background-color:transparent;background-image:url(87ed371465c7a6a1cd01.svg);background-position:100%;background-repeat:no-repeat;cursor:pointer;height:19px;line-height:0;width:22px}.place__like-button:hover{opacity:.5}
.place__like-button_active{background-image:url(fe17a515669479b1e649.svg)}
.place__like-counter{color:#000;font-size:13px;line-height:1.21}
.place__delete-button{background-color:transparent;background-image:url(823b0cf1b0b7e9cb7cad.svg);background-position:100%;background-repeat:no-repeat;cursor:pointer;height:19px;line-height:0;position:absolute;right:20px;top:20px;width:18px;z-index:1}.place__delete-button:hover{opacity:.7}
.place__delete-button_hidden{display:none}
.footer{padding-left:calc(50% - 440px);padding-right:calc(50% - 440px);padding-top:66px}@media screen and (max-width:940px){.footer{padding-left:30px;padding-right:30px;padding-top:48px}}@media screen and (max-width:536px){.footer{padding-left:19px;padding-right:19px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:1.22;margin:0}@media screen and (max-width:783px){.footer__copyright{font-size:14px;line-height:1.21}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100vh;justify-content:center;left:0;opacity:0;pointer-events:none;position:fixed;top:0;transition:visibility 0s .6s,opacity .6s;visibility:hidden;width:100vw}
.popup_opened{opacity:1;pointer-events:all;transition:visibility 0s,opacity .6s;visibility:visible;z-index:1}
.popup_content_figure{background-color:rgba(0,0,0,.9);padding-top:12.5px}@media screen and (max-width:783px){.popup_content_figure{padding-top:12.26px}}
.popup__container{position:relative}@media screen and (max-width:536px){.popup__container{width:88%}}
.popup__close-button{background-color:transparent;background-image:url(2ceb783afbab75916ddc.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;cursor:pointer;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.popup__close-button:hover{opacity:.6}@media screen and (max-width:783px){.popup__close-button{height:20px;right:0;top:-36px;width:20px}}
.popup__figure{margin:0}
.popup__image{max-height:75vh;max-width:75vw}
.popup__caption{font-size:12px;line-height:1.25;overflow:hidden;padding-top:10px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:783px){.popup__caption{line-height:1.21}}
.form{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;padding:34px 36px 36px;width:430px}@media screen and (max-width:536px){.form{padding:25px 22px;width:100%}}
.form__heading{color:#000;font-size:24px;font-weight:900;line-height:1.21;margin:0 0 48px}@media screen and (max-width:536px){.form__heading{font-size:18px;line-height:1.22;margin-bottom:75px}}
.form__input-container{border:none;font-size:0;margin:0 0 19px;padding:0}@media screen and (max-width:536px){.form__input-container{margin-bottom:12px}}
.form__field{margin-bottom:4px;position:relative}.form__field:last-child{margin-bottom:0}@media screen and (max-width:536px){.form__field{margin-bottom:0}}
.form__input{background-color:transparent;border:0;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;color:#000;font-size:14px;font-weight:400;line-height:1.21;outline:none;padding:0 0 9px;width:100%}.form__input:focus{box-shadow:0 0 2px 2px rgba(0,0,0,.2);outline:1px solid rgba(0,0,0,.2)}.form__input::placeholder{color:#d3d3d3;font-family:inherit;font-size:14px;line-height:1.21}.form__input::-webkit-input-placeholder{color:#d3d3d3;font-family:inherit;font-size:14px;line-height:1.21}.form__input::-moz-placeholder{color:#d3d3d3;font-family:inherit;font-size:14px;line-height:1.21}.form__input::-ms-input-placeholder{color:#bcbcc4;font-family:inherit;font-size:14px;line-height:1.21}
.form__input-error{color:red;display:inline-block;font-size:12px;font-weight:400;line-height:1.21;min-height:29.04px;padding-top:1px;width:100%}@media screen and (max-width:536px){.form__input-error{min-height:27px}}
.form__input_invalid{border-bottom-color:red}
.form__button{background-color:#000;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;height:50px;line-height:1.22;padding-bottom:18px;padding-top:14px;text-align:center;width:100%}.form__button:hover{background-color:rgba(0,0,0,.8)}@media screen and (max-width:536px){.form__button{font-size:14px;height:46px;line-height:1.21}}
.form__button-text{font-size:18px;line-height:1.22;text-align:center}@media screen and (max-width:536px){.form__button-text{font-size:14px;line-height:1.21}}
.form__button_inactive{background-color:#fff;border:1px solid #000;color:#000;opacity:.2;pointer-events:none}

