/*! 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-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")}@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")}
.root{text-rendering:optimizeLegibility;-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;font-family:Inter,Arial,sans-serif}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin:0 auto;max-width:880px;padding-bottom:37px;padding-top:45px}@media screen and (max-width:768px){.header{padding-bottom:27px;padding-left:27px}}@media screen and (max-width:426px){.header{padding-top:28px}}
.header__logo{height:33px;width:142px}@media screen and (max-width:426px){.header__logo{height:24px;width:104px}}
.profile{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:880px;padding:40px 0 50px}@media screen and (max-width:768px){.profile{flex-direction:column;padding-left:27px;padding-right:27px;padding:42px 19px 36px}}
.profile__avatar-container{border:none;border-radius:50%;cursor:pointer;height:120px;margin:0;overflow:hidden;padding:0;position:relative;width:120px}.profile__avatar-container:before{background-color:#000000cc;background-image:url(ae1a976ddb506239e9f0.svg);background-position:50%;background-repeat:no-repeat;background-size:26px 26px;border-radius:50%;content:"";height:100%;opacity:0;position:absolute;transition:all .3s;width:100%}.profile__avatar-container:hover:before{opacity:1;transition:all .3s}
.profile__avatar{border-radius:50%;height:120px;width:120px}
.profile__info{margin-left:30px;margin-right:auto;max-width:400px}@media screen and (max-width:768px){.profile__info{margin-left:auto;max-width:370px;padding:26px 0 32px}}@media screen and (max-width:425px){.profile__info{max-width:282px}}
.profile__info-user{align-items:flex-end;display:flex;justify-content:space-between;margin-bottom:8px}@media screen and (max-width:426px){.profile__info-user{justify-content:center;margin-bottom:9px;padding-left:22px}}
.profile__info-title{color:#fff;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:426px){.profile__info-title{font-size:27px;line-height:33px;max-width:220px}}
.profile__edit-button{background-color:unset;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;box-sizing:border-box;cursor:pointer;height:24px;margin:0 0 9px 18px;outline:none;transition:.3s;width:24px}.profile__edit-button:hover{opacity:.6}@media screen and (max-width:768px){.profile__edit-button{background-size:50%;height:18px;margin-bottom:5px;margin-left:10px;width:18px}}
.profile__info-description{color:#fff;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:768px){.profile__info-description{margin:0 auto;text-align:center}}@media screen and (max-width:426px){.profile__info-description{font-size:14px;line-height:17px;max-width:282px}}
.profile__add-button{background-color:unset;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;height:50px;margin-left:auto;outline:none;transition:.3s;width:150px}.profile__add-button:hover{opacity:.6}@media screen and (max-width:768px){.profile__add-button{background-image:url(d5d6f8af0577b9c95ee4.svg);margin:0 auto;width:282px}}
.elements{margin:0 auto;max-width:880px}
.elements__grid-cards{display:grid;gap:20px 17px;grid-auto-rows:minmax(-webkit-min-content,-webkit-max-content);grid-auto-rows:minmax(min-content,max-content);grid-template-columns:repeat(auto-fit,minmax(282px,1fr));justify-items:center;list-style:none;margin:0 auto;padding:0}
.elements__card{border-radius:10px;overflow:hidden;position:relative}
.elements__card-image{cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}
.elements__card-info{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;justify-content:space-between;padding:20px 20px 20px 21px;width:282px}
.elements__card-title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.elements__card-like{align-items:center;display:flex;flex-direction:column}
.elements__like-button{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;transition:.2s;width:22px}.elements__like-button:hover{opacity:.6}
.elements__like-button_active{background-image:url(dd6a61e81552be95f4b7.svg)}
.elements__like-number{margin-top:3px}
.elements__delete-card{background-color:transparent;background-image:url(ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;margin:0;padding:0;position:absolute;right:20px;top:20px;transition:.2s;width:18px}.elements__delete-card:hover{opacity:.6}
.footer{margin:0 auto;max-width:880px}
.footer__text{color:#545454;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;padding:66px 0 60px}@media screen and (max-width:426px){.footer__text{font-size:14px;line-height:17px;padding:48px 19px 36px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;inset:0;justify-content:center;opacity:0;position:fixed;transition:opacity .5s,visibility .5s ease;visibility:hidden}
.popup__container{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;max-width:430px;position:relative}@media screen and (max-width:768px){.popup__container{width:282px}}
.popup__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;padding:34px 64px 48px 36px}@media screen and (max-width:768px){.popup__title{font-size:18px;line-height:22px;padding:25px 22px 75px}}
.popup__form{display:flex;flex-direction:column;position:relative}
.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;line-height:17px;margin:0 36px 30px;outline:none;padding:0 0 9px;width:358px}@media screen and (max-width:768px){.popup__input{margin:0 0 30px 22px;width:238px}}
.popup__button{background-color:#000;border:0;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;height:50px;line-height:22px;margin:18px 36px 37px;outline:none;width:358px}.popup__button:hover{opacity:.8}@media screen and (max-width:768px){.popup__button{font-size:14px;height:46px;line-height:17px;margin:15px 0 25px 22px;width:238px}}
.popup__closed{background-color:unset;background-image:url(039f1f5203f653b4bacd.svg);background-position:50%;background-repeat:no-repeat;border:none;height:32px;outline:none;position:absolute;right:-40px;top:-40px;transition:.3s;width:32px}.popup__closed:hover{cursor:pointer;opacity:.6}@media screen and (max-width:768px){.popup__closed{background-image:url(622e8cdafa2222aa7c54.svg);height:20px;right:0;width:20px}}
.popup_open{display:flex;opacity:1;transition:opacity .5s,visibility .5s ease;visibility:visible}
.popup__view-foto{position:relative}
.popup__figure{margin:0}
.popup__image{margin-bottom:10px;max-height:75vh;max-width:75vw}
.popup__figcaption{color:#fff;font-family:Inter;font-size:12px;font-style:normal;font-weight:400;line-height:15px}
.popup__input-error{color:red;font-family:Inter;font-size:12px;font-style:normal;font-weight:400;left:36px;line-height:15px;opacity:0;position:absolute;top:89px;transition:.2s}.popup__input-error:nth-child(2){top:32px}@media screen and (max-width:768px){.popup__input-error{left:22px}}
.popup__input-error_active{opacity:1}
.popup__button:disabled{background-color:transparent;border:2px solid #00000033;color:#00000033;cursor:not-allowed;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.popup__input_type-error{border-bottom:1px solid red}

