/*! 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:local("Inter Regular"),local("Inter-Regular"),url(bd097ceff83f90802a12.woff2) format("woff2"),url(0d6f7c99e635f1fec4c9.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:local("Inter Black"),local("Inter-Black"),url(ed17840f58cc8c61635a.woff2) format("woff2"),url(87c06fd2ac7128c9a81d.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:local("Inter Medium"),local("Inter-Medium"),url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}
.page{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;background-color:#000;color:#fff;display:flex;flex-direction:column;font-family:Inter,sans-serif;font-style:normal;margin:0;min-height:100vh;padding:0;text-rendering:optimizeLegibility}
.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;flex-direction:column;margin:0 auto;max-width:880px;padding-top:45px;width:calc(100% - 400px)}@media screen and (max-width:1100px){.header{width:calc(100% - 200px)}}@media screen and (max-width:768px){.header{width:calc(100% - 100px)}}@media screen and (max-width:480px){.header{margin:0;padding-top:28px;width:100%}}
.header__logo{height:33px;margin:0 0 41px;padding:0;width:142px}@media screen and (max-width:480px){.header__logo{height:24.4px;margin-bottom:31.6px;margin-left:27px;width:103.74px}}
.content{display:flex;flex:1;flex-direction:column;margin:0 auto;max-width:880px;width:calc(100% - 400px)}@media screen and (max-width:1100px){.content{width:calc(100% - 200px)}}@media screen and (max-width:768px){.content{width:calc(100% - 80px)}}@media screen and (max-width:480px){.content{justify-content:center;width:calc(100% - 38px)}}
.profile{display:flex;justify-content:space-between;padding-top:40px}@media screen and (max-width:855px){.profile{flex-direction:column}}
.profile__card{display:flex}@media screen and (max-width:480px){.profile__card{flex-direction:column}}
.profile__avatar{background-position:50%;border-radius:50%;height:120px;margin-right:30px;-o-object-fit:cover;object-fit:cover;width:120px}@media screen and (max-width:580px){.profile__avatar{height:80px;width:80px}}@media screen and (max-width:480px){.profile__avatar{align-self:center;height:120px;margin-bottom:26px;margin-right:0;width:120px}}
.profile__avatar-btn{background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;border:0;border-radius:50%;height:120px;opacity:0;position:absolute;transition:.8s ease;width:120px}.profile__avatar-btn:hover{background-color:#000;cursor:pointer;opacity:.8}
.profile__info{align-self:center;-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:1fr 24px;margin:0;padding:0}@media screen and (max-width:855px){.profile__info{margin-bottom:36px}}@media screen and (max-width:480px){.profile__info{grid-template-columns:1fr 18px;margin:0 auto 36px}}
.profile__name{font-size:42px;font-weight:500;line-height:48px;margin:0 18px 16px 0;max-width:294px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:480px){.profile__name{font-size:27px;line-height:32.68px;margin-bottom:14px;max-width:189px;text-align:center}}@media screen and (max-width:320px){.profile__name{margin-bottom:10px;transform:translateX(25px)}}
.profile__edit-btn{background:transparent url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;cursor:pointer;height:24px;margin-top:15px;transition:.3s ease;width:24px}.profile__edit-btn:hover{opacity:.6}@media screen and (max-width:480px){.profile__edit-btn{height:18px;margin-top:8px;width:18px}}
.profile__sign{font-size:18px;font-weight:400;line-height:21.78px;margin:0;max-width:336px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:480px){.profile__sign{font-size:14px;line-height:16.94px;text-align:center}}@media screen and (max-width:320px){.profile__sign{transform:translateX(20px)}}
.profile__add-photo-btn{align-self:center;background:transparent url(d86bb2edc2f6eadb96b7.svg) 50% no-repeat;border:1px solid #fff;border-radius:2px;cursor:pointer;height:50px;margin:0;padding:0;transition:.3s ease;width:150px}.profile__add-photo-btn:hover{opacity:.6}@media screen and (max-width:855px){.profile__add-photo-btn{background:url(8e041299935e2fbbe15e.svg) 50% no-repeat;padding-top:36px;width:282px}}
.elements{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto;row-gap:20px}@media screen and (max-width:1024px){.elements{grid-template-columns:repeat(2,1fr);margin:0 auto}}@media screen and (max-width:768px){.elements{-moz-column-gap:0;column-gap:0;display:flex;flex-direction:column}}
.elements__list{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto;margin:0;padding:47.5px 0 0;row-gap:20px}@media screen and (max-width:1024px){.elements__list{grid-template-columns:repeat(2,1fr);margin:0 auto}}@media screen and (max-width:768px){.elements__list{-moz-column-gap:0;column-gap:0;display:flex;flex-direction:column}}@media screen and (max-width:480px){.elements__list{padding-top:36px}}
.elements__item{background-color:#fff;border-radius:10px;box-sizing:border-box;list-style:none;margin:0;padding:0;position:relative;width:282px}@media screen and (max-width:640px){.elements__item{grid-template-columns:1fr}}
.elements__delete{align-self:center;background-color:transparent;background-image:url(cbc09a894bdd4c956365.svg);background-repeat:no-repeat;border:none;cursor:pointer;height:19px;position:absolute;right:20px;top:20px;transition:opacity .4s ease;width:18px}.elements__delete:hover{opacity:.6}
.elements__image{border-radius:10px 10px 0 0;cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}
.elements__bottom{display:flex;justify-content:space-between;margin:22px 20px 0 22px;padding:0 0 26px}
.elements__place{color:#000;font-size:24px;font-weight:900;line-height:29.05px;margin:0;max-width:200px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.element__likes{display:flex;flex-direction:column;margin:0;padding:0}
.elements__like{background:transparent url(1ad06e85f169668a1f36.svg);background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;display:block;height:19px;margin:0 0 3px;padding:0;transition:.2s ease;width:22px}.elements__like:hover{opacity:.5}
.elements__likes-quantity{color:#000;display:block;font-family:Inter,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;line-height:16px;text-align:center}
.elements__like_active{background-image:url(e787eeb70bb65b7b453a.svg);transition:opacity .3s ease}.elements__like_active:hover{opacity:.5s}
.footer{color:#545454;display:flex;margin:0 auto;max-width:880px;padding-bottom:60px;padding-top:67px;width:calc(100% - 400px)}@media screen and (max-width:1100px){.footer{width:calc(100% - 200px)}}@media screen and (max-width:768px){.footer{width:calc(100% - 100px)}}@media screen and (max-width:480px){.footer{padding-bottom:36px;padding-top:48px;width:calc(100% - 38px)}}
.footer__author{color:#545454;font-size:18px;font-weight:400;line-height:21.78px;margin:0;padding:0}@media screen and (max-width:480px){.footer__author{font-size:14px;line-height:16.94px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:.5s,opacity .5s linear;visibility:hidden}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;color:#000;margin:0 auto;max-width:430px;padding:34px 36px 37px;position:fixed;width:100%}@media screen and (max-width:480px){.popup__container{max-width:282px;padding:25px 22px}}
.popup__close{background:transparent url(973e77374abfb705de40.svg) 50% no-repeat;border:none;cursor:pointer;height:32px;margin:0;padding:0;position:absolute;right:-40px;top:-40px;transition:.3s ease;width:32px}.popup__close:hover{opacity:.6}@media screen and (max-width:720px){.popup__close{right:-36px;top:-36px}}@media screen and (max-width:600px){.popup__close{background:transparent url(622e8cdafa2222aa7c54.svg) 50% no-repeat;height:20px;right:0;width:20px}}
.popup__name{font-size:24px;font-style:normal;font-weight:900;line-height:29.05px;margin:0 0 45px;padding:0}@media screen and (max-width:480px){.popup__name{font-size:18px;line-height:21.78px;margin-bottom:55px}}
.popup__form{display:flex;flex-direction:column;font-size:14px;font-weight:400;line-height:17px}
.popup__item{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;outline:none;padding:0 0 13px;width:100%}@media screen and (max-width:480px){.popup__item{max-width:238px}}
.popup__submit{background-color:#000;border:none;border-radius:2px;box-sizing:border-box;color:#fff;font-size:18px;font-weight:400;height:50px;line-height:22px;margin:0 auto;padding:0;text-align:center;transition:all .3s ease;width:358px}.popup__submit:hover{cursor:pointer;opacity:.6}.popup__submit:disabled{background-color:#fff;border:1px solid #000;color:#000;opacity:.2}@media screen and (max-width:600px){.popup__submit{font-size:14px;height:46px;line-height:17px;max-width:238px}}


.popup_photo_card{align-items:center;background:rgba(0,0,0,.9);height:100%;justify-content:center;left:0;margin:0;position:fixed;top:0;width:100%}
.popup__container-card{display:flex;flex-direction:column;height:75vh;max-width:75vw;position:relative}
.popup__close_photo{transition:opacity .8s linear}
.popup__image-card{border:none;margin:0 auto;max-height:75vh;max-width:75vw}
.popup__title-card{color:#fff;font-family:Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:15px;margin:0;padding:10px 0 0}
.popup_opened{display:flex;opacity:1;visibility:visible}
.input-error{box-sizing:border-box;color:red;display:block;font-size:12px;font-weight:400;line-height:15px;min-height:40px;padding-top:5px}
.form__input_type_error{border-bottom-color:red}
.popup__submit_inactive{background:#e5e5e5;border:1px solid rgba(0,0,0,.2);color:#b8b8b8;pointer-events:none}



