/*! 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")}
.header{border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box;display:flex;justify-content:flex-start;margin:0 auto;max-width:880px;padding-bottom:41px;padding-top:45px}@media (max-width:907px){.header{padding-left:27px;width:100%}}@media (max-width:425px){.header{padding-bottom:32px;padding-top:28px}}
@media (max-width:425px){.header__logo{width:103.74px}}
.page{background-color:#000;color:#fff;font-family:Inter,Arial,sans-serif}
.content{box-sizing:border-box;margin:0 auto;max-width:880px;padding-bottom:66px;padding-top:40px}@media (max-width:918px){.content{padding-left:19px;padding-right:19px;width:100%}}@media (max-width:425px){.content{padding-bottom:48px;padding-top:42px}}
.profile{box-sizing:border-box;-moz-column-gap:30px;column-gap:30px;display:grid;grid-template-columns:120px 336px 1fr;margin-bottom:47px;width:100%}@media (max-width:770px){.profile{grid-template-columns:1fr;justify-items:center;margin-bottom:36px;row-gap:26px;text-align:center}}
.profile__add-button{align-self:center;background-color:transparent;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;font-size:0;justify-self:right;line-height:0;margin-bottom:7px;outline:none;padding-bottom:12px;padding-top:12px;transition:opacity .2s ease-in;width:150px}.profile__add-button:hover{opacity:.6}@media (max-width:770px){.profile__add-button{margin-bottom:0;margin-top:5px;padding-bottom:15px;padding-top:15px;width:100%}}
.profile__avatar{aspect-ratio:1/1;border-radius:120px;max-width:120px;-o-object-fit:cover;object-fit:cover}
.profile__description{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:282px;overflow:hidden;padding-top:8px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:770px){.profile__description{font-size:14px;line-height:17px}}
.profile__edit-button{align-self:center;background:transparent;border:1px solid #fff;box-sizing:border-box;cursor:pointer;font-size:0;height:24px;line-height:0;margin:5px 0 0 18px;outline:none;transition:opacity .2s ease-in;width:24px}.profile__edit-button:hover{opacity:.6}@media (max-width:770px){.profile__edit-button{height:18px;margin-left:10px;margin-top:0;padding:4.25px;width:18px}}
.profile__info{box-sizing:border-box;margin:0;padding-bottom:25px;padding-top:22px}@media (max-width:770px){.profile__info{padding:0}}
.profile__name{display:block;font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:770px){.profile__name{font-size:27px;line-height:33px;margin-left:28px;max-width:230px}}
.profile__name-wrapper{align-items:baseline;display:inline-flex}
@media (max-width:770px){.profile__edit-icon{height:7.5px;width:7.5px}}
@media (max-width:770px){.profile__add-icon{height:16px;width:16px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;color:#000;display:flex;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility .4s,opacity .5s linear;visibility:hidden}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;max-width:430px;padding:34px 36px 37px;position:relative;width:100%}@media (max-width:770px){.popup__container{margin-left:19px;margin-right:19px;padding:25px 22px}}
.popup__close-icon{margin:0 auto}@media (max-width:770px){.popup__close-icon{height:20px;width:20px}}
.popup__close-button{background-color:transparent;border:none;cursor:pointer;margin:0;outline:none;padding:0;position:absolute;right:-8px;top:-8px;transform:translateX(100%) translateY(-100%);transition:opacity .2s ease-in}.popup__close-button:hover{opacity:.6}@media (max-width:770px){.popup__close-button{right:0;top:-16px;transform:translateX(0) translateY(-100%)}}
.popup__form{box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:0 auto;padding:0;width:100%}
.popup__form-title{font-size:24px;font-weight:900;line-height:29px;margin-bottom:49px;margin-top:0}@media (max-width:770px){.popup__form-title{font-size:18px;line-height:22px;margin-bottom:45px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-size:14px;font-weight:400;line-height:17px;outline:none;padding-bottom:9px;width:100%}
.popup__button{background-color:#000;border:none;box-sizing:border-box;color:#fff;cursor:pointer;font-size:18px;font-weight:400;line-height:22px;margin-top:18px;outline:none;padding-bottom:14px;padding-top:14px;transition:opacity .2s ease-in;width:100%}.popup__button:hover{opacity:.8}.popup__button:disabled{background:#e5e5e5}@media (max-width:770px){.popup__button{font-size:14px;line-height:17px;margin-top:15px}}
.popup_opened{opacity:1;visibility:visible}
.gallery{box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:grid;grid-template-columns:1fr 1fr 1fr;margin:0 auto;max-width:880px;row-gap:17px;width:100%}@media (max-width:918px){.gallery{grid-template-columns:282px 282px;justify-content:center;padding-left:19px;padding-right:19px}}@media (max-width:620px){.gallery{grid-template-columns:282px;row-gap:20px}}
.gallery__element-description{font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:210px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}
.gallery__element-description-wrapper{align-items:center;background-color:#fff;color:#000;display:flex;justify-content:space-between;overflow:hidden;padding:24px 20px 26px 21px;text-overflow:ellipsis;white-space:nowrap}
.gallery__element{border-radius:10px;box-sizing:border-box;display:flex;flex-direction:column;max-width:282px;overflow:hidden;position:relative;width:100%}
.gallery__like{background-color:transparent;background-image:url(87ed371465c7a6a1cd01.svg);background-repeat:no-repeat;border:none;border-radius:2px;cursor:pointer;height:19px;outline:none;padding:0;transition:opacity .2s ease-in;width:22px}.gallery__like:hover{opacity:.5}
.gallery__photo{cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}
.gallery__like_active{background-image:url(fe17a515669479b1e649.svg)}
.gallery__trash{background-color:transparent;background-repeat:no-repeat;border:none;cursor:pointer;outline:none;padding:0;position:absolute;right:20px;top:20px;transition:opacity .2s ease-in}.gallery__trash:hover{opacity:.5}
.footer{box-sizing:border-box;margin:0 auto;max-width:880px;padding-bottom:60px;width:100%}@media (max-width:907px){.footer{padding-bottom:36px;padding-left:18px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media (max-width:907px){.footer__copyright{font-size:14px;line-height:17px}}
.popup__gallery-container{margin:0 auto;max-height:75vh;max-width:75vw;position:relative}
.popup__gallery-description{color:#fff;font-size:12px;font-weight:400;line-height:15px;margin:0;padding-top:10px;position:absolute;top:100%}
.popup__gallery-photo{max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover;width:100%}
.popup__error{display:block;min-height:30px}
.popup__error_visible{color:red;font-size:12px;font-weight:400;line-height:15px}
.popup__input_type_error{border-bottom:1px solid red}
.popup_background_dark{background-color:rgba(0,0,0,.9)}
.gallery__like-counter{font-size:13px;font-weight:400;height:13px;line-height:16px;margin:0 auto;outline:none;text-align:center;width:10px}
.popup__delete-title{font-size:24px;font-weight:900;line-height:29px;margin-bottom:16px;margin-top:0}
.gallery__trash_hidden{display:none}
.profile__avatar-wrapper{position:relative}
.profile__avatar-edit{background:transparent;border:none;cursor:pointer;outline:none;transition:all .2s ease-in-out}.profile__avatar-edit:active{transform:translate(3px,3px)}
.profile__avatar-overlay{align-items:center;background:rgba(0,0,0,.8);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:all .3s ease-in-out;width:100%}.profile__avatar-overlay:hover{opacity:1}

