/*! 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;src:url(2e76ba93b7ec325dfa2df348002b81a1.woff2) format("woff2"),url(0c4d8533b66adf979dae26bdfe0cc25b.woff) format("woff"),url(79a51fb4de0e636cd197fd6611b74b82.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Inter;src:url(a76c8ae4d7c6753331a8e8d87601d324.woff2) format("woff2"),url(b1edb54c38f7aa304c6a8452e082f8dc.woff) format("woff"),url(098b216acbe014b941340e876c4d7e41.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:Inter;src:url(ca9c11d68040f25329bc2a3edac21f55.woff2) format("woff2"),url(f1458e94120508eae8ceac11db420915.woff) format("woff"),url(a4da2e8d16354f639e3ff71bf5b260bc.ttf) format("truetype");font-weight:900;font-style:normal}
.page{width:100%;background-color:#000;color:#fff;margin:0 auto;font-family:Inter,Arial,sans-serif}
.header__logo{width:143px;height:34px}@media screen and (max-width:390px){.header__logo{width:104px;height:25px}}
.header{margin:0 auto;padding:45px 0 41px;width:100%;max-width:882px;border-bottom:1px solid #545454;display:flex}@media screen and (max-width:918px){.header{max-width:582px;padding:45px 19px 41px}}@media screen and (max-width:390px){.header{max-width:282px;padding:28px 19px 31px}}
.profile__overlay{width:120px;height:120px;border-radius:100%;background-repeat:no-repeat;background-position:50%;position:relative;transition:.3s ease;cursor:pointer}.profile__overlay:hover{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecdece4799d2cf40.svg)}
.profile__avatar{border-radius:100%;width:120px;height:120px;cursor:pointer;-o-object-fit:cover;object-fit:cover;position:absolute;z-index:-3}
.profile__info{margin-left:20px;display:grid;grid-template-areas:"name edit" "job edit"}@media screen and (max-width:390px){.profile__info{margin-left:0}}
.profile__title{margin:0;padding:0;font-weight:500;font-size:42px;line-height:1.3em;grid-area:name}@media screen and (max-width:365px){.profile__title{font-size:27px;line-height:2.1em}}
.profile__subtitle{margin:0;padding:0;font-weight:400;font-size:18px;line-height:1.2em;grid-area:job}@media screen and (max-width:505px){.profile__subtitle{text-align:center}}@media screen and (max-width:390px){.profile__subtitle{font-size:14px}}
.profile__button_edit{width:24px;height:24px;background-image:url(8667ac4a523e8fc42e59641845fc8448.svg);margin-top:19px;grid-area:edit;margin-left:17px;border:1px solid #fff}@media screen and (max-width:918px){.profile__button_edit{margin-left:10px}}@media screen and (max-width:365px){.profile__button_edit{width:18px;height:18px}}
.profile__button_add{margin-left:auto;width:150px;height:50px;border:2px solid #fff;border-radius:2px;background-image:url(d86bb2edc2f6eadb96b785d29c82b56e.svg)}@media screen and (max-width:918px){.profile__button_add{margin:20px auto 0;width:500px}}@media screen and (max-width:390px){.profile__button_add{margin-top:36px}}
.profile__button{background-color:transparent;background-repeat:no-repeat;background-position:50%;transition:.7s ease}.profile__button:hover{opacity:.6;cursor:pointer}
.profile{width:100%;max-width:882px;padding:37px 0 0;box-sizing:border-box;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center}@media screen and (max-width:918px){.profile{max-width:582px;justify-content:center;padding:37px 19px 0}}@media screen and (max-width:475px){.profile__info{flex-direction:column;flex-wrap:nowrap}}
.cards__list{padding:0 199px;max-width:882px;margin:0 auto;display:grid;grid-gap:18px;grid-template-columns:repeat(auto-fill,minmax(auto,282px));justify-content:center}@media screen and (max-width:1280px){.cards__list{padding:0 40px}}@media screen and (max-width:1024px){.cards__list{padding:0 19px}}
.cards__list-item{display:grid;grid-template-columns:repeat(2,minmax(1fr,282px));grid-template-rows:repeat(2,minmax(1fr,282px));grid-template-areas:"image image" "caption button";max-width:282px;max-height:361px;background-color:#fff;color:#000;border-radius:10px;overflow:hidden;box-sizing:border-box;position:relative;cursor:pointer}
.card__image{-o-object-fit:cover;object-fit:cover;-o-object-position:bottom left;object-position:bottom left;width:282px;height:282px;grid-area:image}
.card__caption{margin-left:17px;font-weight:900;font-size:24px;line-height:1.2em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;grid-area:caption}
.card__like-container{display:flex;flex-direction:column;margin-left:auto;margin-right:21px;border:none;grid-area:button;align-self:center}
.card__button-like{background-color:#fff;background-image:url(ecde066c7557dfdc9d43375f291fba80.svg);background-repeat:no-repeat;background-position:50%;width:21px;height:19px;border:none;grid-area:button;align-self:center;transition:.7s ease}.card__button-like:hover{opacity:.6;cursor:pointer}
.like__counter{text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:0}
.card__button-like_active{background-image:url(75438e944a43e4c0b404a3fd95e002f1.svg)}
.card__delete{background-color:transparent;background-image:url(a274c87c0f6b553b47ad3aa5ed58a113.svg);background-repeat:no-repeat;background-position:50%;width:18px;height:19px;border:none;position:absolute;top:18px;right:15px;transition:.7s ease}.card__delete:hover{opacity:.6;cursor:pointer}
.cards{width:100%;margin:0 auto;padding-top:48px}@media screen and (max-width:390px){.cards{padding-top:36px}}
.footer__copyright{margin:0;padding:0;font-weight:400;font-size:18px;line-height:1.2em;color:#545454}@media screen and (max-width:390px){.footer__copyright{font-size:14px}}
.footer{width:100%;max-width:882px;margin:0 auto;padding:66px 0 60px}@media screen and (max-width:918px){.footer{max-width:582px;padding:66px 19px 60px}}@media screen and (max-width:390px){.footer{max-width:282px;padding:48px 19px 36px}}
.popup_opened{visibility:visible;opacity:1}.popup_opened:hover{cursor:pointer}
.popup__form{margin:0 auto;padding:0 36px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-evenly;align-items:flex-start;width:430px;height:330px;border-radius:10px;background:#fff;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;position:relative;cursor:default}@media screen and (max-width:475px){.popup__form{width:240px;height:258px}}
.popup__form_type_avatar{height:272px}
.popup__form_type_confirm{height:181px}
.popup__card-contain{margin:0}
.popup__image{max-width:75vw;max-height:75vh}
.popup__title{margin:0;padding:0;font-weight:900;font-size:24px;line-height:1.2em}@media screen and (max-width:475px){.popup__title{font-size:18px}}
.popup__label{width:100%;max-width:358px}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input{width:100%;max-width:358px;border:none;border-bottom:1px solid rgba(0,0,0,.2);font-weight:400;font-size:14px;line-height:1.2em;padding-bottom:13px}@media screen and (max-width:475px){.popup__input{font-size:12px}}
.popup__input_type_error{border-bottom:1px solid red}
.popup__error_visible{display:flex;margin:0;font-size:12px;line-height:15px;color:red}
.popup__error{display:none}
.popup__error_visible{display:flex;margin:0;font-size:12px;line-height:15px;color:red}
.popup__button_disabled{border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);background-color:#fff}
.popup__button{align-self:center;min-width:358px;min-height:50px;padding:0;font-size:18px;line-height:1.2em;text-align:center;background:#000;border-radius:2px;color:#fff;border:none;transition:.7s ease}.popup__button:hover{opacity:.8;cursor:pointer}@media screen and (max-width:475px){.popup__button{min-width:200px;min-height:40px}}
.popup__button_disabled{border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);background-color:#fff}
.popup__button-close{border:none;background-color:transparent;background-image:url(118074baed770c43e4bc4451ed78f91d.svg);background-repeat:no-repeat;background-position:50%;width:41px;height:41px;position:absolute;right:-41px;top:-41px;transition:.7s ease}.popup__button-close:hover{opacity:.6;cursor:pointer}@media screen and (max-width:530px){.popup__button-close{top:-25px;right:-25px;width:25px;height:25px;border-radius:10px}}
.popup__container{position:relative}
.popup__caption{font-weight:400;font-size:12px;line-height:15px;color:#fff}
.popup{visibility:hidden;opacity:0;transition:visibility .3s,opacity .5s ease;display:flex;justify-content:center;align-items:center;margin:0 auto;box-sizing:border-box;width:100vw;height:100vh;position:fixed;top:0;left:0;background-color:rgba(0,0,0,.5)}
.popup_opened{visibility:visible;opacity:1}.popup_opened:hover{cursor:pointer}

