/*! 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-family:inter;font-weight:900;src:url(143c28420846d45c5834.ttf)}@font-face{font-family:inter;font-weight:500;src:url(68aa71f4a2b837db5ad3.ttf)}@font-face{font-family:inter;font-weight:400;src:url(e89cb19905e7db5591b0.ttf)}
.page{align-items:center;background-color:#000;display:flex;flex-direction:column;position:relative}
.header{display:flex;flex-direction:column;margin:45px auto 0;width:880px}.header:after{background-color:#545454;content:"";height:1px;margin-top:40px;opacity:.7;width:100%}@media screen and (max-width:879px){.header{margin-top:28px;width:100%}.header:after{margin-top:30px}}
.header__logo{align-self:start;background-color:#000;max-width:142px}@media screen and (max-width:879px){.header__logo{margin-left:27px;max-width:105px}}
.content{align-items:center;display:flex;flex-direction:column;margin-top:40px;max-width:880px}@media screen and (max-width:879px){.content{width:100%}}
.profile{align-items:center;display:flex;flex-direction:row;justify-content:space-between;width:880px}@media screen and (max-width:879px){.profile{width:100%}}@media screen and (max-width:650px){.profile{flex-direction:column}}
.profile__info-box{display:flex;flex-direction:row}@media screen and (max-width:650px){.profile__info-box{align-items:center;flex-direction:column}}
.profile__avatar{display:flex;height:120px;position:relative}
.profile__photo{border-radius:50%;height:120px;width:120px}
.profile__change-avatar-btn{background-color:rgba(0,0,0,.8);background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border:none;height:120px;left:0;opacity:0;position:absolute;top:0;transition:.5s ease;width:120px}.profile__change-avatar-btn:hover{opacity:1}
.profile__text{display:flex;flex-direction:column;margin-left:30px}@media screen and (max-width:650px){.profile__text{align-items:center;margin-left:0;margin-top:26px}}
.profile__upper-line{align-items:baseline;display:flex;flex-direction:row}
.profile__name{color:#fff;font-family:Inter,Arial;font-size:42px;font-weight:500;line-height:1.14;margin:21px 0 0;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:750px){.profile__name{font-size:27px;line-height:33px;max-width:269px}}
.profile__edit-button{background:transparent;background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;cursor:pointer;height:24px;margin-left:18px;transition:.5s ease;width:24px}.profile__edit-button:hover{opacity:.6;transition:.5s ease}@media screen and (max-width:650px){.profile__edit-button{height:18px;width:18px}}
.profile__description{color:#fff;font-family:Inter,Arial;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:16px 0 0;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:750px){.profile__description{font-size:14px;line-height:17px;max-width:250px}}
.profile__add-button{background:transparent;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;height:50px;transition:.5s ease;width:150px}.profile__add-button:hover{opacity:.6;transition:.5s ease}@media screen and (max-width:650px){.profile__add-button{margin-top:36px;min-width:282px}}
.pop-up{position:fixed;transition:.5s ease;z-index:2}
.pop-up_visability{opacity:0;transition:.5s ease;visibility:hidden}
.pop-up__box{align-items:center;background-color:#fff;border-radius:10px;box-sizing:border-box;display:flex;flex-direction:column;padding-bottom:37px;width:430px;z-index:2}@media screen and (max-width:650px){.pop-up__box{padding-bottom:25px;width:282px}}
.pop-up__heading{align-self:start;font-family:Inter,Arial;font-size:24px;font-weight:900;line-height:29px;margin:34px 0 0 36px}@media screen and (max-width:650px){.pop-up__heading{font-size:18px;line-height:22px;margin-left:22px;margin-top:25px}}
.pop-up__form{align-items:center;border:none;display:flex;flex-direction:column;margin:0;padding:0;width:calc(100% - 72px)}@media screen and (max-width:650px){.pop-up__edit-form{width:calc(100% - 44px)}}
.pop-up__input{border:none;border-bottom:1px solid #5454;box-sizing:border-box;color:#000;font-family:Inter,Arial;font-size:14px;font-weight:400;height:40px;line-height:17px;padding:13px 0;width:100%}.pop-up__input:first-child{margin-top:41px}.pop-up__input:last-of-type{margin-top:0}@media screen and (max-width:650px){.pop-up__input:first-child{margin-top:62px}}
.pop-up__input_type_error{border-bottom:1px solid red}
.pop-up__input_type_avatar:first-child{margin-top:41px}
.pop-up__input-error{color:red;font-family:Inter,Arial;font-size:12px;font-style:normal;font-weight:400;height:15px;line-height:15px;margin:2px 0 0;padding:0;width:100%}
.pop-up__save-button{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial;font-size:18px;font-weight:400;height:50px;line-height:22px;margin-top:31px;padding:0;text-align:center;transition:.5s ease;width:100%}.pop-up__save-button:hover{opacity:.8;transition:.5s ease}@media screen and (max-width:650px){.pop-up__save-button{font-size:14px;height:46px;line-height:17px;margin-top:45px;width:100%}}
.pop-up__save-button_disabled{background:transparent;border:1px solid #000;box-sizing:border-box;color:#000;opacity:.2}.pop-up__save-button_disabled:hover{cursor:default;opacity:.2}
.pop-up__close-button{border:none;cursor:pointer;height:0;margin:0;-o-object-fit:cover;object-fit:cover;opacity:1;padding:0;position:absolute;right:-8px;top:-40px;transition:.5s ease;width:0}.pop-up__close-button:hover{opacity:.6;transition:.5s ease}@media screen and (max-width:650px){.pop-up__close-button{right:20px;top:-36px}}
@media screen and (max-width:650px){.pop-up__close-icon{height:20px;width:20px}}
.pop-up__overlay{background-color:#000;height:100vh;left:0;opacity:.5;position:fixed;top:0;width:100vw;z-index:-1}
.gallery__table{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,282px);margin-top:50px;min-height:calc(100vh - 490px);padding:0;row-gap:20px}@media screen and (max-width:879px){.gallery__table{-moz-column-gap:auto;column-gap:auto;grid-template-columns:repeat(2,282px)}}@media screen and (max-width:650px){.gallery__table{grid-template-columns:repeat(1,282px);min-height:calc(100vh - 600px)}}
.photo-pop-up{display:flex;flex-direction:row;left:center;position:fixed;top:15vh;transition:.5s ease;z-index:3}
.photo-pop-up__image{max-height:75vh;max-width:75vw}
.photo-pop-up__description{color:#fff;font-family:Inter,Arial;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:10px 0 0;padding:0;text-align:left}
.photo-pop-up__overlay{background-color:#000;height:100vh;left:0;opacity:.9;position:fixed;top:0;width:100vw;z-index:-1}
.place{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;height:329px;padding-bottom:32px;position:relative}
.place__remove{position:absolute;right:20px;top:20px;transition:.5s ease;z-index:1}.place__remove:hover{opacity:.6;transition:.5s ease}
.place__remove_hidden{opacity:0;visibility:hidden}
.place__photo{border-radius:10px 10px 0 0;min-height:282px;-o-object-position:center;object-position:center;width:282px}
.place__subscription{align-items:center;display:flex;flex-direction:row;justify-content:space-between;width:100%}
.place__name{font-family:Inter,Arial;font-size:24px;font-weight:900;line-height:29px;margin:25px 0 32px 21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:70%}
.place__likes{align-items:center;display:flex;flex-direction:column;margin-right:20px}
.place__like{align-self:flex-end;background-color:#fff;background-image:url(7913ddfd147a48616b09.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;transition:.5s ease;width:22px}.place__like:hover{opacity:.5;transition:.5s ease}
.place__like-counter{font-family:Inter;font-size:13px;font-weight:400;line-height:16px;margin-top:3px;transition:.5s ease}
.place__like_active{background-image:url(e787eeb70bb65b7b453a.svg)}
.footer{display:flex;justify-items:start;padding-bottom:60px;width:880px}@media screen and (max-width:879px){.footer{width:100%}}
.footer__copyright{color:#545454;font-family:Inter,Arial;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:66px 0 0}@media screen and (max-width:879px){.footer__copyright{margin-left:19px}}

