/*! 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) format("woff2"),url(8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
.root{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#000;box-sizing:border-box;color:#fff;font-family:Inter,Arial,sans-serif;min-height:100vh;width:100%}
.root__container{box-sizing:border-box;margin:0 auto;max-width:880px}@media screen and (max-width:938px){.root__container{margin:0;max-width:100%;padding:0 19px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin-top:45px;padding-bottom:37px}@media screen and (max-width:800px){.header{margin-top:28px;padding-bottom:29px;padding-left:27px}}
.header__logo{height:33px;-o-object-fit:contain;object-fit:contain;width:142px}@media screen and (max-width:800px){.header__logo{height:25px;width:104px}}
.logo{display:block}
.root__user-profile{margin:40px 0 51px}@media screen and (max-width:400px){.root__user-profile{margin-bottom:34px}}
.user-profile{align-items:center;display:grid;gap:30px;grid-template-columns:120px auto 150px;width:100%}@media screen and (max-width:800px){.user-profile{gap:0;grid-template-columns:1fr;justify-items:center}}
.user-profile__avatar-wrapper{border-radius:50%;cursor:pointer;height:120px;position:relative;width:120px}.user-profile__avatar-wrapper:before{background:url(a086f758840ae814ecde.svg) no-repeat 50% #000;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s linear}.user-profile__avatar-wrapper:hover:before{background-color:rgba(0,0,0,.8);opacity:1}
.user-profile__photo{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}@media screen and (max-width:800px){.user-profile__photo{margin-bottom:26px}}
.user-profile__info-wrapper{align-items:baseline;-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:294px 1fr;row-gap:8px}@media screen and (max-width:800px){.user-profile__info-wrapper{-moz-column-gap:10px;column-gap:10px;margin-bottom:36px}}@media screen and (max-width:400px){.user-profile__info-wrapper{grid-template-columns:auto 37px;margin-bottom:34px;row-gap:8px;width:100%}}
.user-profile__name{color:#fff;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:290px}@media screen and (max-width:800px){.user-profile__name{font-size:27px;line-height:33px;text-align:center}}@media screen and (max-width:400px){.user-profile__name{justify-self:end;text-align:end;width:200px}}
.user-profile__job{color:#fff;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:327px}@media screen and (max-width:800px){.user-profile__job{font-size:14px;justify-self:center;line-height:17px;text-align:center}}@media screen and (max-width:400px){.user-profile__job{justify-self:end;width:190px}}
.user-profile__edit{background-color:transparent;background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;background-size:10px 10px;border:1px solid #fff;box-sizing:border-box;cursor:pointer;height:24px;padding:0;transition:opacity .2s ease-in-out;width:24px}.user-profile__edit:hover{opacity:.6}@media screen and (max-width:800px){.user-profile__edit{background-size:7.5px 7.5px;height:18px;width:18px}}
.user-profile__add-place{background-color:transparent;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;background-size:22px 22px;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;height:50px;transition:opacity .2s ease-in-out;width:150px}.user-profile__add-place:hover{opacity:.6}@media screen and (max-width:800px){.user-profile__add-place{background-size:16px 16px;width:100%}}
.places{max-width:100%}
.places__list{display:grid;gap:20px 17px;grid-auto-flow:dense;grid-template-columns:repeat(auto-fit,282px);justify-content:center;list-style-type:none;margin:0;padding:0}
.places__item{box-sizing:border-box;width:282px}
.place{cursor:pointer;position:relative;width:100%}
.place__image{border-radius:10px 10px 0 0;cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}
.place__delete{background-color:transparent;background-image:url(cbc09a894bdd4c956365.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:19px;min-width:18px;padding:0;position:absolute;right:20px;top:20px;transition:opacity .2s ease-in-out;width:18px}.place__delete:hover{opacity:.6}
.place__info{align-items:center;background-color:#fff;border-radius:0 0 10px 10px;display:flex;gap:25px;justify-content:space-between;padding:22px 21px 22px 19px}@media screen and (max-width:800px){.place__info{padding:25px 15px 31px 21px}}@media screen and (max-width:400px){.place__info{padding:25px 20px 26px 21px}}
.place__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}
.place__like{background-color:transparent;background-image:url(87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:19px;min-width:22px;padding:0;transition:opacity .2s ease-in-out;width:22px}.place__like:hover{opacity:.5}
.place__num-of-likes{color:#000;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0;text-align:center}
.place__like_active{background-image:url(fe17a515669479b1e649.svg)}
.footer{padding-bottom:60px;padding-top:67px}@media screen and (max-width:800px){.footer{padding-bottom:36px;padding-top:48px}}
.footer__text{color:#545454;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:800px){.footer__text{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility .5s linear,opacity .5s linear;visibility:hidden;width:100%}
.popup_opened{opacity:1;visibility:visible}
.popup_big-image_bgc{background-color:rgba(0,0,0,.9)}
.popup__form{display:flex;flex-direction:column}
.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;padding:34px 36px 37px;position:relative;width:430px}@media screen and (max-width:800px){.popup__container{padding:25px 22px;width:282px}}
.popup__close-btn{background-color:transparent;background-image:url(2ceb783afbab75916ddc.svg);background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:32px;position:absolute;right:-40px;top:-40px;transition:opacity .2s ease-in-out;width:32px}.popup__close-btn:hover{opacity:.6}@media screen and (max-width:800px){.popup__close-btn{height:20px;right:0;top:-36px;width:20px}}
.popup__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 43px}@media screen and (max-width:800px){.popup__title{font-size:18px;line-height:22px;margin-bottom:72px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-family:Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:28px;outline:none;padding:2px 0;width:100%}.popup__input::-moz-placeholder{color:rgba(0,0,0,.2)}.popup__input::placeholder{color:rgba(0,0,0,.2)}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input-error{color:red;font-size:12px;font-weight:400;line-height:14.5px;min-height:24px}
.popup__save-btn{background-color:#000;border-radius:2px;box-sizing:border-box;color:#fff;cursor:pointer;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin-top:24px;text-align:center;transition:opacity .2s ease-in-out;width:100%}.popup__save-btn:hover{opacity:.8}@media screen and (max-width:800px){.popup__save-btn{font-size:14px;height:46px;line-height:17px}}
.popup__save-btn_disabled{background-color:transparent;border:1px solid #000;color:#000;opacity:.2;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}
.popup__image-container{box-sizing:border-box;position:relative;width:-moz-fit-content;width:fit-content}@media screen and (max-width:800px){.popup__image-container{margin:50px 40px}}
.popup__image-big{display:block;max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain}@media screen and (orientation:portrait){.popup__image-big{height:75vh;max-width:100%;min-height:299px;-o-object-fit:cover;object-fit:cover}}
.popup__image-title{color:#fff;font-family:Inter;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:10px 0 0}

