/*! 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(c70cc74045523eb2536e.woff) format("woff"),url(450beda71fb8564202a0.woff2) format("woff2")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(c6938660eec019fefd68.woff) format("woff"),url(15ca31c0a2a68f76d2d1.woff2) format("woff2")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(9053572c46aeb4b16caa.woff) format("woff"),url(293fd13dbca5a3e450ef.woff2) format("woff2")}
.root{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-appearance:none;-moz-appearance:none;background-color:#000;color:#fff;font-family:Inter,sans-serif;margin:0 auto;min-height:100vh;min-width:320px;padding:0;text-rendering:optimizeLegibility}
.header{align-items:flex-end;border-bottom:1px solid rgba(84,84,84,.7);display:flex;justify-content:space-between;margin:0 auto;max-width:880px;padding:45px 0 40px}@media screen and (max-width:1024px){.header{padding-left:19px}}@media screen and (max-width:767px){.header{padding:28px 0 30px 27px}}
.header__link{height:33px;margin:0;padding:0}@media screen and (max-width:767px){.header__link{height:24.5px}}
.header__logo{height:33px;width:142px}.header__logo:hover{opacity:.5;transition:.5s}@media screen and (max-width:767px){.header__logo{height:24.4px;width:103px}}
.profile{align-items:center;color:#fff;display:flex;flex-direction:row;justify-content:space-between;margin:40px auto 0;max-width:880px;position:relative}@media screen and (max-width:1024px){.profile{padding:0 19px}}@media screen and (max-width:767px){.profile{flex-direction:column;margin:42px auto 0}}
.profile__avatar-section{border-radius:50%;display:flex;margin:0;padding:0;position:relative}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:120px}
.profile__avatar-button{background-color:transparent;border:none;border-radius:50%;cursor:pointer;height:120px;margin:0;padding:0;position:absolute;width:120px}.profile__avatar-button:hover{background:rgba(0,0,0,.8) url(a086f758840ae814ecde.svg) 50% no-repeat}
.profile__info{align-items:flex-start;align-items:center;display:flex;flex-direction:row;margin-left:30px;margin-right:auto}@media screen and (max-width:767px){.profile__info{align-items:center;margin:26px 19px 0 46px}}
.profile__info-content{align-items:flex-start;display:flex;flex-direction:column}@media screen and (max-width:767px){.profile__info-content{align-items:center}}
.profile__name{font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__name{font-size:26px;line-height:32.68px;text-align:center;width:189px}}
.profile__about{font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:8px 0 0;max-width:336px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__about{font-size:14px;line-height:17px;margin-top:8px;max-width:189px;text-align:center}}
.profile__button-edit{background:url(6c7bf05444b9793fdf6e.svg) 50% no-repeat;background-color:#000;border:1px solid #fff;height:24px;justify-content:center;margin:15px auto auto 18px;padding:0;width:24px}@media screen and (max-width:767px){.profile__button-edit{height:18px;margin:8px auto auto 10px;width:18px}}.profile__button-edit:hover{cursor:pointer;opacity:.6;transition:.3s}
.profile__button-add{background:url(bed8c136e13907f5eefb.svg) 50% no-repeat;background-color:#000;border:1px solid #fff;border-radius:2px;height:50px;padding:0;width:150px}@media screen and (max-width:767px){.profile__button-add{margin-top:33px;width:282px}}.profile__button-add:hover{cursor:pointer;opacity:.6;transition:.3s}
.cards{margin:50px auto 0;max-width:880px;padding:0}@media (max-width:580px){.cards{padding-left:19px;padding-right:19px}}
.cards__list{-webkit-padding-start:0;-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,1fr);justify-content:center;list-style:none;padding-inline-start:0;row-gap:20px}@media screen and (max-width:1024px){.cards__list{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:767px){.cards__list{grid-gap:20px;grid-template-columns:1fr;margin-top:36px}}
.card__item{border:none;margin:0 auto;max-height:361px;position:relative;width:282px}
.card__delete{background:url(ce3b64935accf9b8212e.svg) 50% no-repeat;background-color:transparent;border:none;height:19px;padding:0;position:absolute;right:20px;top:20px;width:18px;z-index:2}.card__delete:hover{cursor:pointer;opacity:.6}
.card__photo{border:none;border-top-left-radius:10px;border-top-right-radius:10px;display:block;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:282px}.card__photo:hover{background-color:#2a2c2f;content:"";cursor:pointer;opacity:.5;transition:.3s;z-index:0}
.card__description{align-items:center;background-color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:22px 21px;width:240px}
.card__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;max-width:224px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.card__like{background:url(1ad06e85f169668a1f36.svg);background-color:transparent;border:none;cursor:pointer;height:19px;margin:0;padding:0;width:22px}.card__like:hover{opacity:.5;transition:.3s}.card__like:active{color:#000}
.card__like-counter{color:#000;font-family:Inter;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0;text-align:center}
.card__like-area{align-items:center;display:flex;flex-direction:column;height:35px;margin:0;padding:0}
.card__like-active{background:url(dd6a61e81552be95f4b7.svg)}
.footer{display:flex;flex-direction:row;justify-content:flex-start;margin:0 auto;max-width:880px;padding:66px 0 56px}@media screen and (max-width:767px){.footer{padding:48px 19px 33px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:767px){.footer__copyright{font-size:14px;font-weight:400;line-height:17px}}
.popup{align-items:center;background:rgba(0,0,0,.5);display:flex;flex-flow:column nowrap;height:100%;justify-content:center;left:50%;margin:0 auto;opacity:0;padding:0;position:fixed;top:50%;transform:translate(-50%,-50%);transition:visibility 0s,opacity .5s linear;visibility:hidden;width:100%;z-index:3}
.popup__container{background:#fff;border-radius:10px;display:flex;flex-direction:column;justify-content:center;margin:0 auto;padding:34px 36px 37px;position:relative;width:358px;z-index:3}@media screen and (max-width:767px){.popup__container{padding:25px 22px;width:238px}}
.popup__photo{background:none;border:none;display:flex;flex-direction:column;justify-content:center;margin:0 auto;position:relative;z-index:3}
.popup__form{display:flex;flex-direction:column;justify-content:space-between}
.popup__close-image{height:32px;width:32px}@media screen and (max-width:767px){.popup__close-image{height:20px;width:20px}}
.popup__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 54px;width:330px}@media screen and (max-width:767px){.popup__title{font-size:18px;line-height:22px;margin:0 0 75px;width:238px}}
.popup__input{border:none;border-bottom:1px solid rgba(84,84,84,.2);color:#000;font-size:14px;font-style:normal;font-weight:400;height:14px;line-height:17px;margin:0 auto;overflow:hidden;padding:0 0 13px;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;width:358px}@media screen and (max-width:767px){.popup__input{width:238px}}.popup__input::-moz-placeholder{color:#c4c4c4}.popup__input::placeholder{color:#c4c4c4}.popup__input:active,.popup__input:focus{outline:none}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input-error{color:red;display:flex;font-size:12px;font-weight:400;line-height:15px;min-height:30px;opacity:0;padding-top:5px}
.popup__input-error-active{opacity:1}
.popup_full_photo{background:rgba(0,0,0,.9)}
.popup_opened{opacity:1;visibility:visible}
.popup__submit-button{background-color:#000;border:none;border-radius:2px;color:#fff;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin:18px auto 0;text-align:center;width:358px}.popup__submit-button:hover{cursor:pointer;opacity:.8;transition:.3s}@media screen and (max-width:767px){.popup__submit-button{font-size:14px;font-style:normal;height:46px;line-height:17px;margin:15px auto 0;width:238px}}
.popup__submit-button-inactive{background-color:#fff;border:1px solid #000;border-radius:2px;color:#000;cursor:auto;opacity:.2}.popup__submit-button-inactive:hover{cursor:auto;opacity:.2}
.popup__close{background:url(039f1f5203f653b4bacd.svg) 50% no-repeat;background-color:transparent;border:none;height:32px;padding:0;position:absolute;right:-40px;top:-40px;width:32px}.popup__close:hover{cursor:pointer;opacity:.6}@media screen and (max-width:767px){.popup__close{height:20px;right:0;top:-36px;width:20px}}
.popup__full-image{background:none;margin:0;max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover;padding:0}
.popup__full-name{color:#fff;font-size:12px;font-style:normal;font-weight:400;margin:10px 0 0;padding:0}

