/*! 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(c8ba52b05a9ef10f4758.woff2?v=3.19) format("woff2"),url(8c206db99195777c6769.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2?v=3.19) format("woff2"),url(9053572c46aeb4b16caa.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2?v=3.19) format("woff2"),url(c6938660eec019fefd68.woff?v=3.19) format("woff")}
.page{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-rendering:optimizeLegibility;background-color:#000;color:#fff;font-family:Inter,Helvetica,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.21;min-width:320px;position:relative}
.page__header{margin:0 auto}
.page__profile{margin:42px auto 0}@media screen and (min-width:900px){.page__profile{margin-top:40px}}
.page__cards{margin:36px auto 0}@media screen and (min-width:900px){.page__cards{margin-top:50px}}
.page__footer{margin:48px auto 36px}@media screen and (min-width:900px){.page__footer{margin:66px auto 60px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);max-width:880px}
.header__logo{margin:30px 0 29px 27px;width:104px}@media screen and (min-width:900px){.header__logo{margin:45px 0 41px;width:142px}}
.profile{max-width:282px}@media screen and (min-width:600px){.profile{align-items:center;-moz-column-gap:30px;column-gap:30px;display:grid;grid-template-columns:120px 1fr 150px;justify-items:center;max-width:590px}}@media screen and (min-width:900px){.profile{max-width:880px}}
.profile__image{border-radius:50%;display:block;height:120px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;position:relative;transition:all .5s ease-out;width:120px}.profile__image:hover{opacity:.2}
.profile__image-button{background:none;border:none;border-radius:50%;display:block;margin:0 auto;padding:0;position:relative;text-align:center;transition:all .5s ease-out}.profile__image-button:hover{cursor:pointer}.profile__image-button:hover:before{background-size:26px 26px}.profile__image-button:active:before,.profile__image-button:hover:before{background-image:url(ea8cca3b96edda24ec96.svg);background-position:50%;background-repeat:no-repeat;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.profile__image-button:active:before{transform:scale(.8)}@media screen and (min-width:600px){.profile__image-button{grid-row:1/span 2}}
.profile__name-wrapper{align-items:baseline;-moz-column-gap:10px;column-gap:10px;display:flex;justify-content:center;margin-top:26px}@media screen and (min-width:600px){.profile__name-wrapper{align-self:end;justify-self:start;margin-top:0}}
.profile__name{font-size:27px;font-weight:500;line-height:1.22;margin:0 0 0 28px;overflow:hidden;padding:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:600px){.profile__name{margin-left:0;max-width:230px}}@media screen and (min-width:900px){.profile__name{font-size:42px;line-height:1.14;max-width:520px}}
.profile__edit-button{background-color:transparent;background-image:url(c4c1cc0bbd53e5f9586c.svg);background-position:50%;background-repeat:no-repeat;background-size:18px;border:none;height:18px;min-width:18px;transition:opacity .5s ease-in-out}@media screen and (min-width:600px){.profile__edit-button{background-size:24px;height:24px;margin-left:18px;min-width:24px}}.profile__edit-button:hover{cursor:pointer;opacity:60%}
.profile__description{margin:7px 0 0;overflow:hidden;padding:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:600px){.profile__description{align-self:start;font-size:18px;justify-self:start;line-height:1.22;max-width:230px}}@media screen and (min-width:900px){.profile__description{max-width:520px}}
.profile__add-button{background-color:transparent;background-image:url(1b0ad08bde88605fa1f7.svg);background-position:50%;background-repeat:no-repeat;background-size:16px;border:2px solid #fff;border-radius:2px;height:50px;margin-top:32px;transition:opacity .5s ease-in-out;width:100%}@media screen and (min-width:600px){.profile__add-button{background-size:22px;grid-column:3/4;grid-row:1/span 2;margin-top:0}}.profile__add-button:hover{cursor:pointer;opacity:60%}
.cards{max-width:282px;min-height:calc(100vh - 356px)}@media screen and (min-width:600px){.cards{max-width:590px;min-height:calc(100vh - 392px)}}@media screen and (min-width:900px){.cards{max-width:880px;min-height:calc(100vh - 481px)}}
.cards__list{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,282px);justify-content:center;list-style:none;margin:0;padding:0;row-gap:20px}
.card{position:relative;width:282px}
.card__image{border-top-left-radius:10px;border-top-right-radius:10px;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}.card__image:hover{cursor:pointer;opacity:80%}
.card__description{align-items:center;background-color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px;box-sizing:border-box;display:flex;justify-content:space-between;padding:23px 20px 17px 21px;width:100%}
.card__text{color:#000;font-size:24px;font-weight:900;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.card__like-wrapper{display:flex;flex-direction:column;justify-content:center;min-height:38px}
.card__like-icon{background-color:transparent;background-image:url(7ab614fc4d645f64b753.svg);background-position:50%;background-repeat:no-repeat;border:none;height:19px;min-width:22px;transition:opacity transform .5s ease-in-out linear .6s}.card__like-icon:hover{cursor:pointer;opacity:50%}.card__like-icon:active{transform:scale(.8)}
.card__like-counter{color:#000;font-size:13px;line-height:1.23;margin:3px 0 0;padding:0;text-align:center}
.card__like-icon_pressed{background-image:url(713bc2a79ef3d02574b3.svg)}
.card__delete-icon{background-color:transparent;background-image:url(62199a0da02f6909837d.svg);background-position:50%;background-repeat:no-repeat;border:none;display:none;height:19px;position:absolute;right:20px;top:20px;transition:opacity transform .5s ease-in-out linear .6s;width:18px}.card__delete-icon:hover{cursor:pointer;opacity:60%}.card__delete-icon:active{transform:scale(.8)}
.card__delete-icon_active{display:block}
.footer{max-width:282px}@media screen and (min-width:600px){.footer{min-width:590px}}@media screen and (min-width:900px){.footer{min-width:880px}}
.footer__copyright{color:#545454;margin:0;padding:0}@media screen and (min-width:600px){.footer__copyright{font-size:18px;line-height:1.22}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100vh;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out;visibility:hidden;width:100vw}
.popup_opened{opacity:1;visibility:visible}
.popup_type_picture{background-color:rgba(0,0,0,.9)}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;padding:25px 22px;position:relative;width:282px}@media screen and (min-width:600px){.popup__container{padding:34px 36px 37px;width:430px}}
.popup__container_type_picture{background-color:transparent;border-radius:0;box-shadow:none;padding:0;width:auto}@media screen and (min-width:600px){.popup__container_type_picture{padding:0;width:auto}}
.popup__heading{color:#000;font-size:18px;font-weight:900;line-height:1.22;margin:0 auto 75px}@media screen and (min-width:600px){.popup__heading{font-size:24px;line-height:1.208;margin-bottom:46px}}
.popup__input-wrapper{position:relative}
.popup__text-input{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;display:block;margin:0 0 25px;padding:0 0 12px;width:100%}
.popup__text-input_type_error{border-bottom-color:red}
.popup__input-error{color:red;display:none;font-size:12px;left:0;line-height:1.25;position:absolute;top:28px;z-index:1}
.popup__input-error_active{display:block}
.popup__image-container{margin:0}
.popup__image{display:block;max-height:75vh;max-width:75vw}
.popup__image-caption{font-size:12px;margin:10px 0 0;padding:0}
.popup__save-button{background-color:#000;border:none;border-radius:2px;color:currentColor;display:block;height:46px;margin:45px auto 0;padding:0;transition:opacity .5s ease-in-out;width:100%}@media screen and (min-width:600px){.popup__save-button{font-size:18px;height:50px;line-height:1.22;margin:50px auto 0}}.popup__save-button:hover{cursor:pointer;opacity:80%}.popup__save-button:disabled{background-color:transparent;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);cursor:default}
.popup__close-button{background-color:transparent;background-image:url(14a0594a69e003099797.svg);background-position:50%;background-repeat:no-repeat;background-size:20px;border:none;height:20px;position:absolute;right:0;top:-36px;transition:opacity .5s ease-in-out;width:20px}.popup__close-button:hover{cursor:pointer;opacity:60%}@media screen and (min-width:600px){.popup__close-button{background-size:32px;height:32px;right:-40px;top:-40px;width:32px}}

