/*! 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:700;src:url(a808c21aaa221f6d24f9.woff2) format("woff2"),url(1c3dfbb05cd4ae02710e.woff) format("woff")}@font-face{font-family:Inter;font-weight:400;src:url(6cc68d6b835a3dd06e7e.woff2) format("woff2"),url(8398b3762d7b06fc3b8c.woff) format("woff")}@font-face{font-family:Inter;font-weight:600;src:url(625474d6ebbfe4e3b0ae.woff2) format("woff2"),url(25b1ffc9587070462342.woff) format("woff")}@font-face{font-family:Inter;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
html{height:100%}
.page{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-rendering:optimizeLegibility;background-color:#000;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;font-family:Inter,Arial,sans-serif;margin:0 auto;max-width:1280px;min-height:100%;padding:0 12.31%}@media (min-width:1280px){.page{padding:0 200px}}@media (max-width:320px){.page{padding:0}}
.header{display:flex;flex-direction:column;justify-content:flex-start;width:100%}.header:nth-child(n){margin-bottom:36px;margin-top:45px}.header:after{background-color:#545454;content:"";height:1px;width:100%}@media (max-width:320px){.header:nth-child(n){margin-bottom:42px;margin-top:28px}}
.header__logo{max-width:142px}.header__logo:nth-child(n){margin-bottom:41px}@media (max-width:320px){.header__logo{max-width:104px}.header__logo:nth-child(n){margin-bottom:28px;padding-left:27px}}
.profile{align-items:center;display:grid;grid-template-areas:"avatar info btn-add" "avatar subtitle btn-add";grid-template-columns:repeat(auto-fit,14% 66% 17%);max-width:100%}.profile:nth-child(n){margin-bottom:50px}@media (max-width:1167px){.profile{grid-template-areas:"avatar" "info" "subtitle" "btn-add";grid-template-columns:1fr;justify-content:center;justify-items:center}.profile:nth-child(n){margin-bottom:34px}}
.profile__edit-avatar{background-color:rgba(0,0,0,.8);border:none;grid-area:avatar;position:relative}.profile__edit-avatar:hover{cursor:pointer;opacity:.8}@media (max-width:1167px){.profile__edit-avatar:nth-child(n){margin-bottom:21px}}
.profile__avatar-change{background-color:transparent;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;display:none;height:26px;left:45%;margin:0;outline:none;padding:0;position:absolute;top:40%;width:26px;z-index:1}.profile__avatar-change:hover{cursor:pointer}@media (max-width:1168px){.profile__avatar-change{left:40%;top:40%}}
.profile__avatar-change_active{display:block}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__info{align-items:center;display:flex;grid-area:info;padding-left:30px}@media (max-width:1167px){.profile__info:nth-child(n){margin-bottom:4px;padding:0}}
.profile__title{font-size:42px;font-weight:500;grid-area:title;line-height:114%;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.profile__title:nth-child(n){margin-right:18px;margin-top:10px}@media (max-width:768px){.profile__title:nth-child(n){margin-right:10px}}@media (max-width:767px){.profile__title{font-size:27px}}
.profile__subtitle{align-self:start;font-size:18px;font-weight:400;grid-area:subtitle;line-height:22px;margin:0;overflow:hidden;padding:0 0 0 30px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1167px){.profile__subtitle:nth-child(n){margin-bottom:30px;padding:0}}@media (max-width:767px){.profile__subtitle{font-size:14px}}
.profile__button-change{background-color:#000;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:10px 10px;border:1px solid #fff;box-sizing:border-box;color:#fff;cursor:pointer;grid-area:btn-change;margin:0;padding:0;transition:.2s linear}.profile__button-change:nth-child(n){margin-top:15px;padding:24px 24px 0 0}.profile__button-change:hover{opacity:.6;transition:opacity .2s linear}@media (max-width:768px){.profile__button-change{background-size:7px 7px}.profile__button-change:nth-child(n){margin-top:10px;padding:18px 18px 0 0}}
.profile__button-add{background-color:transparent;background-image:url(bed8c136e13907f5eefb.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;grid-area:btn-add;margin:0;padding:23px 0;transition:.2s linear;width:150px}.profile__button-add:hover{opacity:.6;transition:opacity .2s linear}@media (max-width:1167px){.profile__button-add{background-size:16px 16px;padding:24px 0;width:282px}}
.gallery__list{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,282px);justify-content:center;list-style:none;margin:0;padding:0;row-gap:20px}.gallery__list:nth-child(n){margin-bottom:47px}@media (max-width:320px){.gallery__list:nth-child(n){margin-bottom:30px}}
.gallery__item{border-radius:10px;margin:0;overflow:hidden;padding:0;position:relative}
.gallery__pic{cursor:pointer;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;vertical-align:top;width:100%}
.gallery__container-descriprion{background-color:#fff;display:flex;justify-content:space-between;margin:0;padding:0}.gallery__container-descriprion:nth-child(n){padding:25px 21px 26px 15px}
.gallery__item-descriprion{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.gallery__button-like{background-color:transparent;background-image:url(1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;border:none;height:19px;line-height:100%;transition:.2s linear;width:22px}.gallery__button-like:hover{cursor:pointer;opacity:.6;transition:opacity .2s linear}
.gallery__show-like{color:#000;font-size:13px;line-height:16px;margin:0;padding:0;text-align:center}
.gallery__button-delete{background-color:transparent;background-image:url(ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;border:none;line-height:100%;min-height:19px;position:absolute;right:20px;top:20px;transition:.2s linear;width:18px}.gallery__button-delete:hover{cursor:pointer;opacity:.6;transition:opacity .2s linear}
.gallery__button-like_active{background-image:url(35948469632d0421d697.svg);opacity:1}
.footer{display:flex;justify-content:flex-start;width:100%}.footer:nth-child(n){margin-bottom:60px;margin-top:auto}@media (max-width:320px){.footer{box-sizing:border-box}.footer:nth-child(n){margin-bottom:36px;padding-left:19px}}
.footer__author{color:#545454;font-size:18px;font-weight:400;line-height:22px}@media (max-width:320px){.footer__author{font-size:14px;line-height:17px}}
.pop-up{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;margin:0 auto;opacity:.5;position:fixed;top:0;transition:visibility .3s,opacity .3s ease-in-out;visibility:hidden;width:100%}
.pop-up_opened{opacity:1;visibility:visible}
.pop-up__forms{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;color:#000;position:relative;width:430px}.pop-up__forms:nth-child(n){padding:34px 36px 37px}@media (max-width:768px){.pop-up__forms{width:282px}.pop-up__forms:nth-child(n){padding:25px 22px}}
.pop-up__btn-close{background:transparent;background-image:url(039f1f5203f653b4bacd.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.pop-up__btn-close:hover{cursor:pointer;opacity:.6}@media (max-width:768px){.pop-up__btn-close{height:20px;right:0;top:-36px;width:20px}}
.pop-up__title{font-size:24px;font-weight:900;line-height:29px;margin:0;padding:0}.pop-up__title:nth-child(n){margin-bottom:54px}@media (max-width:768px){.pop-up__title{font-size:18px;line-height:22px}.pop-up__title:nth-last-child(n){margin-bottom:75px}}
.pop-up__profile-input{background-color:transparent;border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:100%;font-size:14px;line-height:17px;margin:0 0 30px;outline:none;padding:0 0 10px;width:100%}.pop-up__profile-input:focus::-moz-placeholder{color:transparent}.pop-up__profile-input:focus:-ms-input-placeholder{color:transparent}.pop-up__profile-input:focus::placeholder{color:transparent}
.pop-up__profile-input_error{border-bottom:1px solid red;margin-bottom:5px}
.pop-up__profile-input_valid{border-bottom:1px solid green}
.pop-up__btn-save{background:transparent;background-color:#000;border:none;border-radius:2px;box-sizing:border-box;color:#fff;font-size:18px;font-weight:400;line-height:22px;margin:0;padding:0;width:100%}.pop-up__btn-save:nth-last-child(n){margin-top:24px;padding:14px 0 18px}.pop-up__btn-save:hover{cursor:pointer;opacity:.8}@media (max-width:768px){.pop-up__btn-save:nth-last-child(n){margin-top:15px;padding-bottom:15px}}
.pop-up__btn-save_inactive{background:#e5e5e5;border:1px solid #000;color:#000}.pop-up__btn-save_inactive:hover{cursor:default;opacity:1}
.pop-up__container-image{max-height:100%;max-width:100%;position:relative}
.pop-up__gallery-image{margin:0;max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;vertical-align:top}
.pop-up__desctiption-image{font-size:12px;font-weight:400;line-height:15px;margin:10px 0 0;padding:0}
.pop-up__input-error{color:red;display:block;font-size:12px;line-height:15px;margin-bottom:15px}

