/*! 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(26a30a5f1103393aac70.woff2?v=3.15) format("woff2"),url(e148c4a1158f8cee8285.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(768169b1912340d378ac.woff2?v=3.15) format("woff2"),url(7bb6234314ccc72c942a.woff?v=3.15) format("woff")}
.main{background-color:#000;min-width:320px;color:#fff;max-width:880px;margin:0 auto}
.header{padding-top:45px;width:100%;border-bottom:1px solid rgba(84,84,84,.7)}@media screen and (max-width:890px){.header{padding-top:28px}}
.header__logo{width:142px;height:33px;margin-bottom:41px}@media screen and (max-width:890px){.header__logo{width:103.74px;height:24.4px;margin:0 0 31.6px 27px}}
.content{width:100%}
.profile{width:100%;display:flex;font-family:Inter,Arial,sans-serif;margin-top:40px;align-items:center}@media screen and (min-width:593px) and (max-width:890px){.profile{width:calc(100% - 44px);margin:40px auto 0}}@media screen and (max-width:593px){.profile{flex-direction:column;margin-top:42px}}
.profile__avatar-container{position:relative;border-radius:50%}
.profile__avatar{width:120px;height:120px;border-radius:120px;-o-object-fit:cover;object-fit:cover}@media screen and (max-width:593px){.profile__avatar{margin:0}}
.profile__avatar-edit-button{padding:0;border:0;background:none;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;transition:background-color .2s ease}.profile__avatar-edit-button:focus,.profile__avatar-edit-button:hover{background-image:url(93c771f5f8582261951d.png);background-position:50%;background-repeat:no-repeat;background-color:rgba(0,0,0,.8)}
.profile-info{max-width:calc(100% - 278px);display:flex;flex-direction:column;margin:auto 0 auto 30px}@media screen and (max-width:593px){.profile-info{max-width:282px}}
.profile-info__row{display:flex;align-content:flex-start}@media screen and (max-width:593px){.profile-info__row{margin-top:22.25px}}
.profile-info__name{max-width:294px;font-weight:500;font-size:42px;line-height:48px;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (min-width:593px) and (max-width:890px){.profile-info__name{font-size:28px;line-height:32px}}@media screen and (max-width:593px){.profile-info__name{font-size:27px;line-height:33px;text-align:center}}
.profile-info__title{max-width:250px;font-weight:400;font-size:18px;line-height:22px;margin:16px 0 0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (max-width:593px){.profile-info__title{max-width:282px;font-size:14px;line-height:17px;margin:14px 0 0;text-align:center}}
.profile__edit-button{border:1px solid #fff;background-color:inherit;background:url(8667ac4a523e8fc42e59.svg) no-repeat 50%;min-width:24px;height:24px;margin:0 10px 0 18px;align-self:center}.profile__edit-button:hover{transition:opacity .5s linear;opacity:.6}@media screen and (max-width:593px){.profile__edit-button{min-width:18px;height:18px;margin:0 10px}}
.profile__add-button{border:2px solid #fff;background-color:inherit;margin:auto 0 auto auto;background:url(d86bb2edc2f6eadb96b7.svg) no-repeat 50%;min-width:150px;height:50px}.profile__add-button:hover{transition:opacity .5s linear;opacity:.6}@media screen and (min-width:593px) and (max-width:890px){.profile__add-button{min-width:120px}}@media screen and (max-width:593px){.profile__add-button{margin:36px auto 0;width:282px}}
.elements{width:100%;margin-top:51px;font-family:Inter,Arial,sans-serif}@media screen and (max-width:593px){.elements{margin-top:36px}}
.cards{width:100%;list-style:none;margin:0;padding:0;display:grid;grid-column-gap:20px;grid-row-gap:17px;grid-template-columns:repeat(3,1fr);justify-items:center;justify-content:center}@media screen and (min-width:593px) and (max-width:890px){.cards{grid-template-columns:repeat(2,282px)}}@media screen and (max-width:593px){.cards{grid-template-columns:repeat(1,282px)}}
.cards__item{display:flex;max-width:282px;flex-direction:column;position:relative}
.cards__image{width:282px;height:282px;-o-object-fit:cover;object-fit:cover;border-radius:10px 10px 0 0;cursor:pointer}
.cards__rectangle{background-color:#fff;display:flex;padding:25px 15px 22px 21px;justify-content:space-between;border-radius:0 0 10px 10px;align-items:center}
.cards__title{color:#000;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.cards__like{background:url(49570bcb1d637fdb38e5.svg) no-repeat 50%;background-size:contain;border:0;height:18.13px;width:20.76px}.cards__like:hover{transition:opacity .5s linear;opacity:.5}
.cards__likes-counter{color:#000;text-align:center;font-size:13px;line-height:15,73px;margin-top:3px}
.cards__likes{display:flex;flex-direction:column;align-items:center}
.cards__like_active{background:url(75438e944a43e4c0b404.svg) no-repeat 50%;background-size:contain}
.cards__del{background:url(a274c87c0f6b553b47ad.svg) no-repeat 50%;background-size:contain;border:0;width:18px;height:19.3px;position:absolute;top:18px;right:15px}.cards__del:hover{transition:opacity .5s linear;opacity:.5}
.cards__del_remove{display:none}
.footer{width:100%;font-family:Inter,Arial,sans-serif;margin:67px auto 60px}
.footer__copyright{color:#545454;font-weight:400;font-size:18px;line-height:22px}@media screen and (max-width:890px){.footer__copyright{margin-left:19px}}
.popup{width:100%;height:100%;background-color:rgba(0,0,0,.5);top:0;left:0;bottom:0;right:0;position:fixed;visibility:hidden;opacity:0;display:flex;justify-content:center;align-items:center;transition:visibility .2s,opacity .2s linear}
.popup__container{display:flex;flex-direction:column;width:430px;background-color:#fff;font-family:Inter,Arial,sans-serif;color:#000;justify-content:space-between;padding:34px 0 37px;box-sizing:border-box;box-shadow:0 0 25px rgba(0,0,0,.15);border-radius:10px;position:relative}@media screen and (max-width:593px){.popup__container{width:282px;padding:25px 0}}
.popup__form{display:flex;flex-direction:column;width:calc(100% - 72px);margin:0 auto}@media screen and (max-width:593px){.popup__form{width:calc(100% - 44px)}}
.popup__close{background:url(a004a2d5d464d8ddbbb5.svg) no-repeat 50%;width:40px;height:40px;top:-40px;right:-40px;position:absolute;border:none}.popup__close:hover{transition:opacity .5s linear;opacity:.6}@media screen and (max-width:593px){.popup__close{width:26px;height:26px;right:-.4px}}
.popup__input-text{font-weight:400;font-size:14px;line-height:17px;border:0;border-bottom:1px solid rgba(0,0,0,.2);min-height:27px;margin-top:5px;padding:0 0 13px;box-sizing:border-box;position:relative}
.popup__title{font-weight:900;font-size:24px;line-height:29px;margin:0 0 24px;padding:0}@media screen and (max-width:593px){.popup__title{font-size:18px;line-height:22px;margin-bottom:45px}}
.popup__button-save{width:100%;margin:48px auto 0;color:#fff;background-color:#000;padding:14px 0;border:0;border-radius:2px;font-weight:400;font-size:18px;line-height:22px}.popup__button-save:hover{transition:opacity .5s linear;opacity:.8}@media screen and (max-width:593px){.popup__button-save{font-size:14px;line-height:17px;margin:45px auto 0}}
.popup__button-save_withoutmargin{margin-top:0}
.popup_opened{visibility:visible;opacity:1;z-index:10}
.popup__input-text-error{color:red;font-weight:400;font-size:12px;line-height:15px;margin-top:5px;height:25px}
.popup__input-text_type_error{border-bottom-color:red}
.popup__button-save_disabled{background-color:#fff;color:rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2)}
.popup__container-image{font-family:Inter,Arial,sans-serif;padding:0;max-width:75vw;max-height:75vh;position:relative}
.popup__img-name{font-weight:400;font-size:12px;line-height:15px;margin:10px 0 0}
.popup__img{max-width:75vw;max-height:75vh}

