/*! 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(2505c0d4b34ffca98f8f8852e24928eb.woff2) format("woff2"),url(fc49d131f795b4d48f261495d4caef09.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(5b53c519b3184a74a98ca6125f513c9d.woff2) format("woff2"),url(cc6a88688869161eb83642d9393a0c2d.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(70214cc266c6a06739cc3b0ebc150b90.woff2) format("woff2"),url(8b4a1cc3e20e6ede50a585a8b7efd619.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(3c747ac4004be3a30e9807662caebaa0.woff2) format("woff2"),url(c7c0091f1b2b06064572ec0016f1e142.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;font-display:swap;src:url(23eb804eb49e365fa2f1d72040dc4cf8.woff2) format("woff2"),url(16792010d318c2904562ed1c9b5a5144.woff) format("woff")}
.page{display:flex;flex-direction:column;align-items:center;margin:0;padding:0;background-color:#000;font-family:Inter,Arial,sans-serif;font-style:normal;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.header{width:100vw;max-width:320px;height:56px;display:flex;flex-direction:column;justify-content:space-between;margin:28px 0 0;border-bottom:1px solid #545454}@media screen and (min-width:768px){.header{max-width:620px;height:74px}}@media screen and (min-width:1024px){.header{max-width:920px}}
.logo{max-width:126px;padding:0 167px 0 27px}
.content{display:flex;flex-direction:column;margin:42px 19px 48px;padding:0}
.profile__avatar{position:relative}.profile__avatar:hover .edit-overlay{opacity:1}
.profile__info{display:flex;flex-direction:column;align-items:center;position:relative}@media screen and (min-width:768px){.profile__info{align-items:flex-start;margin:0 54px 0 0}}@media screen and (min-width:1024px){.profile__info{margin:0 154px 0 0}}
.profile__name{margin:0;padding:0;max-width:201px;font-weight:500;font-size:1.375rem;line-height:3.5rem;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}@media screen and (min-width:1024px){.profile__name{max-width:380px;font-size:2.625rem}}
.profile__occupation{margin:0;padding:0;max-width:201px;font-weight:400;font-size:.875rem;line-height:1.0625rem;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}@media screen and (min-width:1024px){.profile__occupation{max-width:380px;font-size:1.125rem;line-height:1.375rem}}
.profile{display:flex;flex-direction:column;justify-content:space-between;margin:0;padding:0;align-items:center}@media screen and (min-width:768px){.profile{flex-direction:row;max-width:882px;margin:0 19px;align-items:flex-end}}
.avatar__edit-overlay{position:absolute;top:0;right:0;height:100%;width:100%;opacity:0;background:rgba(0,0,0,.8)}.avatar__edit-overlay:hover{opacity:1;cursor:pointer}
.avatar{width:120px;height:120px;border-radius:50%;margin:0;padding:0}
.edit-button{width:18px;height:18px;margin:0;padding:0;background-image:url(91764011a79ffbf0649a55e5e077f17c.png);background-color:#000;background-position:50%;background-repeat:no-repeat;border:1px solid #fff;align-self:center;position:absolute;top:20px;right:-24px}.edit-button:hover{opacity:.25;cursor:pointer}@media screen and (min-width:768px){.edit-button{right:-48px}}
.edit-button_avatar{top:40%;right:40%;background-image:url(c263e2170b7d712279279db2e8d1af66.png);border:none;background-color:transparent}
.add-button{width:282px;height:50px;margin:36px 0 0;padding:0;background-image:url(14d3f7f9dff457d52c053520e1637225.png);background-color:#000;background-size:auto;background-position:50%;background-repeat:no-repeat;align-self:center;box-sizing:border-box;border:2px solid #fff}.add-button:hover{opacity:.6;cursor:pointer}@media screen and (min-width:768px){.add-button{width:150px}}
.popup_type_edit-avatar{display:flex;background:rgba(0,0,0,.5)}
.popup_type_edit-profile{display:flex;background:rgba(0,0,0,.5)}
.popup_type_add-card{display:flex;background:rgba(0,0,0,.5)}
.popup_type_image{background:rgba(0,0,0,.8)}
.popup_type_delete-card{display:flex;background:rgba(0,0,0,.5)}

.popup__container_type_form{display:flex;flex-direction:column;width:31.8%;min-height:330px;max-height:400px;max-width:430px;margin:195px 0 0;padding:34px 36px 0;background:#fff;border-radius:10px}
.popup__container_type_image{display:flex;margin:134px 25% 0;padding:0}@media screen and (min-width:768px){.popup__container_type_image{margin:90px 25% 0}}

.popup__container{position:relative;justify-content:center}
.popup__title{margin:0;padding:0;font-weight:900;font-size:1.5rem;line-height:1.8125rem;color:#000}
.popup__form{display:flex;flex-direction:column;align-content:space-between;margin:54px 0 0;padding:0;overflow:hidden}
.popup__input{margin:29.74px 0 0;padding:0;height:27.34px;font-weight:400;font-size:.875rem;line-height:1.0625rem;color:#000;border:none;border-bottom:1px solid rgba(0,0,0,.2)}.popup__input:first-of-type{margin:0}
.popup__input_type_error{border-bottom:1px solid red}

.popup__image{max-width:75vw;max-height:75vh}
.popup__caption{font-size:.75rem;line-height:.9375rem;position:absolute;bottom:-20px;left:0}
.popup__button_disabled{opacity:.2}

.popup__error{display:none;margin:5px 0 0;color:red;font-size:.75rem;line-height:.9375rem}
.popup__error_visible{display:flex}
.popup{justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;visibility:hidden;opacity:0;transition:visibility 0s linear .5s,opacity .5s linear}
.popup_opened{visibility:visible;opacity:1;transition-delay:0s}
.close-button{width:40.7px;height:40.7px;position:absolute;top:-40.7px;right:-40.7px;background-image:url(93a2bc38b7446faf4be15eec5247c951.png);background-color:transparent;background-size:auto;background-position:50%;background-repeat:no-repeat;align-self:center;border:none}.close-button:hover{opacity:.6;cursor:pointer}
.save-button{width:100%;height:50.15px;margin:48px 0 0;padding:0;background-image:url(c0370d5d30121f80c1a17f3a1ed6655d.png);background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:2px;align-self:center}.save-button:hover{opacity:.8;cursor:pointer}
.create-button{width:100%;height:50.15px;margin:48px 0 0;padding:0;background-image:url(86f713b9d8ae0915b8a70a85b5318565.png);background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:2px;align-self:center}.create-button:hover{opacity:.8;cursor:pointer}
.photo-grid__list{margin:0;padding:0;list-style:none;display:grid;grid-row-gap:20px;grid-template-rows:repeat(6,1fr)}@media screen and (min-width:768px){.photo-grid__list{grid-template-columns:repeat(2,1fr);grid-column-gap:18px}}@media screen and (min-width:1024px){.photo-grid__list{grid-template-columns:repeat(3,1fr)}}
.photo-grid__item{width:282px;height:361px;display:flex;flex-direction:column;background-color:#fff;border-radius:10px;position:relative}
.photo-grid__image{width:282px;height:282px;background-size:cover;border-radius:10px 10px 0 0}
.photo-grid__description{display:flex;justify-content:space-between;margin:0 15px 0 21px;padding:0}
.photo-grid__label{max-width:210px;font-weight:900;font-size:1.5rem;line-height:1.8125rem;color:#000;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.photo-grid__likes{display:flex;flex-direction:column;justify-content:center}
.photo-grid__likes-count{text-align:center;font-size:.8125rem;line-height:1rem;color:#000;margin:0;padding:0}
.photo-grid{margin:36px 19px 0;padding:0}
.trash-button{width:18px;height:19.3px;margin:0;padding:0;background-image:url(cbc09a894bdd4c95636549e3996e6351.svg);background-color:transparent;background-position:50%;background-repeat:no-repeat;align-self:center;border:none;position:absolute;top:18px;right:15px}.trash-button:hover{opacity:.6;cursor:pointer}
.like-button{width:20.76px;height:18.13px;margin:0;padding:0;background-image:url(49570bcb1d637fdb38e5d51e248ddff6.svg);background-color:#fff;background-position:50%;background-repeat:no-repeat;align-self:center;border:none}.like-button:hover{opacity:.6;cursor:pointer}
.like-button_clicked{background-image:url(75438e944a43e4c0b404a3fd95e002f1.svg)}
.yes-button{width:100%;height:50.15px;margin:48px 0 0;padding:0;background-image:url(5ec5eaa60d3ef76ea3702baa75c758ac.png);background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:2px;align-self:center}.yes-button:hover{opacity:.8;cursor:pointer}
.saving-button{width:100%;height:50.15px;margin:48px 0 0;padding:0;background-image:url(5d1c147565c31f70bac89ca8cda2c194.png);background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:2px;align-self:center}
.figure{position:relative;margin:0;padding:0}
.footer{width:100vw;max-width:320px;margin:0 19px 36px;padding:0;font-weight:400;font-size:.875rem;line-height:1.0625rem;color:#545454;text-align:flex-start}@media screen and (min-width:768px){.footer{max-width:620px}}@media screen and (min-width:1024px){.footer{max-width:920px}}

