/*! 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(6cc68d6b835a3dd06e7e.woff2) format("woff2"),url(8398b3762d7b06fc3b8c.woff) format("woff")}@font-face{font-family:Inter;font-weight:500;src:url(8a50feca5194fae5cc45.woff2) format("woff2"),url(f4d11c8a0b8ff301493a.woff) format("woff")}@font-face{font-family:Inter;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
.project{background-color:#000}
.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%;font-family:Inter,Helvetica Neue,Arial,sans-serif;margin:0 auto;max-width:1280px;text-rendering:optimizeLegibility}
.header{margin:0;max-width:68.7%;padding:45px 200px 40px}.header:after{border-bottom:1px solid rgba(84,84,84,.7);content:"";display:block;margin:0 auto;max-width:100%;padding-top:41px}@media screen and (max-width:1080px){.header{max-width:100%;padding-left:0;padding-right:0}}@media screen and (max-width:320px){.header{padding:0}.header:after{max-width:320px;padding-top:27px}}
.header__logo{max-width:100%;-o-object-fit:contain;object-fit:contain}@media screen and (max-width:1080px){.header__logo{padding-left:27px}}@media screen and (max-width:320px){.header__logo{max-width:103.74px;min-height:24.4px;padding-top:28px}}
.profile{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:69%;padding-bottom:50px}@media screen and (min-width:932px) and (max-width:1279px){.profile{max-width:75%}}@media screen and (min-width:321px) and (max-width:931px){.profile{max-width:90%}}@media screen and (max-width:607px){.profile{flex-direction:column;max-width:100%;padding:42px 19px 36px}}
.profile__avatar-container{border-radius:50%;max-width:120px;min-height:120px;position:relative}
.profile__avatar{border-radius:50%;height:120px;max-width:120px;-o-object-fit:cover;object-fit:cover;position:relative;z-index:-1}
.profile__avatar-hover{background:no-repeat rgba(0,0,0,.8) 50%/26px url(a086f758840ae814ecde.svg);border:none;border-radius:50%;bottom:0;height:120px;max-width:100%;opacity:0;position:absolute;right:0;top:0;width:120px}.profile__avatar-hover:hover{cursor:pointer;opacity:1}
.profile__info{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start;margin:0;max-width:50%;padding-left:30px;padding-right:244px}@media screen and (max-width:1274px){.profile__info{max-width:40%;padding-right:0}}@media screen and (max-width:1109px){.profile__info{max-width:50%}}@media screen and (max-width:737px){.profile__info{justify-content:center}}@media screen and (max-width:607px){.profile__info{padding-bottom:36px;padding-left:0;padding-top:26px}}@media screen and (max-width:348px){.profile__info{max-width:75%}}@media screen and (max-width:339px){.profile__info{max-width:80%}}@media screen and (max-width:320px){.profile__info{max-width:282px;padding-bottom:32px}}
.profile__username{color:#fff;font-family:Inter,Arial,sans-serif;font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;padding-right:15px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:737px){.profile__username{font-size:27px;padding-right:5px}}@media screen and (max-width:320px){.profile__username{font-size:27px;line-height:33px;max-width:189px;padding-left:25px;padding-right:10px}}
.profile__description{color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:0;min-width:336px;overflow:hidden;padding-top:9px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:737px){.profile__description{font-size:14px;line-height:17px;min-width:282px;padding-top:8px;text-align:center}}
.profile__edit-button{background:no-repeat 50%/10px transparent url(2b48ed0703adbb9d5e89.png);border:1px solid #fff;height:24px;padding:6px;width:24px}.profile__edit-button:hover{cursor:pointer;opacity:.6;transition:.35s}@media screen and (max-width:681px){.profile__edit-button{padding:3px}}@media screen and (max-width:320px){.profile__edit-button{background-size:7.5px;height:18px;width:18px}}
.profile__add-button{background:no-repeat 50%/22px transparent url(e771cd613bd25878a549.png);border:2px solid #fff;height:50px;justify-self:end;padding:14px 64px;width:165px}.profile__add-button:hover{cursor:pointer;opacity:.6;transition:.35s}@media screen and (max-width:320px){.profile__add-button{background-size:16px;width:282px}}
.elements{margin:0 auto;max-width:68.8%}@media screen and (max-width:1279px){.elements{max-width:80%}}@media screen and (max-width:1199px){.elements{max-width:85%}}@media screen and (max-width:1035px){.elements{max-width:90%}}@media screen and (max-width:320px){.elements{max-width:100%}}
.elements__list{display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,minmax(282px,1fr));grid-template-rows:repeat(2,1fr);justify-content:center;list-style:none;margin:0;max-width:100%;padding:0}@media screen and (max-width:320px){.elements__list{gap:19px}}
.element{background-color:#fff;border-radius:10px 10px 10px 10px;display:flex;flex-direction:column;height:361px;justify-items:center;justify-self:center;margin:0 auto;max-width:282px;position:relative}
.element__delete{background:no-repeat 50%/18px transparent url(96f3e8182c3a9915dfee.png);border:0;display:block;height:19px;position:absolute;right:20px;top:20px;width:18px}.element__delete:hover{cursor:pointer;opacity:.5;transition:.35s}
.element__delete_inactive{display:none}
.element__image{border-radius:10px 10px 0 0;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}.element__image:hover{cursor:pointer}
.element__group{align-items:center;display:flex;justify-content:space-between;margin:0;max-width:85%;padding-left:21px;padding-top:25px}
.element__caption{align-self:flex-start;color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.element__like{background:no-repeat 50%/22px transparent url(87ed371465c7a6a1cd01.svg);border:0;height:19px;width:22px}.element__like:hover{cursor:pointer;opacity:.5;transition:.35s}
.element__like_active{background:no-repeat 50%/22px url(173ba57ed20fcbc5bb0c.svg);border:0;height:19px;opacity:1;width:22px}
.element__amount-likes{font-family:Inter,Arial,sans-serif;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0;text-align:center}
.footer{max-width:24.9%;padding-bottom:60px;padding-left:200px;padding-top:68px}@media screen and (max-width:1279px){.footer{max-width:90%;padding:48px 19px 36px}}
.footer__copyright{color:#545454;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:1279px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{background:rgba(0,0,0,.9);cursor:pointer;display:flex;height:100vh;opacity:0;overflow:hidden;position:fixed;top:0;transition:visibility 0s linear .5s,opacity .5s linear;visibility:hidden;width:100%;z-index:100}@media screen and (max-width:896px){.popup{max-width:896px}}@media screen and (max-width:697px){.popup{max-width:697px}}@media screen and (max-width:320px){.popup{max-width:320px}}
.popup_opened{opacity:1;transition-delay:0s;visibility:visible}
.popup__toggle-image{background:no-repeat 50%/32px transparent url(b2ce87edca05ba3f6a45.png);border:none;bottom:333px;height:32px;left:437px;margin:0;position:absolute;width:32px}.popup__toggle-image:hover{cursor:pointer;opacity:.6;transition:.35s}@media screen and (max-width:557px){.popup__toggle-image{background-size:20px;bottom:300px;height:20px;left:262px;width:20px}}
.popup__toggle-image_place{bottom:280px}@media screen and (max-width:557px){.popup__toggle-image_place{bottom:240px}}
.popup__container{box-sizing:border-box;cursor:default;margin:auto;width:430px}@media screen and (max-width:557px){.popup__container{width:282px}}
.popup__form{background:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;max-width:100%;padding-bottom:37px;position:relative}@media screen and (max-width:557px){.popup__form{padding-bottom:25px}}
.popup__heading{color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:900;line-height:29px;margin:0;padding-left:36px;padding-top:34px}@media screen and (max-width:557px){.popup__heading{font-size:18px;line-height:22px;padding-left:22px;padding-top:25px}}
.popup__input{border:none;display:flex;flex-direction:column;justify-content:space-between;max-width:100%;padding:45px 36px 13px}@media screen and (max-width:557px){.popup__input{padding:34px 22px 11px}}
.popup__item{border:0;border-bottom:1px solid rgba(0,0,0,.2);color:#000;font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:400;line-height:17px;margin:0;min-height:27px;width:100%}
.popup__item_type_error{border-bottom-color:red}
.popup__item-error{box-sizing:border-box;color:red;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px;min-height:35px;opacity:0;overflow-y:hidden;padding-top:5px;visibility:hidden}
.popup__item-error_active{opacity:1;transition-delay:0s;visibility:visible}
.popup__button{background-color:#000;border:none;border-radius:2px;color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin:0 auto;padding:0;text-align:center;width:358px}.popup__button:hover{cursor:pointer;opacity:.8;transition:.35s}@media screen and (max-width:557px){.popup__button{font-size:14px;height:46px;line-height:17px;width:238px}}
.popup__loading{display:none}.popup__loading:after{content:"Сохранение..."}
.popup__button_inactive{background-color:transparent;border:1px solid #000;border-radius:2px;color:#000;opacity:20%}.popup__button_inactive:hover{cursor:default;opacity:.2;transition:.35s}
.popup__img-container{margin:auto;max-width:1280px;position:relative}
.popup__figure-toggle-image{background:no-repeat 50%/32px transparent url(b2ce87edca05ba3f6a45.png);border:none;height:32px;margin:0;position:absolute;right:-40px;top:-40px;width:32px}.popup__figure-toggle-image:hover{cursor:pointer;opacity:.6;transition:.35s}@media screen and (max-width:557px){.popup__figure-toggle-image{background-size:20px;height:20px;right:0;top:-27px;width:20px}}
.popup__figure{margin:0}
.popup__image{max-height:75vh;max-width:75vw}
.popup__caption{color:#fff;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px}

