/*! 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?v=3.19) format("woff2"),url(8c206db99195777c6769.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2?v=3.19) format("woff2"),url(9053572c46aeb4b16caa.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2?v=3.19) format("woff2"),url(c6938660eec019fefd68.woff?v=3.19) format("woff")}
.root{background-color:#000;margin:0;padding:0}
.page{box-sizing:border-box;color:#fff;font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;margin:0 auto;max-width:880px;min-width:320px;position:relative;width:100%;z-index:1}
.page__main{min-height:75vh}
.button{align-items:center;background-color:#000;color:#fff;cursor:pointer;display:flex;justify-content:center;transition:opacity .5s ease-in-out}.button:hover{opacity:60%}.button:active{color:#fff}
.hidden{display:none}
.header{border-bottom:1px solid #545454;height:56px;margin:28px 0 42px;position:relative}@media screen and (min-width:768px){.header{height:74px;margin:28px 20px 40px}}@media screen and (min-width:1280px){.header{margin:40px 0}}
.header__logo{height:24.4px;margin:0 auto 31.6px 27px;width:103.74px}@media screen and (min-width:768px){.header__logo{height:33px;margin:0 auto 41px 0;width:142px}}
.profile{display:flex;flex-direction:column;margin:0 auto 36px;padding:0}@media screen and (min-width:768px){.profile{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 20px 50px;white-space:break-spaces}}@media screen and (min-width:1280px){.profile{margin:0 0 50px}}
.profile__avatar{border-radius:50%;height:120px;margin:0 auto;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:120px}@media screen and (min-width:768px){.profile__avatar{margin:0 auto}}.profile__button_type_change-avatar:hover .profile__avatar{opacity:.2}
.profile__button_type_add{border:2px solid #fff;height:50px;margin:0 auto;width:88%}@media screen and (min-width:768px){.profile__button_type_add{height:50px;width:150px}}
.profile__button_type_edit{-ms-grid-row-align:center;align-self:center;border:1px solid #fff;height:18px;width:18px}@media screen and (min-width:768px){.profile__button_type_edit{align-self:center;height:24px;margin-top:7px;width:24px}}
.profile__description{font-size:14px;font-style:normal;line-height:17px;margin:0 auto 36px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}@media screen and (min-width:768px){.profile__description{font-size:18px;line-height:22px;margin:0;text-align:left}}
.profile__icon_type_add{margin:17px auto}@media screen and (min-width:768px){.profile__icon_type_add{height:22px;width:22px}}
.profile__icon_type_edit{height:7.5px;width:7.5px}@media screen and (min-width:768px){.profile__icon_type_edit{height:10px;width:10px}}
.profile__button_type_change-avatar{border:none;height:120px;margin:0 auto;width:120px}.profile__button_type_change-avatar:hover{opacity:1}
.profile__info{align-items:baseline;display:flex;flex-direction:column;justify-content:center;margin:26px auto 0;max-width:70%;text-align:center}@media screen and (min-width:768px){.profile__info{align-items:baseline;flex-grow:2;margin:0 auto 20px;max-width:50%}}
.profile__name-block{align-items:flex-end;display:flex;justify-content:flex-start;margin:0 auto 14px;white-space:break-spaces;width:100%}@media screen and (min-width:768px){.profile__name-block{margin:0 30px 16px 0}}
.profile__name{font-size:27px;font-weight:500;line-height:33px;margin:0 10px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:768px){.profile__name{font-size:42px;line-height:48px;margin:0 18px 0 0}}
.profile__icon_type_edit-avatar{display:none;position:absolute}.profile__button_type_change-avatar:hover .profile__icon_type_edit-avatar{display:block;opacity:1}
.gallery{margin:0 auto 48px}@media screen and (min-width:1280px){.gallery{margin:0 auto 66px;width:100%}}
.cards{color:#000;display:-ms-grid;display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,282px);justify-content:center;margin:0 auto;padding:0}@media screen and (min-width:768px){.cards{width:100%}}
.cards__item{margin:0 auto}
.card{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;list-style-type:none;position:relative;width:282px}
.card__body{display:flex;flex-direction:row;justify-content:space-between;padding:22px 20px 22px 21px}
.card__button{align-self:center;background-color:transparent;background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;transition:opacity .5s ease-in-out}.card__button:hover{opacity:.5}
.card__like-area{align-items:center;display:flex;flex-direction:column;justify-content:center}
.card__like-counter{color:#000;font-family:Inter;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0;text-align:center}
.card__button_like{background-image:url(87ed371465c7a6a1cd01.svg);height:19px;width:22px}
.card__button_like_active{background-image:url(fe17a515669479b1e649.svg)}
.card__img{background:#c4c4c4;border-radius:10px 10px 0 0;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:100%}
.card__button_delete{background-image:url(4af3841e0d351a5225a0.svg);height:19px;position:absolute;right:20px;top:20px;width:18px}
.card__title{font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.footer{color:#545454;margin:0 auto 36px;width:88%}@media screen and (min-width:768px){.footer{margin:0 auto 60px;width:100%}}
.popup{align-items:center;background-color: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_open{opacity:1;visibility:visible}
.popup__container{align-items:center;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;color:#000;display:flex;flex-direction:column;justify-content:center;max-width:330px;padding:25px 22px;position:relative;width:88%;z-index:1}@media screen and (min-width:768px){.popup__container{max-width:430px;padding:34px 36px 37px}}
.popup__container_image{background-color:transparent;max-height:75vh;max-width:75vw;padding:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}
.popup__button_type_close{background:none;border:none;box-shadow:0 4px 4px rgba(0,0,0,.25);padding:0;position:absolute;right:0;top:-36px}@media screen and (min-width:768px){.popup__button_type_close{height:32px;right:-40px;top:-40px;width:32px}}
.popup__content{width:100%}
.popup__heading{font-size:18px;font-weight:900;line-height:22px;margin:0 auto 75px;text-align:center}@media screen and (min-width:768px){.popup__heading{font-size:24px;line-height:29px;margin:0 0 54px}}
.popup__icon_type_close{height:20px;width:20px}@media screen and (min-width:768px){.popup__icon_type_close{height:32px;width:32px}}
.popup__figure{align-items:center;background-color:transparent;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:relative;width:100%;z-index:1}
.popup__img{margin:0 auto 10px;max-height:75vh;max-width:75vw}
.popup__caption{align-self:flex-start;font-size:12px;line-height:15px}
.form{margin:0 auto;width:100%}
.form__submit{border:1px solid #000;border-radius:2px;font-size:14px;height:46px;line-height:17px;margin:0 auto;transition:opacity .5s ease-in-out;width:238px}@media screen and (min-width:768px){.form__submit{font-size:18px;height:50px;line-height:22px;width:358px}}.form__submit:hover{cursor:pointer;opacity:.8}
.form__submit_inactive{background:transparent;border:1 solid px;color:#000;opacity:.2}.form__submit_inactive:hover{cursor:default;opacity:.2}
.form__item{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;height:27px;line-height:17px;width:100%}
.form__label{border:none;display:block;font-size:10px;line-height:17px;margin:0;position:relative}@media screen and (min-width:768px){.form__label{font-size:14px}}.form__label:last-of-type{margin:0 0 15px}
.form__item-error{color:red;display:block;font-size:12px;line-height:15px;min-height:30px}
.form__item_type_error{border-bottom:1px solid red}

