/*! 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(fonts/8c206db99195777c6769.woff) format("woff2"),url(fonts/c8ba52b05a9ef10f4758.woff2) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(fonts/9053572c46aeb4b16caa.woff) format("woff2"),url(fonts/293fd13dbca5a3e450ef.woff2) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(fonts/c6938660eec019fefd68.woff) format("woff2"),url(fonts/15ca31c0a2a68f76d2d1.woff2) format("woff")}
.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%;background:#000;font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-left:calc(100vw - 100%);margin-right:0;text-rendering:optimizeLegibility}
.page__container{margin:0 auto;max-width:1280px}
.header{margin:0 auto;max-width:880px;padding:45px 0 0}.header:after{background-color:#545454;content:"";display:block;height:1px;margin-top:41px;opacity:.7;width:100%}@media screen and (max-width:880px){.header{padding:36px 0 0}}@media screen and (max-width:425px){.header{padding:28px 0 0}.header:after{margin-top:31px}}
.header__link{align-self:flex-start}@media screen and (max-width:880px){.header__link{padding-left:27px}}
.header__logo{max-width:142px;width:100%}@media screen and (max-width:425px){.header__logo{max-width:103px}}
.profile{align-items:center;box-sizing:border-box;display:flex;gap:0 30px;margin:0 auto;max-width:880px;padding:36px 0 0}@media screen and (max-width:880px){.profile{flex-direction:column;padding:42px 19px 0}}
.profile__avatar{border-radius:50%;cursor:pointer;height:120px;-o-object-fit:cover;object-fit:cover;position:relative;width:120px}.profile__avatar:hover:before{background-color:rgba(0,0,0,.8);background-image:url(images/6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border-radius:50%;content:"";height:100%;position:absolute;width:100%}
.profile__avatar-image{border-radius:50%;height:120px;max-width:120px;-o-object-fit:cover;object-fit:cover;width:100%}
.profile__info{display:grid;gap:0 18px;grid-template-columns:1fr 24px;max-width:336px;width:100%}@media screen and (max-width:880px){.profile__info{gap:0 10px;grid-template-columns:1fr 18px;margin:22px 0 0;max-width:282px;text-align:center;width:auto}}
.profile__name{color:#fff;font-size:42px;font-weight:500;line-height:48px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:880px){.profile__name{font-size:27px;line-height:32px}}
.profile__role{color:#fff;font-size:18px;font-weight:400;line-height:22px;margin:16px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:880px){.profile__role{font-size:14px;line-height:16px;margin:14px 0 0}}
.profile__edit-button{align-self:center;background-color:transparent;background-image:url(images/6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:10px;border:1px solid #fff;box-sizing:border-box;cursor:pointer;height:24px;margin-top:5px;transition:opacity .3s ease-out;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:880px){.profile__edit-button{background-size:8px;height:18px;margin-top:0;width:18px}}
.profile__add-button{background-color:transparent;background-image:url(images/bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;background-size:22px;border:1px solid #fff;box-sizing:border-box;cursor:pointer;height:50px;margin-left:auto;max-width:150px;padding:0;transition:opacity .3s ease-out;width:100%}.profile__add-button:hover{opacity:.6}@media screen and (max-width:880px){.profile__add-button{margin-left:0;margin-top:36px;max-width:282px}}
.elements{box-sizing:border-box;display:grid;gap:20px 17px;grid-template-columns:repeat(3,282px);margin:0 auto;max-width:880px;padding:51px 0 0}@media screen and (max-width:880px){.elements{grid-template-columns:repeat(2,282px);justify-content:center;padding:36px 27px 0}}@media screen and (max-width:580px){.elements{grid-template-columns:repeat(1,282px);padding:36px 19px 0}}
.element{background-color:#fff;border-radius:10px;box-sizing:border-box;position:relative}
.element__image{border-radius:10px 10px 0 0;cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}
.element__text-container{align-items:center;display:flex;justify-content:space-between;margin:25px 0 31px;padding:0 20px}
.element__title{font-size:24px;font-weight:900;line-height:30px;margin:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}
.element__like-container{align-items:center;display:flex;flex-direction:column}
.element__like-button{background-color:transparent;background-image:url(images/1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:22px;padding:0;transition:opacity .3s ease-out;width:22px}.element__like-button:hover{opacity:.5}
.element__like-button_active{background-image:url(images/35948469632d0421d697.svg)}
.element__like-count{display:block;font-size:13px;font-weight:400;line-height:16px;margin:5px 0 0}
.element__remove-button{background-color:transparent;background-image:url(images/ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:18px;padding:0;position:absolute;right:20px;top:20px;transition:opacity .3s ease-out;width:18px}.element__remove-button:hover{opacity:.5}
.footer{margin:0 auto;max-width:880px;padding:67px 0 60px}@media screen and (max-width:880px){.footer{padding:48px 19px 36px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:880px){.footer__copyright{font-size:14px;font-weight:400;line-height:16px}}
.popup{height:100vh;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;visibility:hidden;width:100vw;z-index:10}
.popup_opened{background:rgba(0,0,0,.5);opacity:1;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;visibility:visible}
.popup_theme_dark{background:rgba(0,0,0,.9)}
.popup__close-button{background-color:transparent;background-image:url(images/039f1f5203f653b4bacd.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:32px;position:absolute;right:-40px;top:-40px;transition:opacity .3s ease-out;width:32px}.popup__close-button:hover{opacity:.6}@media screen and (max-width:880px){.popup__close-button{height:20px;right:0;top:-30px;width:20px}}
.popup__container{background:#fff;border-radius:10px;box-sizing:border-box;left:50%;max-width:430px;padding:34px 36px 36px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:6}@media screen and (max-width:880px){.popup__container{max-width:282px;padding:25px 22px}}
.popup__container_type_image{background:transparent;border-radius:0;max-width:none;padding:0;width:auto}
.popup__title{align-self:flex-start;font-size:24px;font-weight:900;line-height:30px;margin:0 0 54px}@media screen and (max-width:880px){.popup__title{font-size:18px;line-height:22px;margin:0 0 75px}}
.popup__title_confirm{margin:0}
.popup__image{display:block;max-height:75vh;max-width:75vw}
.popup__image-caption{color:#fff;font-size:12px;font-weight:400;line-height:14px;margin:10px 0 0}
.popup__remove-button{background-color:#000;border:1px solid #000;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;font-weight:400;line-height:22px;margin:38px 0 0;opacity:1;outline:none;padding:14px 0;transition:opacity .3s ease-out;width:100%}.popup__remove-button:hover{opacity:.8}@media screen and (max-width:880px){.popup__remove-button{font-size:14px;line-height:16px;margin:45px 0 0}}
.form{display:flex;flex-direction:column;margin:0 auto;max-width:358px}@media screen and (max-width:425px){.form{max-width:238px}}
.form__input{background-color:transparent;border:0;border-bottom:1px solid rgba(0,0,0,.2);margin:0 0 5px;outline:none;padding:0 0 13px;width:100%}
.form__field{display:block}
.form__input-error{color:red;display:block;font-size:12px;font-weight:400;line-height:14px;min-height:28px;opacity:0;transition:opacity .3s ease-in}
.form__input-error_active{opacity:1}
.form__input_type_error{border-bottom:1px solid red}
.form__save-button{background-color:transparent;border:1px solid #000;border-radius:2px;color:#000;font-size:18px;font-weight:400;line-height:22px;margin:48px 0 0;opacity:.2;outline:none;padding:14px 0;width:100%}@media screen and (max-width:880px){.form__save-button{font-size:14px;line-height:16px;margin:45px 0 0}}
.form__save-button_active{background-color:#000;color:#fff;cursor:pointer;opacity:1;transition:opacity .3s ease-out}.form__save-button_active:hover{opacity:.8}

