/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}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-style:normal;font-weight:400;font-display:swap;src:url(f93ebd02b36cc4317fcf.woff2?v=3.15) format("woff2"),url(886b97d3e69add7a0128.woff?v=3.15) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(d0a58d956cf2f4cf078f.woff2?v=3.15) format("woff2"),url(eec0ea57721daa33c7a2.woff?v=3.15) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;font-display:swap;src:url(92785d0f66c65c5cb9a8.woff2?v=3.15) format("woff2"),url(1f467089a7ab43ea74f0.woff?v=3.15) format("woff")}
.root{background-color:#000}
.page{margin:0 auto;font-family:Inter,Arial,sans-serif;padding:45px 0 60px;display:grid;min-height:100vh;grid-template:-webkit-max-content auto max-content/minmax(19px,auto) minmax(auto,880px) minmax(19px,auto);grid-template:max-content auto max-content/minmax(19px,auto) minmax(auto,880px) minmax(19px,auto);grid-template-areas:". header ." ". main ." ". footer ."}@media screen and (max-width:618px){.page{padding:28px 0 36px}}
.page__header{grid-area:header;grid-row:1/2;grid-column:2/3}
.header{margin:0;padding:0 0 41px;border-bottom:1px solid rgba(84,84,84,.7)}@media screen and (max-width:618px){.header{padding:0 0 32px}}
.header__logo{transition:all .5s ease}.header__logo:hover{opacity:.6}
.header__img{width:142px;height:33px}@media screen and (max-width:618px){.header__img{width:103px;height:24px}}
.footer{margin:0;padding:0;grid-area:footer;grid-row:3/4;grid-column:2/3}
.footer__text{margin:0;font-style:normal;font-weight:400;font-size:18px;line-height:22px;color:#545454}@media screen and (max-width:618px){.footer__text{font-size:14px;line-height:17px}}
.content{grid-area:main;padding:40px 0 66px;display:grid;grid-template:repeat(2,-webkit-max-content)/1fr;grid-template:repeat(2,max-content)/1fr}@media screen and (max-width:618px){.content{padding:42px 0 48px}}
.profile{padding:0;margin:0;display:grid;grid-template:max-content/max-content 1fr -webkit-max-content;grid-template:max-content/max-content 1fr max-content;gap:10px 30px;align-items:center}@media screen and (max-width:918px){.profile{grid-template:repeat(2,-webkit-max-content)/repeat(2,-webkit-max-content);grid-template:repeat(2,max-content)/repeat(2,max-content);margin:0 auto}}@media screen and (max-width:618px){.profile{grid-template:repeat(3,-webkit-max-content)/282px;grid-template:repeat(3,max-content)/282px;margin:0 auto;row-gap:30px}}
.profile__avatar{display:block;grid-column:1/2;width:120px;height:120px;border-radius:50%}@media screen and (max-width:918px){.profile__avatar{grid-row:1/2;grid-column:1/2}}@media screen and (max-width:618px){.profile__avatar{grid-row:1/2;grid-column:1/2;justify-self:center}}
.profile__avatar-cover{position:relative}.profile__avatar-cover:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;background-color:rgba(0,0,0,.8);opacity:0;transition:visibility 1s,opacity .5s linear}.profile__avatar-cover:hover:after{opacity:1;cursor:pointer}.profile__avatar-cover:before{position:absolute;content:"";width:26px;height:26px;top:50%;left:50%;background:url(6c7bf05444b9793fdf6e.svg) no-repeat;background-size:100% 100%;z-index:100;transform:translate(-50%,-50%);opacity:0;transition:visibility 1s,opacity .5s linear}.profile__avatar-cover:hover:before{opacity:1;cursor:pointer}
.profile__info{grid-column:2/3;display:grid;gap:7px 18px;grid-template:repeat(2,-webkit-max-content)/repeat(2,-webkit-max-content);grid-template:repeat(2,max-content)/repeat(2,max-content);margin:0;padding:0}@media screen and (max-width:918px){.profile__info{grid-row:1/2;grid-column:2/3}}@media screen and (max-width:618px){.profile__info{grid-row:2/3;grid-column:1/2;justify-self:center;gap:7px 10px}}
.profile__name{margin:0;padding:0;font-style:normal;font-weight:500;font-size:42px;line-height:1.14;color:#fff;max-width:450px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (max-width:918px){.profile__name{font-size:30px;max-width:350px}}@media screen and (max-width:618px){.profile__name{font-size:27px;max-width:280px}}
.profile__button-edit{background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-size:10px 10px;background-repeat:no-repeat;padding:0;margin:6px 0;outline:none;border:1px solid #fff;font-family:inherit;width:24px;height:24px;background-color:#000;align-self:end;cursor:pointer;transition:all .5s ease}.profile__button-edit:hover{opacity:.6}@media screen and (max-width:618px){.profile__button-edit{width:18px;height:18px;background-size:7px 7px}}
.profile__job{margin:0;padding:0;max-width:450px;font-style:normal;font-weight:400;font-size:18px;line-height:22px;color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (max-width:918px){.profile__job{max-width:350px;font-size:16px}}@media screen and (max-width:618px){.profile__job{max-width:280px;font-size:14px;grid-row:2/3;grid-column:1/3;text-align:center}}
.profile__button-add{background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-size:22px 22px;background-repeat:no-repeat;margin:0;padding:0;outline:none;border:1px solid #fff;border-radius:2px;font-family:inherit;width:150px;height:50px;background-color:#000;align-self:center;cursor:pointer;transition:all .5s ease}.profile__button-add:hover{opacity:.6}@media screen and (max-width:918px){.profile__button-add{grid-row:2/3;grid-column:2/3;justify-self:start}}@media screen and (max-width:618px){.profile__button-add{grid-row:3/4;grid-column:1/2;justify-self:center;width:100%;background-size:16px 16px}}
.elements{margin:0;padding:0}
.element{text-decoration:none;display:grid;grid-template:282px max-content/minmax(282px,1fr)}
.elements__list{margin:0;list-style:none;padding:50px 0 0;display:grid;gap:20px 17px;grid-template:auto/repeat(auto-fill,282px);justify-content:center}@media screen and (max-width:618px){.elements__list{padding:36px 0 0}}
.element__img{position:relative;background-size:cover;background-repeat:no-repeat;width:100%;height:100%;border-radius:10px 10px 0 0;cursor:pointer}
.element__info{display:grid;grid-template:auto/1fr -webkit-min-content;grid-template:auto/1fr min-content;padding:23px 15px 15px 21px;background:#fff;border-radius:0 0 10px 10px}
.element__text{font-style:normal;font-weight:900;font-size:24px;line-height:29px;color:#000;margin:0;padding:0 10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.element__heart{margin:0;padding:0;border:none;outline:none;align-self:end;cursor:pointer;background:url(666982382eb58f07d777.svg) no-repeat 50%/cover;width:20px;height:18px}.element__heart:hover{opacity:.5;transition:all .5s ease}.element__heart:active{background:url(4d79e05b1054b602d375.svg) no-repeat 50%/cover;opacity:1}
.element__heart_like{background:url(4d79e05b1054b602d375.svg) no-repeat 50%/cover}.element__heart_like:hover{opacity:1}
.element__trash{margin:0;padding:0;outline:none;border:none;position:absolute;top:18px;right:15px;background:url(2af49b82d305a6ea3442.svg) no-repeat 50%/contain;width:18px;height:19px;cursor:pointer;z-index:3}.element__trash:hover{opacity:.6}
.element__counter-like{font-style:normal;font-weight:40;font-size:13px;line-height:16px;color:#000;margin:0 auto}
.element__likes{display:flex;flex-direction:column;height:41px}
.popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:rgba(0,0,0,.5);display:grid;grid-template:1fr -webkit-max-content 1fr/1fr -webkit-max-content 1fr;grid-template:1fr max-content 1fr/1fr max-content 1fr;visibility:collapse;opacity:0;transition:visibility 1s,opacity .5s linear}
.popup_active{visibility:visible;opacity:1}
.popup__form{grid-row:2/3;grid-column:2/3;box-sizing:border-box}
.form{max-width:430px;margin:0;padding:34px 36px 36px;position:relative;z-index:100;background:#fff;border-radius:10px;display:flex;flex-direction:column}@media screen and (max-width:618px){.form{max-width:282px;padding:25px 22px}}
.form__title{font-family:Inter,Arial,sans-serif;margin:0 0 20px;font-style:normal;font-weight:900;font-size:24px;line-height:29px;color:#000}@media screen and (max-width:618px){.form__title{margin:0 0 75px;font-size:18px;line-height:22px}}
.form__input{font-family:Inter,Arial,sans-serif;padding:5px 0 10px;margin:20px 0 28px;outline:none;border:none;border-bottom:1px solid rgba(0,0,0,.2);font-style:normal;font-weight:400;font-size:14px;line-height:17px}.form__input:last-of-type{margin-bottom:0}
.form__error{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:400;color:red;opacity:0;position:absolute;top:calc(100% + 6px);left:0;transition:.3s}
.form__error_active{opacity:1}
.form__input_type_error{border-bottom-color:red}.form__input_type_last{margin-bottom:50px}.form__input_type_first{margin-top:10px}
.form__submit{margin:52px 0 0;width:358px;height:50px;border:none;outline:none;font-family:Inter,Arial,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:22px;text-align:center;background-color:#000;color:#fff;border-radius:2px;cursor:pointer}.form__submit:hover{opacity:.8}@media screen and (max-width:618px){.form__submit{font-size:14px;line-height:17px;width:238px;height:40px}}
.form__submit_inactive{color:#b8b8b8;background:#ededed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.form__close{position:absolute;background:url(9f1fbe67c1a1fd24cdd1.svg) no-repeat 50%;width:40px;height:40px;margin:0;padding:0;top:-40px;right:-40px;border:none;outline:none;background-color:transparent;color:#fff;cursor:pointer;transform:rotate(45deg)}.form__close:hover{opacity:.6}@media screen and (max-width:618px){.form__close{background:url(0148eb56fe29385876f5.svg) no-repeat 50%;width:26px;height:26px;top:-45px;right:0;transform:rotate(45deg)}}
.form__label{display:flex;flex-direction:column;margin:0;position:relative}.orm__label:last-of-type{margin-bottom:0}
.zoom-img{position:relative}
.zoom-img__close{position:absolute;background:url(9f1fbe67c1a1fd24cdd1.svg) no-repeat 50%;width:40px;height:40px;margin:0;padding:0;top:-40px;right:-40px;border:none;outline:none;background-color:transparent;color:#fff;cursor:pointer;transform:rotate(45deg)}.zoom-img__close:hover{opacity:.6}@media screen and (max-width:618px){.zoom-img__close{background:url(0148eb56fe29385876f5.svg) no-repeat 50%;width:26px;height:26px;top:-45px;right:0;transform:rotate(45deg)}}
.zoom-img__img{display:block;margin:0;max-width:75vw;max-height:75vh;z-index:10}
.zoom-img__text{margin:10px 0 0;font-style:normal;font-weight:400;font-size:12px;line-height:15px;color:#fff}

