/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}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:900;src:url(768169b1912340d378ac.woff2) format("woff2"),url(7bb6234314ccc72c942a.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(26a30a5f1103393aac70.woff2) format("woff2"),url(e148c4a1158f8cee8285.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(d0a58d956cf2f4cf078f.woff2) format("woff2"),url(eec0ea57721daa33c7a2.woff) format("woff")}
.page{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#000;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;font-family:Inter;margin:0 auto;max-width:1280px;min-width:320px;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%}@media screen and (max-width:768px){.page{margin:0 auto}}
.main{display:flex;flex-direction:column;margin:10px auto}@media screen and (min-width:768px){.main{margin:0 auto}}
.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;margin:28px 0;padding:0 27px 31px}@media screen and (min-width:768px){.header{margin:45px 32px 40px;padding:0 0 40px}}@media screen and (min-width:1024px){.header{margin:45px 200px 40px;padding:0 0 40px}}
.header__logo{height:24px;-o-object-fit:contain;object-fit:contain;width:103px}@media screen and (min-width:768px){.header__logo{height:33px;width:142px}}
.profile{display:grid;grid-template-columns:282px;grid-template-rows:repeat(3,auto);margin:0}@media screen and (min-width:768px){.profile{-moz-column-gap:10px;column-gap:10px;grid-template-columns:130px 320px 24px 200px}}@media screen and (min-width:1024px){.profile{-moz-column-gap:10px;column-gap:10px;grid-template-columns:130px 320px 24px 380px}}
.profile__info{grid-column:1;grid-row:2;margin:0;padding:25px}@media screen and (min-width:768px){.profile__info{grid-column:2;grid-row:1;padding:22px 4px}}
.profile__info-item{display:flex;flex-direction:row;list-style:none}
.profile__avatar{background-image:url(4b160972545ef3a41984.png);background-size:cover;border-radius:50%;margin:0 auto;max-height:120px;max-width:120px;-o-object-fit:contain;object-fit:contain;position:relative}@media screen and (min-width:768px){.profile__avatar{margin:0}}.profile__avatar:before{border-radius:50%;bottom:0;content:"";left:0;opacity:.5;position:absolute;right:0;top:0}.profile__avatar:hover:before{background:#000;background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;opacity:.8;transition:opacity .8s ease-out}
.profile__name{font-family:Inter,sans-serif;font-size:27px;font-style:normal;font-weight:500;line-height:33px;margin:0;overflow:hidden;padding:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:768px){.profile__name{font-size:42px;line-height:48px}}
.profile__description{font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;overflow:hidden;padding:10px;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:768px){.profile__description{font-size:18px;line-height:22px;padding:7px;text-align:left}}
.profile__edit-button{background-color:hsla(0,0%,100%,0);background-image:url(af236f6cf67005f1d7aa.svg);background-size:contain;border:none;box-shadow:none;box-sizing:border-box;grid-column:1;grid-row:2;height:18px;justify-self:end;margin:35px 10px;outline:none;padding:0;width:18px}@media screen and (min-width:768px){.profile__edit-button{grid-column:3;grid-row:1;height:24px;margin:35px 0;width:24px}}.profile__edit-button:hover{cursor:pointer;opacity:.6;transition:opacity .2s ease}
.profile__add-card{background-color:hsla(0,0%,100%,0);background-image:url(54b1426515811a15ebaf.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;box-shadow:none;box-sizing:border-box;height:50px;margin:0 auto;-o-object-fit:cover;object-fit:cover;padding:0;width:280px}@media screen and (min-width:768px){.profile__add-card{justify-self:end;margin:35px 0;padding:0;width:149px}}.profile__add-card:hover{cursor:pointer;opacity:.6;transition:opacity .2s ease}
.popup{align-content:center;background-color:rgba(0,0,0,.5882352941176471);bottom:0;display:flex;justify-content:center;left:0;margin:0 auto;max-height:100%;max-width:1280px;opacity:0;position:fixed;right:0;top:0;transition:.2s linear;visibility:hidden;z-index:2}@media screen and (min-width:1280px){.popup{width:100%}}
.popup__container{background-color:#fff;border-radius:10px;bottom:0;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;left:0;margin:auto;max-width:430px;min-width:228px;padding:22px;position:relative;right:0;top:0}@media screen and (min-width:768px){.popup__container{padding:36px}}
.popup__edit-profile{color:#000;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:900;line-height:22px;margin:0;padding:0}@media screen and (min-width:768px){.popup__edit-profile{font-size:24px;line-height:29px;padding-bottom:54px}}
.popup__edit{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;outline:none;text-overflow:ellipsis;white-space:nowrap}.popup__edit:first-of-type{padding:75px 0 13px}.popup__edit:last-of-type{padding:30px 0 13px}@media screen and (min-width:768px){.popup__edit:first-of-type{padding:0 0 13px}.popup__edit:last-of-type{padding:30px 0 13px}}
.popup__submit{align-self:center;background:#000;border:none;border-radius:2px;color:#fff;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:46px;line-height:22px;margin-top:45px;text-align:center;width:238px}@media screen and (min-width:768px){.popup__submit{height:50px;margin-top:48px;width:358px}}.popup__submit:hover{cursor:pointer;opacity:.8;transition:opacity .2s ease}
.popup__close-form{background-color:hsla(0,0%,100%,0);background-image:url(44bb1e48112a8752b62d.svg);background-size:100%;border:none;box-shadow:0;height:40px;outline:none;overflow:visible;position:absolute;right:-15px;top:-40px;width:40px}@media screen and (min-width:768px){.popup__close-form{right:-35px;top:-25px}}.popup__close-form:hover{cursor:pointer;opacity:.6;transition:opacity .2s ease}
.popup__input_type_error{border-bottom:1px solid red}
.popup__error{border:0;color:red;font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;outline:none;text-overflow:ellipsis;visibility:hidden;white-space:wrap}
.popup__error_type_active{visibility:visible}
.place{align-content:center;background-color:rgba(0,0,0,.5882352941176471);bottom:0;display:flex;justify-content:center;left:0;margin:0 auto;max-height:100%;max-width:1280px;opacity:0;position:fixed;right:0;top:0;transition:.2s linear;visibility:hidden;z-index:2}@media screen and (min-width:1280px){.place{width:100%}}
.place__container{background-color:#fff;border-radius:10px;bottom:0;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;left:0;margin:auto;max-width:430px;min-width:228px;padding:22px;position:relative;right:0;top:0}@media screen and (min-width:768px){.place__container{padding:36px}}
.place_opened{display:flex}
.place__new-place{color:#000;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:900;line-height:22px;margin:0;padding:0}@media screen and (min-width:768px){.place__new-place{font-size:24px;line-height:29px;padding-bottom:54px}}
.place__edit{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;outline:none;text-overflow:ellipsis;white-space:nowrap}.place__edit:first-of-type{padding:75px 0 13px}.place__edit:last-of-type{padding:30px 0 13px}@media screen and (min-width:768px){.place__edit:first-of-type{padding:0 0 13px}.place__edit:last-of-type{padding:30px 0 13px}}


.place__submit{align-self:center;background:#000;border:none;border-radius:2px;color:#fff;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:46px;line-height:22px;margin-top:45px;text-align:center;width:238px}@media screen and (min-width:768px){.place__submit{height:50px;margin-top:48px;width:358px}}.place__submit:hover{cursor:pointer;opacity:.8;transition:opacity .2s ease}
.popup__submit_type_disabled{background:#e5e5e5}
.image{align-content:center;background-color:rgba(0,0,0,.5882352941176471);bottom:0;display:flex;justify-content:center;left:0;margin:0 auto;max-height:100%;max-width:1280px;opacity:0;position:fixed;right:0;top:0;transition:.2s linear;visibility:hidden;z-index:2}@media screen and (min-width:1280px){.image{width:100%}}
.image_opened{display:flex}
.image__container{border-radius:10px;bottom:0;box-sizing:border-box;display:flex;flex-direction:column;left:0;margin:auto;padding:22px;position:relative;right:0;top:0}@media screen and (min-width:768px){.image__container{padding:36px}}
.image__item{margin:auto;max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain}
.image__title{color:#fff;font-family:Inter;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:10px 0}
.delete{align-content:center;background-color:rgba(0,0,0,.5882352941176471);bottom:0;display:flex;justify-content:center;left:0;margin:0 auto;max-height:100%;max-width:1280px;opacity:0;position:fixed;right:0;top:0;transition:.2s linear;visibility:hidden;z-index:2}@media screen and (min-width:1280px){.delete{width:100%}}
.delete__container{background-color:#fff;border-radius:10px;bottom:0;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;height:181px;justify-content:space-between;left:0;margin:auto;max-width:430px;min-width:228px;padding:22px;position:relative;right:0;top:0}@media screen and (min-width:768px){.delete__container{padding:36px}}
.delete__submit{align-self:center;background:#000;border:none;border-radius:2px;color:#fff;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:46px;line-height:22px;margin-top:5px;text-align:center;width:238px}@media screen and (min-width:768px){.delete__submit{color:#fff;height:50px;margin-top:8px;width:358px}}.delete__submit:hover{cursor:pointer;opacity:.8;transition:opacity .2s ease}
.delete__title{color:#000;font-family:Inter;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;padding:0}
.elements{gap:20px 17px;display:grid;grid-template-columns:repeat(1,282px);grid-template-rows:repeat(6,auto);margin:40px auto 26px;padding:0}@media screen and (min-width:768px){.elements{grid-template-columns:repeat(2,282px);grid-template-rows:repeat(3,auto)}}@media screen and (min-width:1280px){.elements{grid-template-columns:repeat(3,282px)}}
.element{align-items:center;background-color:#fff;border-radius:15px;display:grid;grid-template-columns:282px;grid-template-rows:282px 79px}
.element__title{align-self:center;box-sizing:border-box;color:#000;font-family:Inter,sans-serif;font-size:24px;font-style:normal;font-weight:900;grid-column:1;grid-row:2;line-height:29px;margin:0;max-width:210px;overflow:hidden;padding:0 0 0 20px;text-overflow:ellipsis;white-space:nowrap}
.element__image{border-radius:15px 15px 0 0;grid-column:1;grid-row:1;height:282px;margin:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:282px}.element__image:hover{cursor:pointer;opacity:.8;transition:opacity .2s ease}
.element__like-button{align-self:center;background-image:url(87ed371465c7a6a1cd01.svg);border:none;box-shadow:none;height:19px;justify-self:end;margin:5px 15px;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;width:22px}.element__like-button:hover{cursor:pointer;opacity:.5;transition:opacity .2s ease}
.element__delete{align-self:start;background-color:rgba(240,248,255,0);background-image:url(2af49b82d305a6ea3442.svg);border:none;box-shadow:none;grid-column:1;grid-row:1;height:19px;justify-self:end;margin:18px 15px 0 0;-o-object-fit:cover;object-fit:cover;outline:none;padding:0;width:18px;z-index:1}.element__delete:hover{cursor:pointer;opacity:.5;transition:opacity .2s ease}
.element__like-count{align-self:center;box-sizing:border-box;color:#000;font-family:Inter;font-size:13px;font-style:normal;font-weight:400;justify-self:center;line-height:16px;margin:0 auto;text-align:center}
.element__like-button_active{background-image:url(35948469632d0421d697.svg)}
.element__likes{align-self:center;box-sizing:border-box;color:#000;display:flex;flex-direction:column;font-family:Inter,sans-serif;font-size:24px;font-style:normal;font-weight:900;grid-column:1;grid-row:2;justify-self:end;line-height:29px;margin:0;max-width:210px;overflow:hidden;padding:0 0 0 20px;text-overflow:ellipsis;white-space:nowrap}
.element__hidden{display:none}
.avatar{align-content:center;background-color:rgba(0,0,0,.5882352941176471);bottom:0;display:flex;justify-content:center;left:0;margin:0 auto;max-height:100%;max-width:1280px;opacity:0;position:fixed;right:0;top:0;transition:.2s linear;visibility:hidden;z-index:2}@media screen and (min-width:1280px){.avatar{width:100%}}
.avatar__container{background-color:#fff;border-radius:10px;bottom:0;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;left:0;margin:auto;max-width:430px;min-width:228px;padding:22px;position:relative;right:0;top:0}@media screen and (min-width:768px){.avatar__container{padding:36px}}
.avatar__edit{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:20px 0;outline:none;text-overflow:ellipsis;white-space:nowrap}
.avatar__submit{align-self:center;background:#000;border:none;border-radius:2px;color:#fff;font-family:Inter,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:46px;line-height:22px;margin-top:35px;text-align:center;width:238px}@media screen and (min-width:768px){.avatar__submit{height:50px;margin-top:45px;width:358px}}.avatar__submit:hover{cursor:pointer;opacity:.8;transition:opacity .2s ease}
.avatar__submit_type_disabled{background:#e5e5e5}
.avatar__title{color:#000;font-family:Inter;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 35px;padding:0}
.avatar__form{box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}
.footer{display:flex;margin:0 19px;padding:10px 0}@media screen and (min-width:768px){.footer{margin:0 52px}}@media screen and (min-width:1024px){.footer{margin:0 200px;padding:25px 0}}
.footer__author{color:#545454;font-family:Inter,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;padding:0}@media screen and (min-width:768px){.footer__author{font-size:18px;line-height:22px}}
.popup_opened{opacity:1;visibility:visible}

