/*! 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(6cc68d6b835a3dd06e7e.woff2) format("woff2"),url(8398b3762d7b06fc3b8c.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(ba68c34a21c5751a2838.woff2) format("woff2"),url(f5549f68ca7db479bc7d.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(ef2d12b9f04d00e319f2.woff2) format("woff2"),url(e258f99875304915b846.woff) format("woff")}
.root{background-color:#000;margin:0 auto;max-width:880px}
.header{border-bottom:1px solid rgba(54,54,54,.7);margin:0 auto;max-width:320px;padding-top:28px;width:100%}@media screen and (min-width:768px){.header{margin:0 auto;max-width:768px;padding-top:45px}}@media screen and (min-width:1024px){.header{max-width:880px}}
.header__logo{height:25px;margin:0 0 31px 27px;width:104px}@media screen and (min-width:768px){.header__logo{height:33px;width:142px}}@media screen and (min-width:1024px){.header__logo{margin:0 0 41px}}
.main{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,Arial,Helvetica,sans-serif}
.profile{align-items:center;display:flex;flex-direction:column;margin:42px auto 36px;max-width:282px;padding:0;width:100%}@media screen and (min-width:1024px){.profile{flex-direction:row;margin:40px auto 50px;max-width:880px}}
.profile__card{margin:0 auto}@media screen and (min-width:1024px){.profile__card{margin:0 auto 0 30px}}
.profile__avatar-container{height:120px;position:relative;width:120px}
.profile__avatar{border-radius:50%;height:100%;margin:0 0 26px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:100%}@media screen and (min-width:1024px){.profile__avatar{margin:0}}
.profile__avatar-overlay{height:120px;left:0;opacity:0;position:absolute;top:0;width:120px}.profile__avatar-overlay:hover{background-color:rgba(0,0,0,.8);background-image:url(6e1611c47804600866b5.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;cursor:pointer;opacity:1;transition:opacity .2s ease-in-out}
.profile__info{align-items:baseline;display:flex;justify-content:center;margin:0 auto 14px}@media screen and (min-width:1024px){.profile__info{margin:0 auto 16px}}
.profile__title{color:#fff;font-size:27px;font-style:normal;font-weight:500;line-height:33px;margin:0;max-width:190px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}@media screen and (min-width:1024px){.profile__title{font-size:42px;line-height:48px;max-width:294px}}
.profile__edit-button{background-color:transparent;background-image:url(6e1611c47804600866b5.svg);background-position:50%;background-repeat:no-repeat;background-size:auto;border:1px solid #fff;cursor:pointer;height:18px;margin:0 0 0 10px;padding:0;transition:opacity .2s ease-in-out;width:18px}.profile__edit-button:hover{opacity:.6}@media screen and (min-width:1024px){.profile__edit-button{height:24px;margin:0 0 0 18px;width:24px}}
.profile__subtitle{color:#fff;font-size:14px;font-style:normal;line-height:17px;margin:0;max-width:282px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}@media screen and (min-width:1024px){.profile__subtitle{font-size:18px;line-height:22px;text-align:left}}
.profile__add-button{background-color:transparent;background-image:url(54b1426515811a15ebaf.svg);background-position:50%;background-repeat:no-repeat;background-size:auto;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;margin:36px auto 0;padding:0;transition:opacity .2s ease-in-out;width:282px}.profile__add-button:hover{opacity:.6}@media screen and (min-width:1024px){.profile__add-button{margin:0;width:150px}}
.photo-grid{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,minmax(282px,1fr));margin:0 auto;max-width:880px;row-gap:20px;width:100%}
.photo-grid__card{background-color:#fff;border-radius:10px;box-sizing:border-box;margin:0 auto;max-width:282px;position:relative;width:100%}
.photo-grid__image{border-radius:10px 10px 0 0;box-sizing:border-box;cursor:pointer;height:282px;margin:0;-o-object-fit:cover;object-fit:cover;padding:0;width:282px}
.photo-grid__container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:246px;padding:25px 0 31px;width:100%}
.photo-grid__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;max-width:190px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.photo-grid__like-button{background-color:transparent;background-image:url(87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:19px;margin:0;padding:0;transition:opacity .2s ease-in-out;width:22px}.photo-grid__like-button:hover{opacity:.6}
.photo-grid__like-container{align-items:center;display:flex;flex-direction:column;margin:0}
.photo-grid__like-counter{color:#000;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0}
.photo-grid__like-button_active{background-image:url(fe17a515669479b1e649.svg)}
.photo-grid__delete-button{background-color:transparent;background-image:url(cbc09a894bdd4c956365.svg);background-repeat:no-repeat;border:none;cursor:pointer;height:19px;margin:0;padding:0;position:absolute;right:15px;top:18px;transition:opacity .2s ease-in-out;width:18px}.photo-grid__delete-button:hover{opacity:.6}
.photo-grid__delete-button_hidden{display:none}
.footer{margin:0 auto;max-width:282px;width:90%}@media screen and (min-width:768px){.footer{max-width:768px}}@media screen and (min-width:1024px){.footer{max-width:880px;width:100%}}
.footer__copyright{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#545454;font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:48px 0 36px}@media screen and (min-width:1280px){.footer__copyright{font-size:18px;line-height:22px;margin:66px auto 60px}}
.popup{align-items:center;background-color:rgb(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility 0s,opacity .2s linear;visibility:hidden;width:100%}
.popup__close-button{background-color:transparent;background-image:url(507ea2182e5ab2daf7b4.svg);background-position:50%;background-repeat:no-repeat;background-size:auto;border:none;cursor:pointer;height:26px;margin:0;padding:0;position:absolute;right:0;top:-39px;transition:opacity .2s ease-in-out;width:26px}.popup__close-button:hover{opacity:.6}@media screen and (min-width:768px){.popup__close-button{background-size:50px 50px;height:40px;right:-40px;top:-40px;width:40px}}
.popup__container{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;max-width:282px;position:relative;width:100%}@media screen and (min-width:768px){.popup__container{max-width:430px}}
.popup__title{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,Arial,Helvetica,sans-serif;font-size:18px;font-weight:900;line-height:22px;margin:25px auto 0;max-width:238px;padding:0;width:100%}@media screen and (min-width:768px){.popup__title{font-size:24px;line-height:29px;margin:34px 0 0 36px;max-width:330px}}
.popup__form{margin:75px auto 25px;max-width:238px;padding:0}@media screen and (min-width:768px){.popup__form{margin:54px auto 37px;max-width:358px}}
.popup__section{margin:0 0 35px;position:relative}
.popup__input{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border:0;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:17px;margin:0 auto;max-width:238px;padding:0;width:100%}@media screen and (min-width:768px){.popup__input{max-width:358px}}
.popup__submit-button{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;height:46px;line-height:17px;margin:30px auto 0;padding:0;transition:opacity .2s ease-in-out;width:238px}.popup__submit-button:disabled{background-color:transparent;border:1px solid #000;color:#000;opacity:.2;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.popup__submit-button:hover{opacity:.8}@media screen and (min-width:768px){.popup__submit-button{font-size:18px;height:50px;line-height:22px;width:358px}}
.popup__submit-button_confirm-delete{margin:38px auto 36px}
.popup__submit-button_disabled{background-color:transparent;border:1px solid #000;color:#000;opacity:.2;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.popup_opened{opacity:1;visibility:visible}
.popup_image-fullscreen{background-color:rgba(0,0,0,.8)}
.popup__image-fullscreen-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;font-family:Inter,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;line-height:15px;margin:10px 0 0;padding:0}
.popup__image-container{position:relative}
.popup__image{max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center}
.popup__input_type_error{border-bottom:1px solid red}
.popup__error{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:red;display:block;font-family:Inter,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;left:0;line-height:15px;opacity:0;position:absolute;top:calc(100% + 5px)}
.popup__error_visible{opacity:1}

