/*! 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")}
.page{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;background:#000;box-sizing:border-box;color:#fff;font-family:Inter,Arial,sans-serif;font-style:normal;min-height:100vh;min-width:320px;text-rendering:optimizeLegibility}
.button{background-color:transparent;background-position:50%;background-repeat:no-repeat;box-sizing:border-box;cursor:pointer;padding:0;transition:opacity .2s linear}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin:0 auto;max-width:880px;min-height:73px;padding-top:45px}@media screen and (max-width:917px){.header{width:100%}}@media screen and (max-width:618px){.header{min-height:56px;padding-top:28px}}
.header__logo{border:none;width:142px}@media screen and (max-width:917px){.header__logo{margin-left:27px}}@media screen and (max-width:618px){.header__logo{width:104px}}
.main{min-height:calc(100vh - 268px)}@media screen and (max-width:917px){.main{min-height:calc(100vh - 226px)}}@media screen and (max-width:618px){.main{min-height:calc(100vh - 186px)}}
.profile{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:880px;padding-top:40px}@media screen and (max-width:917px){.profile{flex-direction:column;padding-top:42px}}
.profile__wrapper{display:flex;max-width:486px;width:100%}@media screen and (max-width:917px){.profile__wrapper{align-items:center;flex-direction:column;max-width:282px}}
.profile__button-change{border:none;outline:none;position:relative}.profile__button-change:before{background-color:transparent;background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:all .2s linear;width:100%}.profile__button-change:hover:before{background-color:rgba(0,0,0,.8);opacity:1}
.profile__avatar{border-radius:50%;display:block;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__info{align-items:baseline;align-self:center;display:flex;flex-wrap:wrap;margin:0;max-width:336px;padding:0 0 0 30px;width:100%}@media screen and (max-width:917px){.profile__info{padding-left:0;padding-top:26px}}
.profile__title-name{font-size:42px;font-weight:500;line-height:1.14;margin:0 18px 16px 0;max-width:294px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:917px){.profile__title-name{font-size:27px;line-height:1.22;margin:0 10px 4px 47px;max-width:189px;text-align:center;width:100%}}
.profile__button-edit{background-image:url(8667ac4a523e8fc42e59.svg);border:1px solid #fff;height:24px;width:24px}.profile__button-edit:hover{opacity:.6}@media screen and (max-width:917px){.profile__button-edit{background-size:8px;height:18px;width:18px}}
.profile__subtitle{font-size:18px;font-weight:400;line-height:1.22;margin:0;min-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:917px){.profile__subtitle{font-size:14px;line-height:1.21;margin-bottom:36px;text-align:center}}
.profile__button-add{background-image:url(d86bb2edc2f6eadb96b7.svg);border:2px solid #fff;border-radius:2px;height:50px;margin-bottom:10px;width:150px}.profile__button-add:hover{opacity:.6}@media screen and (max-width:917px){.profile__button-add{background-size:16px;margin-bottom:0;width:282px}}
.elements{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,1fr);margin:0 auto;max-width:880px;padding:50px 0 0;row-gap:20px}@media screen and (max-width:917px){.elements{grid-template-columns:1fr 1fr;padding-top:36px;width:calc(100% - 38px)}}@media screen and (max-width:618px){.elements{grid-template-columns:1fr}}
.element{background-color:#fff;border-radius:10px;color:#000;min-width:282px;overflow:hidden;position:relative}
.element__button-delete{background-image:url(823b0cf1b0b7e9cb7cad.svg);border:none;display:none;height:19px;position:absolute;right:20px;top:20px;width:18px}.element__button-delete:hover{opacity:.6}
.element__button-delete_active{display:block}
.element__image{cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}
.element__like-wrapper{align-items:center;display:flex;flex-direction:column;justify-content:space-between}
.element__button-like{background-image:url(77ea1611be45fdeca1cc.svg);border:none;height:19px;transition:.2s;width:22px}.element__button-like:hover{opacity:.5}
.element__count-like{font-size:13px;line-height:16px;margin:3px auto 0}
.element__button-like_active{background-image:url(fe17a515669479b1e649.svg)}
.element__caption{align-items:center;box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;margin:25px 20px 25px 21px;max-width:calc(100% - 36px)}
.element__caption-text{font-size:24px;font-weight:900;line-height:1.21;margin:0 10px 0 0;max-width:calc(100% - 32px);overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.footer{margin:0 auto;max-width:880px;padding:66px 0 60px}@media screen and (max-width:917px){.footer{padding-bottom:36px;padding-top:48px;width:calc(100% - 38px)}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:1.22;margin:0}@media screen and (max-width:618px){.footer__copyright{font-size:14px;line-height:1.21}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;min-width:320px;opacity:0;position:absolute;position:fixed;top:0;transition:visibility .2s linear,opacity .2s linear;visibility:hidden;width:100%}
.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;color:#000;padding:34px 36px 37px;position:relative;width:430px}@media screen and (max-width:618px){.popup__container{max-width:430px;padding:25px 22px;width:calc(100% - 38px)}}
.popup_type_image{background-color:rgba(0,0,0,.9)}
.popup__image-container{box-sizing:border-box;margin:0 auto;padding:0;position:relative}
.popup__image{display:block;height:100%;margin:0 auto;max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover;width:100%}
.popup__image-subtitle{font-size:12px;font-weight:400;line-height:1.25;margin:10px 0 0;padding:0}
.popup_opened{opacity:1;visibility:visible}
.popup__button-close{background-image:url(2ceb783afbab75916ddc.svg);border:none;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.popup__button-close:hover{opacity:.6}@media screen and (max-width:618px){.popup__button-close{background-size:20px;height:20px;right:0;top:-36px;width:20px}}
.form__header{font-size:24px;font-weight:900;line-height:1.21;margin:0 0 54px}@media screen and (max-width:618px){.form__header{font-size:18px;line-height:1.22;margin-bottom:75px}}
.form__input{box-sizing:border-box;font-size:14px;font-weight:400;line-height:1.21;margin:0 0 5px;padding-bottom:10px;width:100%}.form__input,.form__input:focus{border:none;border-bottom:1px solid rgba(0,0,0,.2)}.form__input:focus{outline:none}
.form__input_type_error{border-bottom:1px solid red}
.form__input-error{color:red;display:block;font-size:12px;font-weight:400;line-height:15px;line-height:.8;margin-bottom:13px;min-height:20px;opacity:0;transition:.3s}
.form__input-error_active{opacity:1}
.form__button-submit{background-color:#000;border:none;border-radius:2px;color:#fff;font-size:18px;font-weight:400;height:50px;line-height:1.22;margin:18px 0 0;max-width:358px;text-align:center;width:100%}.form__button-submit:hover{opacity:.8}@media screen and (max-width:618px){.form__button-submit{font-size:14px;height:46px;line-height:1.21;margin-top:15px}}
.form__button-submit_inactive{background-color:transparent;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2)}

