/*! 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(c8ba52b05a9ef10f4758.woff2) format("woff2"),url(8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}
.body{background:#000;font-family:Inter,Arial,sans-serif}
.page{background:#000;color:#fff;margin:0 auto;max-width:1280px}
.page__position{margin:0 auto}
.header{border-bottom:1px solid rgba(84,84,84,.7);max-width:880px;padding-bottom:37px;padding-top:45px}@media screen and (max-width:918px){.header{padding-left:19px;padding-right:19px}}@media screen and (max-width:375px){.header{padding:28px 0 27px}}
.header__logo{width:142px}@media screen and (max-width:375px){.header__logo{padding-left:25px;width:104px}}
.content{max-width:880px}@media screen and (max-width:918px){.content{padding-left:19px;padding-right:19px}}
.profile{align-items:center;display:flex;padding-top:40px}@media screen and (max-width:700px){.profile{flex-direction:column}}@media screen and (max-width:618px){.profile{padding-top:42px}}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__info{display:flex;flex-direction:column}@media screen and (max-width:700px){.profile__info{align-items:center;margin:26px 0 0}}
.profile__title{display:inline-block;font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:500px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:910px){.profile__title{max-width:400px}}@media screen and (max-width:810px){.profile__title{max-width:300px}}@media screen and (max-width:700px){.profile__title{max-width:500px}}@media screen and (max-width:585px){.profile__title{max-width:350px}}@media screen and (max-width:435px){.profile__title{font-size:27px;line-height:33px;max-width:280px}}@media screen and (max-width:375px){.profile__title{font-size:27px;line-height:33px;max-width:220px}}
.profile__subtitle{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:500px;overflow:hidden;padding:8px 0 0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:850px){.profile__subtitle{max-width:400px;max-width:350px}}@media screen and (max-width:700px){.profile__subtitle{text-align:center}}@media screen and (max-width:400px){.profile__subtitle{max-width:220px}}@media screen and (max-width:375px){.profile__subtitle{font-size:14px;line-height:17px;margin:0 auto;padding-top:6px}}
.profile__buttom-info{background-color:#000;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;box-sizing:border-box;height:24px;margin-left:18px;padding:0;width:24px}.profile__buttom-info:hover{cursor:pointer;opacity:.6;transition:opacity .3s ease}@media screen and (max-width:375px){.profile__buttom-info{background-size:7.5px;height:18px;margin-left:10px;width:18px}}
.profile__buttom-add{background-color:#000;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;box-sizing:border-box;flex-shrink:0;height:50px;margin-left:auto;width:150px}.profile__buttom-add:hover{cursor:pointer;opacity:.6;transition:opacity .3s ease}@media screen and (max-width:700px){.profile__buttom-add{background-size:16px;margin:33px 0 0;width:282px}}@media screen and (max-width:320px){.profile__buttom-add{max-width:100%}}
.profile__line{align-items:baseline;display:flex}
.profile__image{border-radius:50%;height:120px;margin-right:30px;position:relative;width:120px}@media screen and (max-width:700px){.profile__image{margin-right:0}}
.profile__edit-avatar{align-items:center;background-color:transparent;border:none;border-radius:50%;cursor:pointer;display:flex;height:100%;justify-content:center;left:0;padding:0;position:absolute;top:0;width:100%}.profile__edit-avatar:hover{background:rgba(0,0,0,.8);transition:background .3s ease-out}.profile__edit-avatar:hover .profile__edit-image{visibility:visible}
.profile__edit-image{height:26px;visibility:hidden;width:26px}
.elements{max-width:880px;padding-top:50px}@media screen and (max-width:618px){.elements{padding-top:36px}}
.cards{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fill,282px);justify-content:center;list-style-type:none;margin:0;padding:0;row-gap:20px}
.cards__item{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;margin:0;max-width:282px;padding:0;position:relative}
.cards__image{background:#c4c4c4;border-radius:10px 10px 0 0;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}.cards__image:hover{cursor:pointer}
.cards__title{align-items:center;display:flex;justify-content:space-between;margin:22px 18px 25px 21px}
.cards__text{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cards__heart{background-color:#fff;background-image:url(1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;border:none;height:19px;padding:0 0 0 23px;width:22px}.cards__heart:hover{cursor:pointer;opacity:.5;transition:opacity .3s ease}
.cards__heart_active{background-image:url(35948469632d0421d697.svg)}
.cards__trash{height:19px;position:absolute;right:20px;top:20px;width:18px}.cards__trash:hover{cursor:pointer;opacity:.6;transition:opacity .3s ease}
.cards__trash_hidden{visibility:hidden}
.cards__like{color:#000;font-size:13px;line-height:16px;margin:3px 0 0;text-align:center}
.cards__likes{align-items:center;display:flex;flex-direction:column}
.footer{max-width:880px;padding-bottom:60px;padding-top:67px}@media screen and (max-width:918px){.footer{padding-left:19px;padding-right:19px}}@media screen and (max-width:320px){.footer{padding-bottom:36px;padding-top:48px}}
.footer__text{color:#545454;font-size:18px;line-height:22px;margin:0}@media screen and (max-width:320px){.footer__text{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:.3s;visibility:hidden;width:100%}
.popup_opened{opacity:1;visibility:visible}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;padding:34px 36px 37px;position:relative;width:430px}@media screen and (max-width:540px){.popup__container{height:322px;padding:25px 22px;width:282px}}
.popup__title{font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 47px}@media screen and (max-width:540px){.popup__title{font-size:18px;line-height:22px;margin-bottom:75px}}
.popup__button-сlose{background-color:transparent;background-image:url(973e77374abfb705de40.svg);background-size:cover;border:none;display:block;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.popup__button-сlose:hover{cursor:pointer;opacity:.5;transition:opacity .3s ease}@media screen and (max-width:540px){.popup__button-сlose{height:20px;right:0;top:-36px;width:20px}}
.popup__container-openImegeCard{position:relative}
.popup__img{display:block;max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover}
.popup__title-openImegeCard{color:#fff;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:10px 0 0;padding:0}
.popup_type_openImegeCard{background:rgba(0,0,0,.9)}
.form__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);color:#000;font-size:14px;font-weight:400;line-height:17px;margin:0;padding:0 0 9px;width:100%}.form__input:focus{outline-color:rgba(0,0,0,.1)}
.form__input_type_error{border-bottom-color:red}
.form__button{background:#000;border:none;border-radius:2px;color:#fff;display:block;font-size:18px;height:50px;line-height:22px;margin-top:29px;padding:0;text-align:center;width:100%}.form__button:hover{background:rgba(0,0,0,.8);cursor:pointer;transition:background .2s ease}@media screen and (max-width:540px){.form__button{font-size:14px;height:46px;line-height:17px;margin-top:25px}}
.form__button_disabled{background-color:#fff;border:1px solid #000;border-radius:2px;box-sizing:border-box;color:#000;opacity:.2}.form__button_disabled:hover{background-color:#fff;cursor:inherit}
.form__input-error{color:red;display:block;font-size:12px;font-weight:400;line-height:15px;margin-bottom:9px;margin-top:5px;visibility:hidden}
.form__input-error_type_active{visibility:visible}

