/*! 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-weight:400;src:url(6cc68d6b835a3dd06e7e.woff2) format("woff2"),url(8398b3762d7b06fc3b8c.woff) format("woff")}@font-face{font-family:Inter;font-weight:500;src:url(6db7e439cc4b0e5c0cd2.woff2) format("woff2"),url(7ddb89dcdb33dd761944.woff) format("woff")}@font-face{font-family:Inter;font-weight:900;src:url(141c7af6ed109b318513.woff2) format("woff2"),url(fd37f7e052bea1018058.woff) 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%;background-color:#000;margin:0 auto;max-width:1280px;text-rendering:optimizeLegibility}
.content{margin:40px auto 0}@media screen and (max-width:879px){.content{width:calc(100% - 32px)}}@media screen and (max-width:767px){.content{margin:42px auto 0}}
.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;flex-direction:column;justify-content:space-between;margin:45px auto 0;max-width:880px;min-height:74px}@media screen and (max-width:879px){.header{max-width:calc(100% - 32px)}}@media screen and (max-width:767px){.header{margin-top:28px;min-height:56px}}@media screen and (width:320px){.header{max-width:100%}}
.header__logo{max-height:33px;max-width:142px;-o-object-fit:fill;object-fit:fill}@media screen and (max-width:767px){.header__logo{margin-left:27px;max-height:24.4px;max-width:103.74px}}
.profile{align-items:center;display:flex;margin:0 auto;max-width:880px}@media screen and (max-width:879px){.profile{width:calc(100% - 32px)}}@media screen and (max-width:767px){.profile{flex-direction:column;width:100%}}
.profile__avatar{border-radius:50%;height:120px;overflow:hidden;position:relative;width:120px}
.profile__avatar-img{background-position:50%;background-repeat:no-repeat;background-size:cover;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}
.profile__avatar-edit{background-color:rgba(0,0,0,.8);background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border:none;border-radius:50%;cursor:pointer;height:100%;left:0;-o-object-fit:cover;object-fit:cover;opacity:0;padding:0;position:absolute;top:0;transition:opacity .2s;width:100%}.profile__avatar-edit:hover{opacity:1}
.profile__button{background-color:transparent;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;background-size:22px;border:2px solid #fff;border-radius:2px;height:50px;margin-left:auto;min-width:150px}.profile__button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:767px){.profile__button{background-size:16px;margin:33px auto 0;width:282px}}
.profile__info-block{display:flex;flex-wrap:wrap;max-width:336px;padding-left:30px}@media screen and (max-width:767px){.profile__info-block{justify-content:center;margin-top:26px;max-width:282px;padding:0}}
.profile__name{color:#fff;font-family:Inter,Arial,sans-serif;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:767px){.profile__name{font-size:27px;line-height:33px;margin-left:28px;max-width:189px;text-align:center}}
.profile__information{color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:336px;min-width:100%;overflow:hidden;padding-top:16px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__information{font-size:14px;line-height:17px;max-width:282px;padding-top:8px;text-align:center}}
.profile__button-edit{align-self:center;background-color:transparent;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:10px;border:1px solid #fff;box-sizing:border-box;height:24px;margin-left:18px;width:24px}.profile__button-edit:hover{cursor:pointer;opacity:.6}@media screen and (max-width:767px){.profile__button-edit{background-size:7.5px;height:18px;margin-left:10px;width:18px}}
.elements{-moz-column-gap:17px;column-gap:17px;display:grid;grid-auto-columns:282px;grid-auto-rows:361px;grid-template-columns:repeat(3,282px);grid-template-rows:repeat(auto-fit,361px);justify-content:center;margin:50px auto 0;max-width:100%;min-width:282px;row-gap:20px}@media screen and (max-width:895px){.elements{grid-template-columns:repeat(2,282px)}}@media screen and (max-width:767px){.elements{margin:36px auto 0}}@media screen and (max-width:598px){.elements{grid-template-columns:282px}}
.element{background-color:#fff;border-radius:10px;display:flex;flex-direction:column;margin:0}
.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__caption{align-items:center;display:flex;justify-content:space-between;margin:0;padding-left:21px;padding-top:22px;width:240px}
.element__header{font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:208px}
.element__like-area{align-items:center;display:flex;flex-direction:column}
.element__like{align-self:center;background-color:transparent;background-image:url(1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;margin:0;padding:0;width:22px}.element__like:hover{opacity:.5}
.element__like_active{background-image:url(35948469632d0421d697.svg);opacity:1}
.element__likes-counter{color:#000;font-family:Inter,Arial,sans-serif;font-size:13px;font-style:normal;font-weight:400;line-height:normal;margin:0;padding-top:3px}
.element__delete{align-self:end;background-color:transparent;background-image:url(3f287bd16d42bae5c898.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;margin-right:20px;margin-top:20px;padding:0;position:absolute;width:18px}.element__delete:hover{opacity:.6}
.popup{align-items:center;background:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility 0s .2s,opacity .2s;visibility:hidden;width:100%;z-index:2}
.popup_opened{opacity:1;transition:visibility 0s,opacity .5s linear;visibility:visible}
.popup_type_image{background:rgba(0,0,0,.9);margin:0}
.popup__close-icon{background-color:transparent;background-image:url(622e8cdafa2222aa7c54.svg);background-position:50%;background-repeat:no-repeat;background-size:100%;border:none;height:32px;padding:0;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:767px){.popup__close-icon{height:20px;right:0;top:-36px;width:20px}}.popup__close-icon:hover{cursor:pointer;opacity:.6}
.popup__container{position:relative}
.popup__container_type_image{margin:0;padding:0}
.popup__container_type_add-img{align-items:center;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;justify-content:center;max-width:430px;width:100%}@media screen and (max-width:767px){.popup__container_type_add-img{max-width:282px}}
.popup__container_type_profile{align-items:center;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;justify-content:center;max-width:430px;width:100%}@media screen and (max-width:767px){.popup__container_type_profile{max-width:282px}}
.popup__container_type_add-avatar{align-items:center;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;justify-content:center;max-width:430px;width:100%}@media screen and (max-width:767px){.popup__container_type_add-avatar{max-width:282px}}
.popup__container_type_card-delete{align-items:center;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);display:flex;flex-direction:column;justify-content:center;max-width:430px;width:100%}@media screen and (max-width:767px){.popup__container_type_card-delete{max-width:282px}}
.popup__form{width:358px}@media screen and (max-width:767px){.popup__form{width:238px}}
.popup__inputs{border:none;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;margin:0;max-width:358px;padding:0;position:relative;row-gap:30px;width:100%}@media screen and (max-width:767px){.popup__inputs{max-width:238px}}
.popup__label{display:flex;flex-direction:column;position:relative;row-gap:5px}
.popup__heading{color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:900;line-height:29px;margin:0;padding-bottom:54px;padding-top:34px;width:358px}@media screen and (max-width:767px){.popup__heading{font-size:18px;line-height:22px;padding-bottom:75px;padding-top:25px;width:238px}}
.popup__heading_type_card-delete{padding-bottom:0}
.popup__information{border:none;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;padding:0 0 10px;vertical-align:top}.popup__information:focus{outline:none}
.popup__information_type_error{border-bottom:1px solid red}
.popup__submit{background:#000;border:0 solid #000;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:18px;font-weight:400;height:50px;line-height:22px;margin:43px 0 36px;padding:0;text-align:center;width:100%}.popup__submit:hover{background:rgba(0,0,0,.8);border:0 solid rgba(0,0,0,.8)}.popup__submit:disabled{background:#fff;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);cursor:default}@media screen and (max-width:767px){.popup__submit{font-size:14px;line-height:17px;margin:45px 0 25px}}
.popup__submit_type_card-delete{margin-top:38px}
.popup__image{margin:0;max-height:75vh;max-width:75vw;padding:0}
.popup__image-title{align-self:start;color:#fff;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:normal;margin:10px 0 0}
.popup__input-error{color:red;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:normal;margin:0;min-height:30px;position:absolute;top:30px}
.footer{margin:66px auto 60px;max-width:880px}@media screen and (max-width:879px){.footer{width:calc(100% - 32px)}}@media screen and (max-width:767px){.footer{margin:48px auto 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:767px){.footer__copyright{font-size:14px;line-height:17px}}

