/*! 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:900;src:url(15ca31c0a2a68f76d2d1.woff2),url(c6938660eec019fefd68.woff)}@font-face{font-family:Inter;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2),url(9053572c46aeb4b16caa.woff)}@font-face{font-family:Inter;font-weight:400;src:url(c8ba52b05a9ef10f4758.woff2),url(8c206db99195777c6769.woff)}
.page{background-color:#000;box-sizing:border-box;font-family:Inter,Arial,sans-serif;margin:0 auto;max-width:1280px;min-width:320px}
.page__container{display:flex;flex-direction:column;margin:0 0 0 auto;min-height:100vh;overflow:hidden;position:relative;width:100%}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin:45px auto 40px;max-width:882px;min-height:74px;width:100%}@media screen and (max-width:720px){.header{margin:28px auto 42px;max-width:100%;min-height:56px}}
.header__logo{max-width:142px}@media screen and (max-width:920px){.header__logo{padding-left:27px}}@media screen and (max-width:720px){.header__logo{max-width:103.74px;min-height:24.4px;padding-left:27px}}
.profile{display:flex;justify-content:space-between;margin:0 auto;max-width:880px}@media screen and (max-width:720px){.profile{align-items:center;flex-direction:column;margin:0 19px}}
.profile__container{display:flex;justify-content:flex-start}@media screen and (max-width:720px){.profile__container{align-items:center;flex-direction:column}}
.profile__change-avatar-button{background-color:transparent;border-radius:120px;cursor:pointer;height:120px;margin:0;max-width:120px;overflow:hidden;padding:0;position:relative;transition:background-color .5s ease}.profile__change-avatar-button:hover{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat}
.profile__avatar{border:none;border-radius:120px;height:100%;justify-self:flex-start;max-width:100%;-o-object-fit:cover;object-fit:cover;position:relative;z-index:-1}
.profile__info{align-self:center;-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:1fr 24px;margin-left:30px;max-width:366px;row-gap:7px}@media screen and (max-width:720px){.profile__info{-moz-column-gap:10px;column-gap:10px;margin:26px auto 33px;max-width:282px;row-gap:8px;width:100%}}
.profile__title{align-self:start;color:#fff;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:720px){.profile__title{font-size:27px;justify-self:flex-end;line-height:33px;max-width:189px}}
.profile__subtitle{align-self:start;color:#fff;font-size:18px;font-weight:400;grid-column:1/2;grid-row:2/3;line-height:21.78px;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:720px){.profile__subtitle{font-size:14px;line-height:17px;margin-left:50px;text-align:center}}
.profile__edit-button{align-self:end;background-color:#000;background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;box-sizing:border-box;cursor:pointer;grid-column:2/3;grid-row:1/2;height:100%;margin-bottom:8px;max-height:24px;max-width:24px;transition:.3s linear;width:100%}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:720px){.profile__edit-button{max-height:18px;max-width:18px;padding:0}}
.profile__add-button{align-self:center;background-color:#000;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;cursor:pointer;flex-grow:1;justify-content:center;margin:0;max-width:150px;min-height:50px;padding:0;transition:.3s linear}.profile__add-button:hover{opacity:.6}@media screen and (max-width:720px){.profile__add-button{background-image:url(54b1426515811a15ebaf.svg);border-radius:2px;max-width:382px;width:100%}}
.elements{margin:51px auto 67px;max-width:880px}@media screen and (max-width:920px){.elements{margin:51px 19px 67px}}@media screen and (max-width:720px){.elements{align-self:center;justify-self:center;margin:36px 19px 48px;max-width:calc(100% - 38px)}}
.elements__container{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,282px);grid-template-rows:auto;justify-content:center;list-style-type:none;margin:0;padding:0;row-gap:20px;width:100%}
.elements__card{background-color:#fff;border-radius:10px;min-height:361px;overflow:hidden;position:relative;width:100%}@media screen and (max-width:720px){.elements__card{justify-self:center}}
.elements__image{border-radius:10px 10px 0 0;cursor:pointer;height:282px;-o-object-fit:cover;object-fit:cover;width:100%}
.elements__description{align-items:center;display:flex;justify-content:space-between;padding-left:21px;padding-right:15px}
.elements__text{color:#000;font-size:24px;font-weight:900;line-height:29px;max-width:246px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.elements__like-button{align-items:center;background-color:transparent;background-image:url(0bc60938ca96a5dcae18.svg);background-position:50%;background-repeat:no-repeat;border:none;box-shadow:none;cursor:pointer;display:flex;height:19px;outline:none;padding:0;transition:.3s linear;width:22px}.elements__like-button:hover{opacity:.5}
.elements__like-container{display:flex;flex-direction:column}
.elements__like-button_active{background-image:url(7d05f10516335c399062.png);background-position:50%;background-repeat:no-repeat;opacity:1}
.elements__like-counter{align-self:center;color:#000;font-size:13px;font-weight:400;height:13px;line-height:16px;padding-top:3px;width:10px}
.elements__trash{background-color:transparent;background-image:url(ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;border:none;box-shadow:none;cursor:pointer;height:19px;outline:none;position:absolute;right:21.28px;top:20px;transition:.3s;width:18px}.elements__trash:hover{opacity:.6}
.footer{margin:auto auto 0;max-width:882px;padding-bottom:60px;width:100%}@media screen and (max-width:720px){.footer{max-width:calc(100% - 38px);padding:0 19px 36px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0;padding:0}@media screen and (max-width:720px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;font-family:inherit;justify-content:center;left:0;min-height:100%;opacity:0;overflow:hidden;position:fixed;top:0;transition:opacity .6s,visibility 0s .6s;visibility:hidden;width:100%}
.popup_is-opened{opacity:1;transition:visibility 0s,opacity .6s;visibility:visible}
.popup__container{align-self:center;background-color:#fff;background-position:50%;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;height:min(330px,calc(100vh - 100px));justify-self:center;max-width:430px;min-width:282px;padding:34px 36px 36px;position:relative;width:100%}@media screen and (max-width:720px){.popup__container{height:min(322px,calc(100vh - 100px));max-width:282px;padding:25px 22px}}
.popup__container-avatar{align-self:center;background-color:#fff;background-position:50%;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;font-family:inherit;height:min(272px,calc(100vh - 100px));justify-self:center;max-width:430px;min-width:282px;padding:34px 36px 36px;position:relative;width:100%}
.popup__title{color:#000;flex:1;font-size:24px;font-weight:900;line-height:29px;margin:0;padding:0;width:100%}@media screen and (max-width:720px){.popup__title{font-size:18px;line-height:22px}}
.popup__user-info{border:none;box-sizing:border-box;margin:0 0 10px;padding:0}@media screen and (max-width:720px){.popup__user-info{margin:0 0 10px}}.popup__user-info:last-of-type{margin:0}
.popup__user-name{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;font-family:inherit;font-size:14px;font-weight:400;line-height:17px;margin:0;padding:0 0 10px;width:100%}.popup__user-name::-webkit-input-placeholder{color:#000}.popup__user-name::-moz-placeholder{color:#000}.popup__user-name::-ms-input-placeholder{color:#000}
.popup__user-description{border:none;border-bottom:1px solid rgba(0,0,0,.2);cursor:pointer;font-family:inherit;font-size:14px;font-weight:400;line-height:17px;padding:0 0 10px;width:100%}.popup__user-description:focus{color:#000;opacity:1}.popup__user-description::-webkit-input-placeholder{color:#000}.popup__user-description::-moz-placeholder{color:#000}.popup__user-description::-ms-input-placeholder{color:#000}
.popup__button{align-self:center;background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;font-weight:400;justify-self:center;line-height:22px;margin:28px 0 0;min-height:50px;padding:0;text-align:center;transition:.5s linear;width:100%}.popup__button:hover{background-color:rgba(0,0,0,.8)}@media screen and (max-width:720px){.popup__button{display:block;font-size:14px;line-height:17px;margin:25px 0 0;min-height:46px}}
.popup__close{background-color:transparent;background-image:url(ad98de32e342afafa118.svg);background-position:50%;background-repeat:no-repeat;background-size:100%;border:none;cursor:pointer;height:32px;outline:none;padding:0;position:absolute;right:-40px;top:-40px;transition:.5s linear;width:32px}.popup__close:hover{opacity:.6}@media screen and (max-width:720px){.popup__close{height:20px;right:0;top:-36px;width:20px}}
.popup__image{align-self:center;background-position:50%;display:flex;height:auto;justify-self:center;max-height:75vh;max-width:75vw;position:relative;width:auto}
.popup_type-image{background-color:rgba(0,0,0,.9)}
.popup__text{color:#fff;font-family:inherit;font-size:12px;font-weight:400;line-height:15px;margin-top:10px;padding:0;width:100%}
.popup__close_js-img{right:-50px;top:-50px}@media screen and (max-width:720px){.popup__close_js-img{height:20px;right:0;top:-35px;width:20px}}
.popup__block-image{position:relative}
.popup_error-input{border-bottom:1px solid red}
.popup__button_invalid:disabled{background-color:#fff;border:1px solid #000;color:#000;cursor:default;opacity:.2}
.popup__input{outline:none}
.popup__error{color:red;display:block;font-size:12px;font-weight:400;line-height:15px;margin:0;min-height:15px;padding:5px 0 0}.popup__error:last-child{padding-bottom:0}
.popup__form{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-end;margin:0 auto;width:100%}

