/*! 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(6db7e439cc4b0e5c0cd2.woff2?v=3.19) format("woff2"),url(7ddb89dcdb33dd761944.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")}
.page{background-color:#000}
.page_container{color:#fff;display:flex;flex-direction:column;font-family:Inter,Arial,sans-serif;font-weight:400;margin:0 auto;max-width:1280px;min-height:100vh;min-width:320px;padding:45px 0 60px}@media screen and (max-width:568px){.page_container{padding:28px 0 36px}}
.page__content{box-sizing:border-box;display:flex;flex-direction:column;margin:0 auto;max-width:918px;padding:40px 19px 67px;width:100%}@media screen and (max-width:568px){.page__content{padding:38px 19px 48px}}
.header{box-sizing:border-box;display:flex;justify-content:space-between;margin:0 auto;max-width:880px;padding:0 0 38px;position:relative;width:100%}@media screen and (max-width:568px){.header{padding:0 0 31px}}.header:after{border:1px solid #545454;bottom:0;box-sizing:border-box;content:"";left:0;opacity:.7;position:absolute;width:100%}
.header__link:hover{opacity:.5;transition:2ms}@media screen and (max-width:940px){.header__link{padding-left:27px}}
.header__logo{max-height:33px;max-width:142px}@media screen and (max-width:568px){.header__logo{height:24.4px;width:103.74px}}
.profile{align-items:center;display:flex}@media screen and (max-width:730px){.profile{flex-direction:column;gap:36px}}@media screen and (max-width:568px){.profile{gap:0}}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__avatar-wrapper{max-height:120px;overflow:hidden;position:relative}
.profile__avatar-edit{background-color:transparent;background-position:50%;background-repeat:no-repeat;background-size:26px;border:none;color:inherit;cursor:pointer;font:inherit;height:120px;left:50%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:120px}.profile__avatar-edit:hover{background-color:rgba(0,0,0,.8);background-image:url(8667ac4a523e8fc42e59.svg);transition:2ms}
.profile__info{align-content:center;display:flex;flex-direction:column;gap:14px;justify-content:center;padding:0 0 0 30px}@media screen and (max-width:730px){.profile__info{align-items:center;flex-direction:column;padding:22.25px 0 36px;text-align:center}}@media screen and (max-width:568px){.profile__info{gap:10px;padding:25.25px 0 33px}}
.profile__title{font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap}@media screen and (max-width:568px){.profile__title{font-size:27px;line-height:33px;max-width:189px}}
.profile__subtitle{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:568px){.profile__subtitle{font-size:14px;line-height:17px;max-width:282px}}
.profile__edit-button{background-color:transparent;background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;background-size:10px;border:1px solid #fff;color:inherit;cursor:pointer;font:inherit;height:24px;margin-top:6px;padding:0;width:24px}.profile__edit-button:hover{opacity:.6;transition:2ms}@media screen and (max-width:568px){.profile__edit-button{background-size:7.5px;height:18px;margin-top:0;width:18px}}
.profile__wrapper{align-items:center;display:flex;gap:18px;justify-content:center;max-width:336px}@media screen and (max-width:730px){.profile__wrapper{padding-bottom:14px}}@media screen and (max-width:568px){.profile__wrapper{gap:10px;padding-bottom:0;padding-left:28px}}
.profile__add-button{background-color:transparent;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;color:inherit;cursor:pointer;font:inherit;height:50px;margin-left:auto;max-width:394px;padding:0;width:150px}.profile__add-button:hover{opacity:.6;transition:2ms}@media screen and (max-width:730px){.profile__add-button{background-size:16px;margin-left:0;width:282px}}
.elements__list{align-items:center;-moz-column-gap:17px;column-gap:17px;display:grid;grid-auto-rows:361px;grid-template-columns:repeat(auto-fit,282px);grid-template-rows:repeat(auto-fit,361px);list-style:none;margin:0;min-height:700px;padding:49.25px 0 0;row-gap:20px}@media screen and (max-width:968px){.elements__list{grid-template-columns:repeat(auto-fit,320px);justify-content:center}}@media screen and (max-width:698px){.elements__list{grid-template-columns:repeat(auto-fit,282px);justify-content:center}}@media screen and (max-width:568px){.elements__list{padding:33px 0 0}}
.elements__item{display:flex;flex-direction:column;height:100%;position:relative}
.elements__image{border-radius:10px 10px 0 0;height:100%;max-height:282px;min-height:282px;-o-object-fit:cover;object-fit:cover;width:100%}.elements__image:hover{cursor:pointer}
.elements__delete-button{background-color:transparent;background-image:url(823b0cf1b0b7e9cb7cad.svg);background-position:50%;background-repeat:no-repeat;border:0;color:inherit;content:"";cursor:pointer;font:inherit;height:19px;opacity:0;padding:0;position:absolute;right:20px;top:20px;transition:visibility .5s,opacity .5s linear;visibility:hidden;width:18px}.elements__delete-button:hover{opacity:.5;transition:2ms}
.elements__delete-button_show{opacity:1;visibility:visible}
.elements__wrapper{align-items:center;background-color:#fff;border-radius:0 0 10px 10px;display:flex;justify-content:space-between;padding:25px 20px 26px 21px}
.elements__title{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:198px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.elements__like-button{background-color:transparent;background-image:url(87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;border:0;color:inherit;cursor:pointer;font:inherit;height:19px;padding:0;width:22px}.elements__like-button:hover{opacity:.5;transition:2ms}.elements__like-button_active{background-image:url(fe17a515669479b1e649.svg)}.elements__like-button_active:hover{opacity:1}
.elements__count{color:#000;font-size:13px;font-weight:400;line-height:16px;text-align:center}
.elements__wrapper-like{display:flex;flex-direction:column;gap:3px}
.footer{box-sizing:border-box;margin:0 auto;max-width:918px;padding:0 19px;width:100%}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:568px){.footer__copyright{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,opacity .5s linear;visibility:hidden;width:100%}
.popup_opened{opacity:1;visibility:visible}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;max-width:430px;padding:35px 36px 37px;position:relative;width:100%}@media screen and (max-width:568px){.popup__container{max-height:322px;max-width:282px;padding:25px 22px}}
.popup__title{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;padding-bottom:45px}@media screen and (max-width:568px){.popup__title{font-size:18px;line-height:22px;padding-bottom:71px}}
.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);display:block;font-size:14px;font-weight:400;line-height:17px;margin:0 auto;padding:7px 0 13px;width:100%}
.popup__form-button{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;display:block;font-size:18px;font-weight:400;line-height:22px;margin:10px auto 0;padding:15px 0 16px;text-align:center;width:100%}.popup__form-button:hover{background-color:rgba(0,0,0,.8)}@media screen and (max-width:568px){.popup__form-button{font-size:14px;line-height:17px;margin:30px auto 0;max-width:238px;padding:14px 0}}
.popup__close{background-color:transparent;background-image:url(2ceb783afbab75916ddc.svg);border:0;color:inherit;cursor:pointer;font:inherit;height:32px;padding:0;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:568px){.popup__close{background-image:url(b793e07c3f4c19e26c11.svg);height:20px;right:0;top:-35px;width:20px}}.popup__close:hover{opacity:.6;transition:2ms}
.popup__image{max-height:75vh;max-width:75vw}
.popup_big-image{background-color:rgba(0,0,0,.9)}
.popup__wrapper{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;position:relative}
.popup__title-image{font-size:12px;line-height:15px;margin:0;padding-top:10px}
.popup__form-input-error{color:red;display:block;font-size:12px;height:35px;line-height:15px;margin-top:5px;visibility:hidden}
.popup__form-button_disabled,.popup__form-button_disabled:hover{background:transparent;border:1px solid #000;color:#000;cursor:not-allowed;opacity:.2}
.popup__error_visible{visibility:visible}
.popup__input_type_error{border-bottom:1px solid red}

