/*! 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-family:Inter;font-weight:400;src:url(bd097ceff83f90802a12.woff2) format("woff2"),url(0d6f7c99e635f1fec4c9.woff) format("woff")}@font-face{font-family:Inter;font-weight:500;src:url(01f03178adde434fc9fa.woff2) format("woff2"),url(44e343ff76a98508d309.woff)}@font-face{font-family:Inter;font-weight:900;src:url(ed17840f58cc8c61635a.woff2) format("woff2"),url(87c06fd2ac7128c9a81d.woff)}
.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-color:#000;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:0 auto;max-width:1280px;min-width:320px;padding:0;text-rendering:optimizeLegibility}
.page__container{margin:0 auto;max-width:880px;padding:0}
.link{cursor:pointer;margin:0;padding:0;transition:opacity .3s ease}.link:hover{opacity:.6}
.header{border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box;margin:0;padding:45px 0 40px}@media screen and (max-width:1024px){.header{padding:28px 27px 32px}}
.content{margin:0;padding:0}@media screen and (max-width:1024px){.content{margin-left:19px;margin-right:19px}}
.logo{background-image:url(ab0f4b930baa26c3efae.svg);background-position:0 100%;background-repeat:no-repeat;background-size:cover;display:block;height:33px;margin:0;outline:none;padding:0;text-decoration:none;transition:opacity .3s ease;width:142px}.logo:hover{opacity:.6}@media screen and (max-width:320px){.logo{height:24px;max-width:104px}}
.profile{align-items:center;display:flex;justify-content:space-between;margin:40px 0 0;max-width:880px;padding:0}@media screen and (max-width:768px){.profile{align-items:center;flex-direction:column;margin-top:42px}}
.profile__avatar{background-color:transparent;border:none;border-radius:50%;height:120px;margin:0;outline:none;overflow:hidden;padding:0;position:relative;width:120px}.profile__avatar:before{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;bottom:0;content:"";height:100%;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.profile__avatar:hover:before{opacity:.8}
.profile__avatar-image{height:100%;left:0;margin:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;position:absolute;top:0;width:100%}
.profile__info-wrapper{align-items:center;display:flex;justify-content:space-between;margin:0;padding:0}@media screen and (max-width:768px){.profile__info-wrapper{flex-direction:column}}@media screen and (max-width:480px){.profile__info-wrapper{max-width:282px}}
.profile__name-wrapper{align-items:center;display:flex;gap:18px;justify-content:space-between;margin:0;padding:0;position:relative}@media screen and (max-width:480px){.profile__name-wrapper{margin-top:26px}}
.profile__edit-button{background:none;background-image:url(7fe9b5682501835c5843.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;height:24px;margin:6px 0 0;min-width:24px;padding:0}@media screen and (max-width:320px){.profile__edit-button{height:18px;margin-top:0;min-width:18px;position:absolute;right:-28px;top:7px}}
.profile__info{color:#fff;margin:0 0 0 30px;max-width:336px;padding:0}@media screen and (max-width:768px){.profile__info{margin-left:0;text-align:center;width:100%}}
.profile__name{font-size:42px;font-weight:500;line-height:54px;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:480px){.profile__name{font-size:28px;line-height:30px}}@media screen and (max-width:320px){.profile__name{font-size:27px;line-height:33px;width:70vw}}
.profile__description{font-size:18px;font-weight:400;line-height:24px;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:480px){.profile__description{font-size:16px;line-height:20px;margin-top:6px}}@media screen and (max-width:320px){.profile__description{font-size:14px;line-height:20px;width:70vw}}
.profile__add-button{align-items:center;background:none;border:2px solid #fff;border-radius:2px;color:#fff;display:flex;height:50px;justify-content:center;margin:0;min-width:150px;padding:0}.profile__add-button:before{background-image:url(9d4893b84ffe6c9d13b3.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;content:"";height:22px;width:22px}@media screen and (max-width:768px){.profile__add-button{margin-top:36px;width:50%}}@media screen and (max-width:480px){.profile__add-button{margin-top:31px;width:100%}.profile__add-button:before{height:16px;width:16px}}
.elements__list{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,282px);grid-template-rows:repeat(auto-fit,1fr);list-style:none;margin:50px 0 0;padding:0;row-gap:20px}@media screen and (max-width:960px){.elements__list{grid-template-columns:repeat(2,282px);grid-template-rows:repeat(auto-fit,1fr);justify-content:center}}@media screen and (max-width:660px){.elements__list{grid-template-columns:282px;grid-template-rows:repeat(auto-fit,1fr);justify-items:center;margin-top:34px}}
.element{background-color:#fff;border-radius:10px;color:#000;display:flex;flex-direction:column;margin:0;overflow:hidden;padding:0;position:relative;width:282px}
.element__image{background-color:#000;color:#fff;cursor:pointer;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:top center;object-position:top center;overflow:hidden;width:100%}
.element__info{align-items:center;display:flex;justify-content:space-between;margin:25px 20px 24px;max-width:246px;padding:0}
.element__name{font-size:24px;font-weight:900;line-height:31px;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.element__trash-button{background:none;background-image:url(161265c632b9f887063c.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;box-sizing:border-box;cursor:pointer;display:none;height:19px;margin:0;outline:none;padding:0;position:absolute;right:20px;top:20px;transition:opacity .3s ease;width:18px}.element__trash-button:hover{opacity:.6}
.element__trash-button_type_visible{display:block}
.element__heart-button{background:none;background-image:url(fc6e0c57fbb508e426da.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;box-sizing:border-box;cursor:pointer;height:19px;margin:0;min-width:22px;outline:none;padding:0;transition:opacity .3s ease}.element__heart-button:hover{opacity:.6}
.element__heart-button_active{background-image:url(d750ae7834bd9bfe5181.svg)}
.element__heart-block{align-items:center;display:flex;flex-direction:column;justify-content:space-between;margin:0 0 0 20px;padding:0}
.element__heart-likes{font-size:13px;margin:3px 0 0;padding:0}
.popup__error{color:red;display:block;font-size:12px;line-height:12px;margin:5px 0 0;min-height:30px;padding:0}
.popup__error_visible{display:block}
.footer{color:#545454;margin:0;padding:65px 0 57px}@media screen and (max-width:320px){.footer{padding-bottom:30px;padding-top:44px}}
.footer__text{font-size:18px;font-weight:400;line-height:auto;margin:0;padding:0}@media screen and (max-width:320px){.footer__text{font-size:14px}}
.popup{align-items:center;background:rgba(0,0,0,.5);bottom:0;box-sizing:border-box;display:flex;height:100%;left:0;min-width:320px;opacity:0;position:fixed;right:0;top:0;transition:visibility .5s linear,opacity .5s linear;visibility:hidden;width:100%;z-index:10}@media screen and (max-width:520px){.popup{max-width:100vw}}@media screen and (max-width:320px){.popup{max-width:320px}}
.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:0 auto;padding:34px 36px 37px;position:relative;width:430px;z-index:2}@media screen and (max-width:520px){.popup__container{padding:25px 22px;width:85vw}}@media screen and (max-width:320px){.popup__container{max-width:282px;width:100%}}
.popup__title{font-size:24px;font-weight:900;line-height:24px;margin:0;padding:0}@media screen and (max-width:520px){.popup__title{font-size:18px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-weight:400;line-height:14px;margin:0;outline:none;padding:0 0 9px;width:100%}.popup__input::-moz-placeholder{color:#c4c4c4}.popup__input::placeholder{color:#c4c4c4}
.popup__input_type_bottom{margin:0}
.popup__input_type_top{margin:54px 0 0}@media screen and (max-width:480px){.popup__input_type_top{margin-top:75px}}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input_type_avatar{margin-top:54px}
.popup__save-button{background-color:#000;border:1px solid #000;border-radius:2px;box-sizing:border-box;color:#fff;cursor:pointer;font-size:18px;font-weight:400;line-height:22px;margin:18px 0 0;padding:14px 0;transition:opacity .3s ease;width:100%}.popup__save-button:hover{opacity:.8}@media screen and (max-width:480px){.popup__save-button{font-size:14px;line-height:18px;margin-top:15px;padding:14px 0}}
.popup__save-button_disabled{background:none;border:1px solid #000;color:#000;opacity:.2;pointer-events:none}
.popup__save-button_type_delete{margin-top:38px}
.popup__save-button_type_avatar{margin-top:13px}
.popup_opened{opacity:1;visibility:visible}
.popup__container-image{background:none;border-radius:0;display:flex;flex-direction:column;height:auto;margin:0 auto;padding:0;position:relative;width:auto;z-index:2}
.popup__close-button{background:none;background-image:url(2ceb783afbab75916ddc.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;height:32px;margin:0;padding:0;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:480px){.popup__close-button{height:20px;right:0;top:-36px;width:20px}}
.popup__image{display:flex;max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain;-o-object-position:top center;object-position:top center}
.popup__image-name{color:#fff;font-size:12px;line-height:14px;margin:10px 0 0;padding:0}
.popup_bg-color_image{background:rgba(0,0,0,.9)}

