/*! 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-style:normal;font-weight:400;src:url(bd097ceff83f90802a12.woff2)}@font-face{font-family:inter;font-style:normal;font-weight:900;src:url(ed17840f58cc8c61635a.woff2)}@font-face{font-family:inter;font-style:normal;font-weight:500;src:url(01f03178adde434fc9fa.woff2)}
.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;margin:0;padding:0;position:relative;width:100%}.page,button,input,optgroup,select,span,textarea{font-family:Inter,sans-serif}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin:0 auto;max-width:880px;padding-bottom:41px;padding-top:45px}@media screen and (max-width:880px){.header{padding:28px 27px 31.6px}}
.header__logo{height:33px;width:142px}.header__logo:hover{opacity:.6}@media screen and (max-width:400px){.header__logo{height:24.4px;width:103.74px}}
.main{margin:0 auto;max-width:880px;padding-top:40px}@media screen and (max-width:400px){.main{padding-top:38.25px}}
.user{align-items:center;display:flex;justify-content:space-between}@media screen and (max-width:720px){.user{flex-direction:column}}
.user__add-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;background-image:url(bed8c136e13907f5eefb.svg);background-position:50% 50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;transition:.4s;width:150px}.user__add-button:hover{opacity:.8;transition:.4s}@media screen and (max-width:720px){.user__add-button{background-size:16px 16px;margin-top:30px;width:282px}}
.user__picture{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}.user__picture:hover{background:rgba(0,0,0,.8);opacity:.8}
.user__profile-about{color:#fff;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;transition:.4s;white-space:nowrap}@media screen and (max-width:720px){.user__profile-about{font-size:14px;line-height:17px;text-align:center}}
.user__profile-name{align-self:end;color:#fff;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;overflow:hidden;padding:0;text-align:left;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:720px){.user__profile-name{font-size:27px;line-height:32.68px;text-align:center}}
.user__profile{align-items:center;display:flex}@media screen and (max-width:720px){.user__profile{flex-direction:column}}
.user__profile-button{align-self:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;background-image:url(af236f6cf67005f1d7aa.svg);background-position:50% 50%;background-repeat:no-repeat;border:1px solid #fff;border-radius:0;cursor:pointer;grid-column:2/2;grid-row:1/1;height:24px;transition:.4s;width:24px}.user__profile-button:hover{opacity:.6;transition:.4s}@media screen and (max-width:720px){.user__profile-button{height:18px;width:18px}}
.user__profile-text{display:grid;gap:16px 18px;grid-template-columns:294px 1fr;padding-left:30px}@media screen and (max-width:720px){.user__profile-text{gap:14px 10px;grid-template-columns:189px 18px;padding-top:22.25px}}
.user__picture-button{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border:none;border-radius:50%;cursor:pointer;font:inherit;height:102%;left:50%;opacity:0;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:.4s;width:102%}.user__picture-button:hover{opacity:1;transition:.4s}
.user__picture-edit{display:block;position:relative}
.gallery{display:flex;margin:50px auto 0;max-width:880px}@media screen and (max-width:400px){.gallery{margin-top:36px}}
.gallery__about{align-items:center;background-color:#fff;border-radius:0 0 10px 10px;display:flex;justify-content:space-between;margin:0;max-width:282px;min-height:79px;padding:0 20px 0 21px}
.card-item{display:flex;flex-direction:column;margin:0;max-width:282px;padding:0;position:relative}
.gallery__items{display:flex;flex-wrap:wrap;gap:17px;list-style:none;margin:0;padding:0}@media screen and (max-width:879px){.gallery__items{gap:20px;justify-content:center}}
.gallery__like-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:inherit;background-image:url(1ad06e85f169668a1f36.svg);background-position:50% 50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;min-width:22px;transition:.4s}.gallery__like-button:hover{opacity:.5;transition:.4s}
.gallery__button-remove{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;background-image:url(e3c42771bff3aaa52f76.svg);background-position:50% 50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19.3px;min-width:18px;position:absolute;right:20px;top:20px;transition:.4s}.gallery__button-remove:hover{opacity:.6;transition:.4s}
.gallery__pic{border-radius:10px 10px 0 0;cursor:pointer;height:282px;margin:0;-o-object-fit:cover;object-fit:cover;padding:0;width:282px}
.gallery__title{font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;overflow:hidden;padding:25px 0;text-overflow:ellipsis;white-space:nowrap}
.galley__like-items{align-items:center;display:flex;flex-direction:column;gap:3px}
.gallery__like-counter{font-size:13px;line-height:16px;text-align:center}
.gallery__button-remove_disabled{display:none}
.footer{background-color:#000;margin:0 auto;max-width:880px;padding-bottom:60px;padding-top:67px}@media screen and (max-width:400px){.footer{max-width:282px;padding-bottom:36px;padding-top:48px}}
.footer__copyright{color:#545454;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;padding:0;text-align:left}@media screen and (max-width:400px){.footer__copyright{font-size:14px;line-height:17px}}
.gallery__like-button_active{background-image:url(35948469632d0421d697.svg)}
.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 .4s,opacity .3s linear;visibility:hidden;width:100%;z-index:2}.popup_opened{opacity:1;visibility:visible}
.popup__button-save{background:#000;border:0;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial\ ,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin-top:18px;text-align:center;width:358px}.popup__button-save:hover{opacity:.8}@media screen and (max-width:600px){.popup__button-save{font-size:14px;line-height:17px;max-width:238px;text-align:center}}
.popup__close-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;background-image:url(039f1f5203f653b4bacd.svg);background-position:50% 50%;background-repeat:no-repeat;border:none;cursor:pointer;height:32px;position:absolute;right:-40px;top:-40px;transition:.4s;width:32px}.popup__close-button:hover{opacity:.6}@media screen and (max-width:600px){.popup__close-button{height:20px;right:0;top:-36px;width:20px}}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;color:#000;max-height:330px;max-width:430px;padding:34px 36px 37px;position:relative;width:100%}@media screen and (max-width:600px){.popup__container{max-width:282px;padding:25px 22px}}
.popup__text{font-family:Inter,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 54px;padding:0;text-align:left;width:330px}@media screen and (max-width:600px){.popup__text{font-size:18px;line-height:22px;margin-bottom:75px;max-width:238px}}
.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-style:normal;font-weight:400;line-height:17px;outline:none;width:358px}@media screen and (max-width:600px){.popup__input{max-width:238px}}
.popup__form{display:flex;flex-direction:column}
.popup__container_photo{background:none;border-radius:0;display:flex;flex-direction:column;margin:0;max-height:75vh;max-width:75vw;padding:0;width:auto}@media screen and (max-width:600px){.popup__container_photo{padding:0}}
.popup__picture-caption{max-height:75vh;max-width:75vw}
.popup__text_picture{color:#fff;font-family:Inter;font-size:12px;font-weight:400;letter-spacing:0;line-height:15px;margin:0;padding-top:10px}@media screen and (max-width:600px){.popup__text_picture{font-size:12px;line-height:15px;margin:0}}
.popup-opacity{background-color:rgba(0,0,0,.9)}
.form__input_type_error{border-bottom:1px solid red}
.error{color:red;font-size:12px;font-style:normal;font-weight:400;line-height:15px}
.popup__button-save_disabled{background-color:#fff;border:1px solid #000;color:#000;cursor:no-drop;opacity:.2}.popup__button-save_disabled:hover{opacity:.2}
.popup__label{display:block;min-height:59px}
.popup__text_delete{margin-bottom:16px}

