/*! 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}
.page{background-color:#000;color:#fff;margin:0 auto;max-width:100%;width:100%}
@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(e1e044bb56329240543c.woff2) format("woff2"),url(750b51a29f4c03e0c2db.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(51d45879d0d1c95ed0aa.woff2) format("woff2"),url(04213b1dbab0eb1d72a3.woff) format("woff")}
.header{border-bottom:1px solid rgb(84,84,84,.7);margin:0 auto;max-width:880px;padding-top:45px}@media screen and (max-width:767px){.header{max-width:320px;padding-top:28px}}
.header__logo{margin-bottom:41px;max-width:142px}@media screen and (max-width:767px){.header__logo{margin-bottom:32px;max-width:104px;padding-left:27px}}
.content{margin:0 auto}
.profile{display:flex;margin:40px auto 50px;max-width:880px}@media screen and (max-width:767px){.profile{flex-direction:column;margin:42px auto 36px;max-width:282px}}
.profile__avatar{background-image:url(a086f758840ae814ecde.svg);border-radius:50%;margin-right:30px;max-height:120px;max-width:120px}
.profile__info{align-self:center;display:flex;max-width:336px}
.profile__wrapper{align-items:left;display:flex;flex-direction:column;max-width:295px}@media screen and (max-width:767px){.profile__wrapper{align-items:center}}
.profile__title{font-family:Inter,Arial,Helvetica,sans-serif;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin-bottom:16px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__title{font-size:27px;line-height:33px;margin-bottom:0;margin-top:26px}}
.profile__text{font-family:Inter,Arial,Helvetica,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__text{font-size:14px;line-height:17px;margin-top:14px}}
.profile__edit-button{align-self:center;background:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;cursor:pointer;height:24px;margin-left:18px;padding:0;transition:opacity .5s;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:767px){.profile__edit-button{height:18px;margin-left:10px;width:18px}}
.profile__add-button{align-self:center;background:none;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;border:2px solid#fff;cursor:pointer;height:22px;margin-left:auto;padding:25px 75px;transition:opacity .5s;width:22px}.profile__add-button:hover{opacity:.6}@media screen and (max-width:767px){.profile__add-button{margin:36px auto 0;padding:25px 141px}}
.cards{margin:0 auto}
.cards__list-style{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);list-style-type:none;margin:0 auto;max-width:880px;padding:0;row-gap:20px}@media screen and (max-width:767px){.cards__list-style{grid-template-columns:1fr;grid-template-rows:repeat(6,1fr)}}
.card{background-color:#fff;border-radius:10px;max-width:282px;position:relative}@media screen and (max-width:767px){.card{margin:0 auto;min-width:282px}}
.card__image{border-radius:10px 10px 0 0;cursor:pointer;margin-bottom:0;max-height:282px;min-height:282px;width:100%}
.description{display:flex;justify-content:space-between;margin:25px auto 31px;max-width:246px}
.card__title{color:#000;font-family:Inter,Arial,Helvetica,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;overflow:hidden;padding:0 20px 0 0;text-overflow:ellipsis;white-space:nowrap}
.card__heart{align-self:center;background-color:transparent;background-image:url(1ad06e85f169668a1f36.svg);background-position:0;background-repeat:no-repeat;border:none;height:19px;margin:0;padding:0 22px 0 0;transition:opacity .5s;width:22px}.card__heart:hover{cursor:pointer;opacity:.5}
.card__heart_active{background-image:url(35948469632d0421d697.svg);opacity:1}
.card__button-delete{background:url(a85cc5e25106301e909e.svg);background-position:50%;background-repeat:no-repeat;border:none;height:19px;margin:0;padding:0;position:absolute;right:15px;top:18px;transition:opacity .5s;width:18px}.card__button-delete:hover{cursor:pointer;opacity:.6}
.card__like-container{align-items:center;display:flex;flex-direction:column;justify-content:space-between}
.card__like-length{color:#000;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:3px 0 0;padding:0;text-align:center;width:10px}
.footer{margin:66px auto 0;max-width:880px;padding-bottom:60px}@media screen and (max-width:767px){.footer{margin-top:48px;max-width:282px;padding-bottom:36px}}
.footer__text{border:1px solid #000;color:#545454;font-family:Inter,Arial,Helvetica,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;max-width:318px;padding:0}@media screen and (max-width:767px){.footer__text{font-size:14px;line-height:17px}}
.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 .5s,opacity .5s linear;visibility:hidden;width:100%}
.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;max-width:430px;position:relative;width:100%}@media screen and (max-width:767px){.popup__container{max-width:282px}}
.popup__content{display:flex;flex-direction:column;margin:0 auto;max-width:358px}
.popup__title{font-family:Inter,Arial,Helvetica,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:34px 0 54px;padding:0}@media screen and (max-width:767px){.popup__title{font-size:18px;line-height:22px;margin-bottom:75px;margin-top:25px;text-align:center}}
.popup__form{display:flex;flex-direction:column;margin:0 auto;max-width:358px}
.popup__form-section{margin:0;padding:0;position:relative}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0 auto 30px;padding-bottom:13px;width:358px}.popup__input:last-of-type{margin-bottom:48px}@media screen and (max-width:767px){.popup__input{width:238px}}
.popup__error-visible:invalid{border-bottom:1px solid red}
.popup__input-error{color:red;display:block;font-family:Inter,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin-bottom:13px;margin-top:-45px;position:absolute;width:83.26%}
.popup__save-button{background:#000;border:0;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial,Helvetica,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0 auto 36px;padding-bottom:18px;padding-top:14px;transition:opacity .5s;width:358px}.popup__save-button:hover{opacity:.8}@media screen and (max-width:767px){.popup__save-button{font-size:14px;line-height:17px;width:238px}}
.popup__save-button_inactive{background:hsla(0,0%,100%,.2);border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);font-family:Inter,Arial,Helvetica,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;pointer-events:none;text-align:center}
.popup__close-button{background:50% transparent url(36c771b078cbd4547868.svg);border:none;height:40px;position:absolute;right:-40px;top:-40px;transition:opacity .5s;width:40px}.popup__close-button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:767px){.popup__close-button{background:50% url(657d62c78152312c802d.svg);height:26px;right:0;top:-50px;width:26px}}
.profile__image-button{position:relative}.profile__image-button:after{background-color:#000;content:"";height:100%;left:-15px;opacity:0;position:absolute;top:0;transition:opacity .6s;width:100%;z-index:1}.profile__image-button:hover:after{background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;cursor:pointer;opacity:.8}@media screen and (max-width:767px){.profile__image-button{margin:0 auto}.profile__image-button:after{z-index:0}}
.popup-avatar{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 .5s,opacity .5s linear;visibility:hidden;width:100%}
.popup-avatar__block{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;height:272px;max-width:430px;position:relative;width:100%}@media screen and (max-width:767px){.popup-avatar__block{max-width:282px}}
.popup-avatar__text{font-family:Inter,Arial,Helvetica,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:34px 0 36px;padding:0}@media screen and (max-width:767px){.popup-avatar__text{text-align:center}}
.popup-delete{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 .5s,opacity .5s linear;visibility:hidden;width:100%}@media screen and (max-width:767px){.popup-delete__text{text-align:center}}
.popup-delete__block{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);color:#000;height:181px;max-width:430px;position:relative;width:100%}@media screen and (max-width:767px){.popup-delete__block{max-width:282px}}
.popup-delete__text{font-family:Inter,Arial,Helvetica,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:34px 0 36px;padding:0}@media screen and (max-width:767px){.popup-delete__text{text-align:center}}
.popup-image{background-color:rgba(0,0,0,.9);height:100%;left:0;position:fixed;top:0;width:100%}
.popup-image__block{display:flex;flex-direction:column;margin:auto;position:relative}
.popup-image__image{max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover}
.popup-image__text{color:#fff;font-family:Inter,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px}
.popup_is-opened{display:flex;opacity:1;visibility:visible}

