/*! 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(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.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")}
.body{background:#000}
.page{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;background:#000;color:#fff;font-family:Inter,Arial,sans-serif;font-weight:400;margin:0 auto;max-width:1280px;min-width:320px}
.header{border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box;display:flex;margin:0 auto;max-width:880px;min-height:119px;padding-top:45px}@media screen and (max-width:950px){.header{padding-left:27px}}@media screen and (max-width:420px){.header{min-height:56px;padding-top:28px}}
.header__logo{background-image:url(1f1e95914acec5e33236.svg);background-repeat:no-repeat;height:33px;width:142px}@media screen and (max-width:420px){.header__logo{background-size:contain;height:24.4px;padding-bottom:31.6px;width:103.74px}}
.profile{box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;margin:0 auto;max-width:880px;min-height:120px;padding-top:40px}@media screen and (max-width:950px){.profile{margin:0 auto;max-width:710px;padding-left:19px;padding-right:19px}}@media screen and (max-width:615px){.profile{justify-content:center}}@media screen and (max-width:420px){.profile{padding-top:38.5px}}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__info{display:flex;flex-wrap:wrap;padding:22px 30px 25px;width:336px}@media screen and (max-width:420px){.profile__info{padding:26px 19px 36px;width:282px}}
.profile__nickname{display:block;font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:420px){.profile__nickname{font-size:27px;line-height:33px;max-width:189px;padding-left:46px}}
.profile__text{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:336px;overflow:hidden;padding-top:6px;text-overflow:ellipsis;white-space:nowrap;width:100%}@media screen and (max-width:420px){.profile__text{font-size:14px;margin:0 auto;padding-top:14px}}
.profile__edit-button{background-color:transparent;background-image:url(a1892ea72cb87c8fc3aa.svg);background-repeat:no-repeat;border:none;cursor:pointer;display:block;height:24px;margin-left:18px;margin-top:15px;opacity:1;transition:opacity .3s ease-in;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:420px){.profile__edit-button{background-size:cover;height:18px;margin-left:10px;margin-top:8px;width:18px}}
.profile__add-button{background-color:transparent;background-image:url(6f41966c71dd7895857f.svg);background-repeat:no-repeat;border:none;border-radius:2px;cursor:pointer;display:block;height:50px;margin:35px 0;opacity:1;transition:opacity .3s ease-in;width:150px}.profile__add-button:hover{opacity:.6}.profile__add-button:focus{outline:none}@media screen and (max-width:615px){.profile__add-button{background-image:url(6f86ece55e54220c5485.svg);height:50px;width:282px}}@media screen and (max-width:420px){.profile__add-button{margin:0 0 36px}}
.profile__item{display:flex;flex-wrap:wrap;position:relative}@media screen and (max-width:615px){.profile__item{justify-content:center}}
.profile__edit-avatar{background-color:transparent;border:none;border-radius:50%;display:block;height:120px;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease-in;width:120px}.profile__edit-avatar:hover{background-color:#000000cc;background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;cursor:pointer;opacity:.8}
.cards{padding-top:51px}@media screen and (max-width:420px){.cards{padding-top:0}}
.cards__info{background-color:#fff;border-radius:0 0 10px 10px;box-sizing:border-box;display:flex;justify-content:space-between;padding:25px 20px 25px 21px;width:282px}
.cards__gallery{display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,282px);margin:0 auto;max-width:880px;padding:0}@media screen and (max-width:950px){.cards__gallery{max-width:581px}}@media screen and (max-width:620px){.cards__gallery{max-width:282px;padding-left:19px;padding-right:19px}}
.cards__item{background-color:#fff;border-radius:10px;list-style-type:none;position:relative;width:282px}
.cards__like-button{align-self:center;background-color:initial;background-image:url(87ed371465c7a6a1cd01.svg);background-position:top;background-repeat:no-repeat;background-size:contain;border:none;box-sizing:border-box;cursor:pointer;display:block;padding-top:17px;transition:opacity .3s ease;width:22px}.cards__like-button:hover{opacity:.5}.cards__like-button:focus{outline:none}
.cards__like-button_active{background-color:transparent;background-image:url(dd6a61e81552be95f4b7.svg)}
.cards__name{color:#000;font-size:24px;font-weight:900;line-height:23px;margin:0;max-width:218px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cards__photo{background-color:#fff;border-radius:10px 10px 0 0;cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:top center;object-position:top center;width:282px}
.cards__trash-button{background-color:transparent;background-image:url(e3c42771bff3aaa52f76.svg);background-repeat:no-repeat;background-size:contain;border:0;cursor:pointer;display:block;height:19px;position:absolute;right:20px;top:20px;transition:opacity .3s ease-in;width:18px}.cards__trash-button:hover{opacity:.6}.cards__trash-button:focus{outline:none}
.cards__container{box-sizing:border-box;display:flex;flex-direction:column;margin-right:20px;margin-top:22px;max-width:22px;min-height:35px}
.cards__likes{color:#000;font-size:13px;font-weight:400;line-height:1.23;margin:0;padding:0}
.footer{display:block;margin:0 auto;max-width:880px;padding:67px 0 60px}@media screen and (max-width:950px){.footer{padding-left:19px}}@media screen and (max-width:420px){.footer{padding-bottom:36px;padding-top:48px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:420px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);cursor:pointer;display:flex;height:100vh;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility .2s,opacity .2s ease-in-out;visibility:hidden;width:100%}
.popup_opened{opacity:1;visibility:visible}
.popup_type_photo{background-color:rgba(0,0,0,.9)}
.popup__image{background-position:50%;background-size:contain;display:block;margin:0;max-height:75vh;max-width:100%;width:auto}
.popup__name{display:block;font-size:12px;font-weight:400;line-height:15px;margin:0;padding-top:10px}
.popup__container{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);cursor:default;display:flex;flex-direction:column;max-width:430px;position:relative;width:100%}@media screen and (max-width:580px){.popup__container{max-width:282px}}
.popup__container_image{background-color:transparent;box-shadow:none;max-height:75vh;max-width:75vw;width:auto}
.popup__heading{color:#000;display:block;font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:330px;padding-bottom:45px;padding-left:36px;padding-top:34px}@media screen and (max-width:580px){.popup__heading{font-size:18px;line-height:22px;max-width:238px;padding-left:22px;padding-top:25px}}
.popup__input-container{border:0;margin:0;padding:0 36px}@media screen and (max-width:580px){.popup__input-container{padding:0 22px}}
.popup__item{background-color:transparent;border:0;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;color:#000;font-size:14px;height:27px;margin:0;opacity:1;padding:0 0 13px;width:358px}.popup__item:-ms-input-placeholder{color:#c4c4c4;font-family:inherit;font-size:14px;line-height:17px;opacity:1}.popup__item::placeholder{color:#c4c4c4;font-family:inherit;font-size:14px;line-height:17px;opacity:1}.popup__item::-webkit-input-placeholder{color:#c4c4c4;font-family:inherit;font-size:14px;line-height:17px;opacity:1}.popup__item::-moz-placeholder{color:#c4c4c4;font-family:inherit;font-size:14px;line-height:17px;opacity:1}.popup__item::-ms-input-placeholder{color:#c4c4c4;font-family:inherit;font-size:14px;line-height:17px;opacity:1}@media screen and (max-width:580px){.popup__item{width:238px}}
.popup__item_invalid{border-bottom:1px solid red}
.popup__exit-button{background-color:transparent;background-image:url(2ceb783afbab75916ddc.svg);background-repeat:no-repeat;border:0;cursor:pointer;display:block;height:32px;opacity:1;padding:0;position:absolute;right:-40px;top:-40px;transition:opacity .3s ease-in;width:32px}.popup__exit-button:hover{opacity:.6}@media screen and (max-width:580px){.popup__exit-button{background-size:cover;height:20px;right:0;top:-36px;width:20px}}
.popup__error-message{box-sizing:border-box;color:red;display:block;font-size:12px;font-weight:400;line-height:15px;margin:0;min-height:30px;opacity:0;padding:0}
.popup__error-message_visible{opacity:1;padding-top:5px}
.popup__button{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;display:block;font-size:18px;font-weight:400;height:50px;line-height:22px;margin-bottom:37px;margin-left:36px;margin-top:18px;opacity:1;padding:0;transition:opacity .3s ease-in;width:358px}.popup__button:hover{opacity:.8}.popup__button:focus{outline:none}@media screen and (max-width:580px){.popup__button{font-size:14px;height:46px;line-height:17px;margin-bottom:25px;margin-left:22px;margin-top:45px;width:238px}}
.popup__button_disabled{background-color:transparent;border:1px solid #000;color:#000;opacity:.2;transition:none}.popup__button_disabled:hover{opacity:.2}

