/*! 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(c8ba52b05a9ef10f4758.woff2) format("woff2"),url(8c206db99195777c6769.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url(1b4ca4d0ab43547aa5d2.woff2) format("woff2"),url(6ecbd7f53aa1c087d056.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
.page{background-color:#000;font-family:Inter,Arial,Helvetica,sans-serif}
.page__container{margin:0 auto;max-width:880px;padding:0 20px}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin:0 auto;max-width:880px;min-height:74px;padding-top:45px}@media screen and (max-width:937px){.header{padding:45px 20px 0}}@media screen and (max-width:600px){.header{min-height:56px;padding:28px 27px 0}}
.logo{max-width:142px;width:100%}@media screen and (max-width:600px){.logo{max-width:104px}}
.avatar{border-radius:50%;cursor:pointer;height:120px;overflow:hidden;position:relative;width:120px}
.avatar__wrapper{background-color:rgba(0,0,0,.8);background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border-radius:50%;bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s linear}.avatar__wrapper:hover{opacity:1}
.avatar__photo{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}
.profile{color:#fff;display:flex;flex-wrap:wrap;gap:30px;justify-content:center;padding:40px 0 50px}@media screen and (max-width:600px){.profile{align-items:center;flex-direction:column;gap:0;padding:42px 0 36px}}
.profile__info{flex-grow:1;margin-top:22px}@media screen and (max-width:600px){.profile__info{margin-top:26px}}
.profile__info-heading{align-items:baseline;display:flex;gap:18px}@media screen and (max-width:600px){.profile__info-heading{max-width:282px}}
.profile__name{color:#fff;font-size:42px;font-weight:500;line-height:1.14;margin:0;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:600px){.profile__name{font-size:27px;line-height:1.22;text-align:center}}@media screen and (max-width:350px){.profile__name{max-width:200px}}
.profile__job{color:#fff;font-size:18px;line-height:1.22;margin:6px 0 0;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:600px){.profile__job{font-size:14px;margin:6px auto 0;text-align:center}}@media screen and (max-width:350px){.profile__job{max-width:200px}}
.profile__btn-edit{background-color:transparent;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:10px;border:1px solid #fff;cursor:pointer;min-height:24px;min-width:24px;transition:opacity .2s linear}.profile__btn-edit:hover{opacity:.6}@media screen and (max-width:600px){.profile__btn-edit{background-size:7.5px;min-height:18px;min-width:18px}}
.profile__btn-add{align-self:center;background-color:transparent;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;background-size:22px;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;max-width:150px;min-width:50px;transition:opacity .2s linear;width:100%}.profile__btn-add:hover{opacity:.6}@media screen and (max-width:600px){.profile__btn-add{background-size:16px;margin-top:34px;max-width:282px}}

.cards__grid{display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,282px);justify-content:center;list-style:none;margin:0;padding:0}
.card{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;position:relative}
.card__image{cursor:pointer;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}
.card__body{align-items:center;display:flex;gap:30px;justify-content:space-between;padding:21px 20px 25px 21px}
.card__title{font-size:24px;font-weight:900;line-height:1.2;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card__like{align-items:center;display:flex;flex-direction:column;gap:3px;justify-content:center}
.card__like-btn{background-color:transparent;background-image:url(cbed5331d270056562b2.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;flex-shrink:0;height:19px;transition:opacity .2s linear;width:22px}.card__like-btn:hover{opacity:.6}
.card__like-btn_active{background-image:url(35948469632d0421d697.svg)}
.card__remove{background-color:transparent;background-image:url(ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:19px;position:absolute;right:20px;top:20px;transition:opacity .2s linear;width:18px}.card__remove:hover{opacity:.6}
.footer{margin:0 auto;max-width:880px;padding:66px 0 60px}@media screen and (max-width:937px){.footer{padding:66px 20px 60px}}@media screen and (max-width:600px){.footer{padding:52px 20px 36px}}
.footer__copyright{color:#545454;font-size:18px;line-height:1.22;margin:0}@media screen and (max-width:600px){.footer__copyright{font-size:14px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;box-sizing:border-box;display:flex;justify-content:center;left:0;opacity:0;padding:0 20px;position:fixed;right:0;top:0;transition:visibility .2s,opacity .2s linear;visibility:hidden;width:100%}
.popup_opened{cursor:pointer;opacity:1;visibility:visible;z-index:1}
.popup_place_card-image{background-color:rgba(0,0,0,.9)}
.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;cursor:default;display:flex;flex-direction:column;justify-content:space-between;max-width:430px;padding:36px;position:relative;width:100%}@media screen and (max-width:450px){.popup__container{padding:25px 22px}}
.popup__container_image{background-color:transparent;border-radius:0;max-height:100%;min-height:0;padding:0;width:80%}
.popup__btn-close{background-color:transparent;background-image:url(039f1f5203f653b4bacd.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:32px;padding:0;position:absolute;right:-40px;top:-40px;transition:opacity .2s linear;width:32px}.popup__btn-close:hover{opacity:.6}@media screen and (max-width:600px){.popup__btn-close{right:0}}@media screen and (max-width:450px){.popup__btn-close{height:20px;top:-36px;width:20px}}
.popup__title{font-size:24px;font-weight:900;line-height:1.2;margin:0 0 38px}@media screen and (max-width:450px){.popup__title{font-size:18px}}
.popup__input-container{border:none;margin:0 0 48px;padding:0}@media screen and (max-width:450px){.popup__input-container{margin:0 0 42px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-size:14px;margin-top:13px;padding:10px 0;width:100%}.popup__input:first-child{margin-top:0}
.popup__error{color:red;font-size:12px;line-height:1.25;margin:5px 0 0}
.popup__input_type_error{border-bottom:1px solid red}
.popup__btn-submit{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;height:50px;line-height:1.22;padding:0;transition:opacity .2s linear;width:100%}.popup__btn-submit:hover{opacity:.8}@media screen and (max-width:450px){.popup__btn-submit{font-size:14px;height:48px}}
.popup__btn-submit_disabled,.popup__btn-submit_disabled:hover{background-color:#fff;border:1px solid #000;color:#000;opacity:.2}
.popup__image{height:100%;max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain;width:100%}
.popup__image-description{color:#fff;font-size:12px;line-height:1.25;margin:10px 0 0;padding:0}


/*# sourceMappingURL=main.css.map*/