/*! 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-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(26a30a5f1103393aac70.woff2?v=3.15) format("woff2"),url(e148c4a1158f8cee8285.woff?v=3.15) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(d0a58d956cf2f4cf078f.woff2?v=3.15) format("woff2"),url(eec0ea57721daa33c7a2.woff?v=3.15) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;font-display:swap;src:url(768169b1912340d378ac.woff2?v=3.15) format("woff2"),url(7bb6234314ccc72c942a.woff?v=3.15) format("woff")}
.page{background-color:#000;color:#fff;font-family:Inter,Arial,sans-serif}
.button{cursor:pointer;outline:none;transition:opacity .2s ease-in;border:0;margin:0;padding:0}.button:hover{opacity:.6}
.button_type_add{background-image:url(d5d6f8af0577b9c95ee4.svg);background-size:22px 22px;background-repeat:no-repeat;background-position:50%;background-color:transparent;border:2px solid #fff;width:100%;min-height:50px}
.button_type_close{background-image:url(d5d6f8af0577b9c95ee4.svg);background-color:transparent;background-repeat:no-repeat;background-size:contain;background-position:50%;transform:rotate(45deg);min-width:40px;min-height:40px}@media screen and (max-width:500px){.button_type_close{min-width:30px;min-height:30px}}@media screen and (min-width:500px) and (max-height:420px){.button_type_close{filter:invert(1)}}@media screen and (max-height:400px){.button_type_close{filter:invert(1)}}
.button_type_delete{background-image:url(ef64092ec29096052cc5.svg);background-size:18px 20px;background-repeat:no-repeat;background-position:50%;background-color:transparent;min-width:18px;min-height:20px}
.button_type_edit{background-image:url(6c7bf05444b9793fdf6e.svg);background-size:10px 10px;background-repeat:no-repeat;background-position:50%;background-color:transparent;border:1px solid #fff;min-width:24px;min-height:24px}@media screen and (max-width:720px){.button_type_edit{min-width:18px;min-height:18px}}
.button_type_like{background-image:url(df0c965524717a3fd8e9.svg);background-size:20px 20px;background-repeat:no-repeat;background-position:50%;background-color:transparent;min-width:20px;min-height:20px}
.button_type_submit{background-color:#000;color:#fff;border-radius:2px;font-weight:400;font-size:18px;line-height:22px;text-align:center;padding:14px 0}.button_type_submit:hover{opacity:.8}@media screen and (max-width:500px){.button_type_submit{font-size:14px;line-height:17px}}
.button_type_submit-disabled{background-color:#fff;color:#c4c4c4;border-radius:2px;border:1px solid #c4c4c4;font-weight:400;font-size:18px;line-height:22px;text-align:center;pointer-events:none;padding:13px}.button_type_submit-disabled:hover{opacity:1}@media screen and (max-width:500px){.button_type_submit-disabled{font-size:14px;line-height:17px}}
.button_like-active{background-image:url(75438e944a43e4c0b404.svg)}
.button_small-size{min-width:20px;min-height:20px}
.button_inverted-color{filter:invert(1)}
.button_hidden{display:none}
.fieldset{display:flex;flex-direction:column;border:0;font-weight:400;font-size:14px;line-height:17px;margin:0;padding:0}
.field{display:grid;width:100%;margin:0;padding:0}
.field__input{width:100%;border:0;border-bottom:1px solid rgba(0,0,0,.2);outline:none;margin:0;padding:0 0 10px}.field__input::-moz-placeholder{color:#c4c4c4}.field__input:-ms-input-placeholder{color:#c4c4c4}.field__input::placeholder{color:#c4c4c4}
.field__input_error{border-bottom:1px solid red}
.field__error-message{visibility:hidden;width:100%;display:block;height:30px;font-size:12px;line-height:15px;color:red;margin:5px 0 0;padding:0}@media screen and (max-width:500px){.field__error-message{font-size:11px;height:18px}}
.field__error-message_visible{visibility:visible}
.form{display:grid;max-width:430px;background-color:#fff;box-sizing:border-box;border-radius:10px;cursor:default;margin:0;padding:0}
.form__title{font-weight:900;font-size:24px;line-height:29px;color:#000;justify-self:flex-start;margin:0;padding:0}@media screen and (max-width:500px){.form__title{font-size:18px;line-height:22px}}
.form__add-element-fieldset{margin:46px 0 14px}@media screen and (max-width:500px){.form__add-element-fieldset{margin:20px 0 0;font-size:12px;line-height:15px}}
.form__edit-profile-fieldset{margin:46px 0 14px}@media screen and (max-width:500px){.form__edit-profile-fieldset{gap:10px;margin:75px 0 20px}}
.form__submit-button{max-height:50px;max-width:358px;width:100%;height:100%}
.form__change-avatar-fieldset{margin-top:30px}
.picture{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:default;margin:40px}
.picture__description{align-self:flex-start;font-weight:400;font-size:12px;line-height:15px;margin:10px 0 0;padding:0}
.picture__image{max-width:75vw;max-height:75vh}
.header{max-width:882px;width:calc(100% - 38px);padding:0 0 36px;margin:45px auto 40px;box-sizing:border-box;border-bottom:1px solid rgba(84,84,84,.7)}@media screen and (max-width:720px){.header{width:100%;padding-bottom:26px;margin-top:28px}}
.header__logo{max-width:142px;width:100%;margin:0;padding:0}@media screen and (max-width:720px){.header__logo{max-width:104px;margin-left:27px}}
.content{max-width:882px;width:calc(100% - 38px);margin:0 auto;padding:0}
.profile{display:grid;grid-auto-flow:column;grid-template-columns:120px 1fr 150px;gap:30px;align-items:center;margin:0;padding:0}@media screen and (max-width:720px){.profile{grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;grid-auto-flow:row;gap:16px}}@media screen and (max-width:640px){.profile{grid-template-columns:1fr}}
.profile__about{font-weight:400;font-size:18px;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:4px 0 0;padding:0}@media screen and (max-width:1280px){.profile__about{font-size:calc(13px + .39063vw);line-height:calc(15.5px + .50781vw)}}@media screen and (max-width:720px){.profile__about{margin-top:0}}
.profile__avatar{width:120px;height:120px;border-radius:50%;-o-object-fit:cover;object-fit:cover}
.profile__image-container{position:relative}@media screen and (max-width:640px){.profile__image-container{justify-self:center}}
.profile__name-container{display:flex;align-items:center;margin:0;padding:0}@media screen and (max-width:720px){.profile__name-container{justify-content:center}}
.profile__name{font-weight:500;font-size:42px;line-height:56px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0;padding:0}@media screen and (max-width:600px){.profile__name{font-size:calc(10px + 5.33333vw)}}
.profile__text{display:flex;flex-direction:column;overflow:hidden;margin:0;padding:0}@media screen and (max-width:720px){.profile__text{text-align:center}}
@media screen and (max-width:720px){.profile__add-button{grid-column:span 2;width:100%;margin-top:10px}}@media screen and (max-width:640px){.profile__add-button{grid-column:auto}}
.profile__edit-button{margin:4px 0 0 18px}@media screen and (max-width:720px){.profile__edit-button{margin-left:8px}}
.profile__edit-avatar-button{position:absolute;width:100%;height:100%;left:0;top:0;border-radius:49%;background:rgba(0,0,0,.8) url(6c7bf05444b9793fdf6e.svg) 50% no-repeat;background-size:26px;transition:opacity .25s ease-in-out;cursor:pointer;opacity:0}.profile__edit-avatar-button:hover{opacity:1}
.elements{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px 18px;margin:50px auto 0;padding:0}@media screen and (max-width:720px){.elements{margin-top:36px}}@media screen and (max-width:930px){.elements{grid-template-columns:1fr 1fr}}@media screen and (max-width:630px){.elements{grid-template-columns:1fr}}
.element{display:flex;flex-direction:column;justify-content:space-between;background-color:#fff;border-radius:10px;overflow:hidden;position:relative;margin:0;padding:0}
.element__like-container{display:grid;gap:3px;margin:0;padding:0}
.element__like-count{display:flex;justify-self:center;font-size:13px;line-height:16px;font-weight:400;color:#000;margin:0;padding:0}
.element__image{max-height:282px;-o-object-fit:cover;object-fit:cover;cursor:pointer;margin:0;padding:0}
.element__sidebar{display:flex;align-items:center;justify-content:space-between;margin:20px 22px;padding:0}
.element__title{font-weight:900;font-size:24px;line-height:29px;color:#000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0;padding:0}
.element__delete-button{position:absolute;right:15px;top:15px}
.footer{max-width:882px;width:calc(100% - 38px);margin:65px auto 60px;padding:0}@media screen and (max-width:720px){.footer{margin:48px auto 36px}}
.footer__copyright{font-weight:400;font-size:18px;line-height:22px;color:#545454;margin:0;padding:0}@media screen and (max-width:1280px){.footer__copyright{font-size:calc(13px + .39063vw);line-height:calc(15.5px + .50781vw)}}
.popup{display:flex;visibility:hidden;justify-content:center;align-items:center;opacity:0;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;width:100%;height:100%;top:0;left:0;position:fixed;cursor:pointer;background-color:rgba(0,0,0,.5)}
.popup_opened{visibility:visible;opacity:1;transition:opacity .3s ease-in-out,visibility .3s ease-in-out}
.popup__container{display:flex;justify-content:center;align-items:center;position:relative}
.popup__close-button{position:absolute;right:0;top:0}
.popup__close-button_indent{margin:5px}
.popup__edit-profile-form{margin:40px;padding:36px;width:calc(100vw - 40px)}@media screen and (max-width:500px){.popup__edit-profile-form{margin:40px 0 0;padding:25px 22px}}@media screen and (max-height:400px){.popup__edit-profile-form{margin:0}}
.popup__add-element-form{margin:40px;padding:36px;width:calc(100vw - 80px)}@media screen and (max-width:500px){.popup__add-element-form{margin:30px;padding:30px 20px;gap:10px}}@media screen and (min-width:500px) and (max-height:420px){.popup__add-element-form{margin:0}}@media screen and (max-width:500px) and (max-height:400px){.popup__add-element-form{margin:0}}
.popup_full-size-image{background-color:rgba(0,0,0,.9)}
.popup__confirm-form{gap:30px;width:calc(100vw - 40px);margin:40px;padding:35px}@media screen and (max-width:500px){.popup__confirm-form{margin:40px 0 0;padding:25px 22px}}@media screen and (max-height:400px){.popup__confirm-form{margin:0}}
.popup_message{background-color:transparent;cursor:default;min-width:300px;min-height:60px;width:25vw;height:10vh;left:auto;top:auto;right:1vw;bottom:1vh;margin:0;padding:0}
.popup__change-avatar-form{gap:15px;width:calc(100vw - 40px);margin:40px;padding:35px}@media screen and (max-width:500px){.popup__change-avatar-form{margin:40px 0 0;padding:25px 22px}}@media screen and (max-height:400px){.popup__change-avatar-form{margin:0}}
.message-box{background-color:#fff;width:100%;height:100%;border-radius:5px}
.message-box__text{display:block;margin:20px;color:#000}

