/*! 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:900;src:url(fonts/subset-Inter-Black.abf233fc6e66fb6032cf.eot);src:url(fonts/subset-Inter-Black.4b832c3b9d2020fe3de7.woff2) format("woff2"),url(fonts/subset-Inter-Black.0345e208713e957894be.woff) format("woff"),url(fonts/subset-Inter-Black.a3137c953b8cdce5cda0.ttf) format("truetype"),url(images/subset-Inter-Black.7bcf7e4ef2f5879b6a98.svg#Inter-Black) format("svg")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(fonts/subset-Inter-Medium.5dedf1a0a94ac95fc53b.eot);src:url(fonts/subset-Inter-Medium.cb43e918b51b64c41f18.woff2) format("woff2"),url(fonts/subset-Inter-Medium.1bc59c96e708b938f0fe.woff) format("woff"),url(fonts/subset-Inter-Medium.52c7e5482a9ce9e034e6.ttf) format("truetype"),url(images/subset-Inter-Medium.69e86ea93ebc4f506402.svg#Inter-Medium) format("svg")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(fonts/subset-Inter-Regular.dd6984ab32aad51d7db3.eot);src:url(fonts/subset-Inter-Regular.282d9ffd5dcbfcc56351.woff2) format("woff2"),url(fonts/subset-Inter-Regular.5ea2a14a167b20b6a66f.woff) format("woff"),url(fonts/subset-Inter-Regular.c5df936124b1e86f3468.ttf) format("truetype"),url(images/subset-Inter-Regular.d78863876d2a0598698d.svg#Inter-Regular) format("svg")}
.page{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;background:#000;color:#fff;display:flex;flex-direction:column;font-family:Inter,Arial,Helvetica,sans-serif;font-style:normal;font-weight:400;margin:0 auto;max-width:1280px;min-height:100vh;min-width:320px;text-rendering:optimizeLegibility}
.page__header{margin:45px auto 0;max-width:880px;width:100%}@media screen and (max-width:1024px){.page__header{margin:45px 72px 0}}@media screen and (max-width:768px){.page__header{margin:28px 0 0}}
.page__main{flex:1 0 auto;margin:40px auto 0;max-width:880px;width:100%}@media screen and (max-width:1024px){.page__main{margin:45px 72px 0}}@media screen and (max-width:768px){.page__main{margin:42px 19px 0}}
.page__footer{flex:0 1 auto;margin:66px auto 60px;max-width:880px;width:100%}@media screen and (max-width:1024px){.page__footer{margin:45px 72px 40px}}@media screen and (max-width:768px){.page__footer{margin:48px 5.9375% 36px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);height:74px}@media screen and (max-width:768px){.header{height:56px}}
@media screen and (max-width:768px){.header__logo{margin-left:8.4375%;width:103px}}
.main__elements{margin-top:50px}@media screen and (max-width:768px){.main__elements{margin-top:36px}}
.profile{align-items:center;display:flex}@media screen and (max-width:768px){.profile{flex-direction:column}}
.profile__avatar-wrapper{position:relative}.profile__avatar-wrapper:after{background-color:rgba(0,0,0,.8);background-image:url(images/edit.6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;content:"";height:120px;left:0;position:absolute;top:0;width:120px;z-index:0}.profile__avatar-wrapper:hover:after{z-index:20}
.profile__avatar{border-radius:50%;display:block;height:120px;-o-object-fit:cover;object-fit:cover;position:relative;width:120px;z-index:10}
.profile__info{align-items:end;-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:repeat(2,auto);margin-left:30px;row-gap:16px}@media screen and (max-width:768px){.profile__info{-moz-column-gap:10px;column-gap:10px;display:grid;margin-left:0;margin-top:28px;row-gap:12px}}
.profile__info-title{font-size:42px;font-weight:500;line-height:39px;margin:0;max-width:12ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:1024px){.profile__info-title{font-size:32px;line-height:29px}}@media screen and (max-width:768px){.profile__info-title{font-size:27px;line-height:25px;margin-left:30px;text-align:center}}
.profile__edit-button{background:transparent;border:1px solid #fff;height:24px;margin-bottom:4px;width:24px}.profile__edit-button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:768px){.profile__edit-button{align-items:center;display:flex;height:18px;justify-content:center;margin:0 0 2px;padding:0;width:18px}}
@media screen and (max-width:768px){.profile__edit-image{width:41.66667%}}
.profile__info-subtitle{font-size:18px;font-weight:400;grid-column:span 2;line-height:18px;margin:0;max-width:30ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:768px){.profile__info-subtitle{font-size:14px;font-weight:400;line-height:17px;text-align:center}}
.profile__add-button{background:transparent;border:2px solid #fff;border-radius:2px;height:50px;margin-left:auto;padding:0;width:150px}.profile__add-button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:810px){.profile__add-button{width:100px}}@media screen and (max-width:768px){.profile__add-button{margin-left:0;margin-top:34px;width:50%}}@media screen and (max-width:480px){.profile__add-button{width:calc(25% + 213px)}}
@media screen and (max-width:768px){.profile__add-image{width:16px}}
.elements{-moz-column-gap:17px;column-gap:17px;display:flex;flex-wrap:wrap;justify-content:center;row-gap:20px;width:100%}
.element{align-items:center;background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;display:grid;grid-template-columns:repeat(2,1fr) min-content;grid-template-rows:78.11634% 1fr;height:361px;position:relative;width:282px}
.element__image{background-color:#000;border:transparent;border-top-left-radius:10px;border-top-right-radius:10px;color:#fff;grid-column:span 3;height:100%;width:100%}.element__image:hover{cursor:pointer}
.element__title{font-size:24px;font-weight:900;grid-column:span 2;line-height:29px;margin:0 0 0 21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.element__heart-image{background:url(images/heart.1ad06e85f169668a1f36.svg) #fff no-repeat;border:transparent;height:19px;justify-self:end;margin-right:20px;width:22px}.element__heart-image:hover{cursor:pointer;opacity:.5}@media (hover:none){.element__heart-image:hover{opacity:1}}
.element__heart-image_active{background:url(images/black-heart.35948469632d0421d697.svg)}
.element__heart-wrapper{display:flex;flex-direction:column;gap:3px;justify-content:center}
.element__heart-counter{font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0 20px 0 0;text-align:center}
.element__trash-image{background:url(images/Trash.ce3b64935accf9b8212e.svg) no-repeat;border:transparent;display:none;height:19px;position:absolute;right:20px;top:20px;width:18px}.element__trash-image:hover{cursor:pointer;opacity:.6}@media (hover:none){.element__trash-image:hover{opacity:1}}
.element__trash-image_visible{display:block}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:768px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background: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{display:flex;opacity:1;transition:visibility 0s,opacity .5s linear;visibility:visible}
.popup_type_image{background:rgba(0,0,0,.9)}
.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;min-height:330px;position:relative;width:430px}@media screen and (max-width:768px){.popup__container{min-height:322px;text-align:center;width:282px}}
.popup__container_type_image{background:transparent;border-radius:0;box-shadow:0 0 0 rgba(0,0,0,.15);display:flex;flex-direction:column;height:auto;max-height:75vh;max-width:75vw;position:relative;width:auto}
.popup__container_type_submit{min-height:181px}
.popup__container_type_avatar{min-height:272px}
.popup__cross{background:none;border:none;padding:0;position:absolute;right:-40px;top:-40px}.popup__cross:hover{cursor:pointer;opacity:.6}@media screen and (max-width:768px){.popup__cross{right:0;top:-36px;width:20px}}
.popup__cross-image{width:100%}
.popup__form{align-items:center;color:#000;display:flex;flex:1;flex-direction:column;height:100%}
.popup__title{color:#000;display:block;font-size:24px;font-weight:900;line-height:29px;margin:34px 0 44px 36px;max-width:330px}@media screen and (max-width:768px){.popup__title{font-size:18px;line-height:22px;margin:25px auto 73px;max-width:240px;text-align:left}}
.popup__title_type_image{color:#fff;display:block;font-size:12px;font-weight:400;line-height:15px;margin:10px 0 0;max-width:291px}
.popup__title_type_submit{margin:34px 0 33px 36px}
.popup__input{background:transparent;border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;height:24px;line-height:14px;padding-bottom:5px;width:358px}@media screen and (max-width:768px){.popup__input{font-size:14px;line-height:17px;width:238px}}
.popup__input-wrapper{min-height:60px}
.popup__input_type_error{border-bottom:1px solid red}
.popup__error{color:red;font-size:12px;height:1px;height:auto;line-height:12px;margin-top:5px;min-height:24px;width:358px}@media screen and (max-width:768px){.popup__error{width:238px}}
.popup__button{background:#000;border:none;border-radius:2px;color:#fff;font-size:18px;height:50px;line-height:22px;margin:auto 0 36px;width:358px}.popup__button:hover{cursor:pointer;opacity:.8}@media screen and (max-width:768px){.popup__button{font-size:14px;height:46px;line-height:17px;margin-bottom:25px;width:238px}}
.popup__button_disabled{background:transparent;border:1px solid #000;color:#000;opacity:.2}.popup__button_disabled:hover{cursor:auto;opacity:.2}
.popup__image{height:100%;max-height:75vh;max-width:75vh;-o-object-fit:cover;object-fit:cover;width:100%}

