/*! 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-weight:400;font-style:normal;src:url(26a30a5f1103393aac70.woff2) format("woff2"),url(e148c4a1158f8cee8285.woff) format("woff")}@font-face{font-family:Inter;font-weight:500;font-style:normal;src:url(d0a58d956cf2f4cf078f.woff2) format("woff2"),url(eec0ea57721daa33c7a2.woff) format("woff")}@font-face{font-family:Inter;font-weight:900;font-style:normal;src:url(768169b1912340d378ac.woff2) format("woff2"),url(7bb6234314ccc72c942a.woff) format("woff")}
.page{color:#fff;background-color:#000;font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-rendering:optimizeLegibility}
.page__section{width:88%;max-width:882px;margin:0 auto}
.page__loader{display:flex;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;z-index:10;font-size:100px;font-weight:500}
.header{padding:45px 0 40px;border-bottom:1px solid #545454;box-sizing:border-box}@media screen and (max-width:470px){.header{width:100%;padding:28px 27px 30px}}
.header__logo{width:142px;transition:.3s}@media screen and (max-width:470px){.header__logo{width:104px}}@media screen and (min-width:768px){.header__logo:hover{opacity:.8}}
.profile{padding:40px 0 50px;display:flex;align-items:center}@media screen and (max-width:720px){.profile{padding:42px 0 36px;flex-direction:column}}
.profile__container{width:120px;height:120px;margin-right:30px;background-image:url(6c7bf05444b9793fdf6e.svg);background-repeat:no-repeat;background-position:50%;background-size:20%}@media screen and (max-width:720px){.profile__container{margin:0 0 32px}}
.profile__image{width:120px;height:120px;border-radius:50%;-o-object-fit:cover;object-fit:cover}@media screen and (min-width:768px){.profile__image{cursor:pointer;transition:.3s}.profile__image:hover{opacity:.3}}
.profile__wrapper{flex:1;display:grid;grid-template-columns:-webkit-max-content auto;grid-template-columns:max-content auto;grid-template-rows:repeat(2,auto);gap:10px 17px;align-items:center}@media screen and (max-width:790px){.profile__wrapper{-moz-column-gap:10px;column-gap:10px}}
.profile__title{margin:0;padding:0;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:42px;font-weight:500;line-height:1.33}@media screen and (max-width:790px){.profile__title{max-width:260px;font-size:36px;line-height:1.2}}@media screen and (max-width:470px){.profile__title{max-width:200px;font-size:27px;line-height:1.2}}
.profile__subtitle{margin:0;padding:0;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:18px;font-weight:400;line-height:1.2}@media screen and (max-width:790px){.profile__subtitle{max-width:260px}}@media screen and (max-width:720px){.profile__subtitle{margin-bottom:36px;text-align:center}}@media screen and (max-width:470px){.profile__subtitle{max-width:200px;font-size:14px}}
.profile__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;background-color:transparent;background-position:50%;background-repeat:no-repeat;border:solid #fff;outline:none;transition:.3s}@media screen and (min-width:768px){.profile__button:hover{opacity:.6;cursor:pointer}}
.profile__button_type_add-button{width:150px;height:50px;border-width:2px;background-image:url(bed8c136e13907f5eefb.svg)}@media screen and (max-width:720px){.profile__button_type_add-button{width:100%}}
.profile__button_type_edit-button{width:24px;height:24px;border-width:1px;background-image:url(6c7bf05444b9793fdf6e.svg)}@media screen and (max-width:470px){.profile__button_type_edit-button{width:18px;height:18px}}
.elements{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 18px}@media screen and (max-width:720px){.elements{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:470px){.elements{grid-template-columns:1fr}}
.element{position:relative;border-radius:10px;overflow:hidden;line-height:0}
.element__image{width:100%;height:calc(29.33333vw - 12px);-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top}@media screen and (max-width:720px){.element__image{height:calc(44vw - 9px)}}@media screen and (max-width:470px){.element__image{height:88vw}}@media screen and (min-width:768px){.element__image{cursor:pointer}}@media screen and (min-width:1000px){.element__image{max-height:282px}}
.element__wrapper{padding:25px 22px;display:flex;justify-content:space-between;align-items:center;background-color:#fff}
.element__title{margin:0;color:#000;font-size:24px;font-weight:900;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.element__likes{display:block;color:#000;font-size:13px;text-align:center}
.element__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;background-color:transparent;background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;outline:none;transition:.3s}@media screen and (min-width:768px){.element__button:hover{opacity:.6;cursor:pointer}}
.element__button_type_like-button{min-width:20px;height:20px;margin-bottom:10px;background-image:url(df0c965524717a3fd8e9.svg)}
.element__button_type_black-like{background-image:url(75438e944a43e4c0b404.svg)}
.element__button_type_trash-button{position:absolute;top:18px;right:15px;min-width:18px;height:20px;background-image:url(a274c87c0f6b553b47ad.svg)}
.footer{padding:66px 0 60px;box-sizing:border-box}@media screen and (max-width:470px){.footer{padding:48px 0 36px}}
.footer__copyright{margin:0;padding:0;color:#545454;font-size:18px;font-weight:400;line-height:1.2}@media screen and (max-width:470px){.footer__copyright{font-size:14px}}
.popup{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:.4s}
.popup_opened{opacity:1;visibility:visible}
.popup__container{width:88%;max-width:430px;margin:auto;padding:36px;position:relative;box-sizing:border-box;background-color:#fff;border-radius:10px}@media screen and (max-width:470px){.popup__container{padding:25px 22px}}
@media screen and (max-width:470px){.popup__container_type_add{width:75%;padding:30px 20px}}
.popup__container_type_image{width:auto;max-width:none;padding:0;background-color:transparent;border-radius:0}
.popup__title{margin:0 0 25px;padding:0;color:#000;font-size:24px;font-weight:900;line-height:1.2}@media screen and (max-width:470px){.popup__title{margin-bottom:57px;font-size:18px}}
@media screen and (max-width:470px){.popup__title_type_add{margin-bottom:22px}}
.popup__wrapper{width:100%;border:0;margin:0 0 30px;padding:0;box-sizing:border-box}
@media screen and (max-width:470px){.popup__wrapper_type_add{margin-bottom:35px}}
.popup__input{width:100%;padding:10px 0;margin-bottom:8px;border:0;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;background-color:transparent;font-size:14px;line-height:1.2}.popup__input:last-child{margin-bottom:0}.popup__input:focus{outline-color:#3df}.popup__input:invalid:not(:-moz-placeholder-shown){border-bottom-color:red}.popup__input:invalid:not(:-ms-input-placeholder){border-bottom-color:red}.popup__input:invalid:not(:placeholder-shown){border-bottom-color:red}
.popup__input-error{display:block;min-height:26px;color:red;font-size:12px}
.popup__image{max-width:77vw;max-height:77vh;margin-bottom:10px}
.popup__caption{margin:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:400;line-height:1.2}
.popup__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;background-color:transparent;background-position:50%;background-repeat:no-repeat;border:none;border-radius:2px;outline:none}.popup__button[disabled]{color:#000;background-color:transparent;border:1px solid #000;opacity:.2;cursor:default}@media screen and (min-width:768px){.popup__button{cursor:pointer;transition:.3s}.popup__button:not([disabled]):hover{opacity:.8}}
.popup__button_type_submit-button{width:100%;height:50px;background-color:#000;color:#fff;font-size:18px;font-weight:400;line-height:1.2}@media screen and (max-width:470px){.popup__button_type_submit-button{font-size:14px}}
.popup__button_type_close-button{width:40px;height:40px;position:absolute;top:-35px;right:-35px;background-image:url(8e755615a0065b85c20e.svg);transform:rotate(45deg);background-size:contain}@media screen and (max-width:520px){.popup__button_type_close-button{width:26px;height:26px;top:-42px;right:8px}}
.popup__button_type_image-button{width:40px;height:40px;position:absolute;top:-38px;right:-38px;background-image:url(8e755615a0065b85c20e.svg);transform:rotate(45deg)}@media screen and (max-width:520px){.popup__button_type_image-button{width:30px;height:30px;top:-27px;right:-27px;background-size:contain}}
.tip{display:none;position:absolute;padding:5px;color:#fff;background-color:#252525;border-radius:2px;font-size:12px}
.dot{margin-left:7px;position:relative;-webkit-animation:pulse .7s ease-in-out .4s infinite alternate;animation:pulse .7s ease-in-out .4s infinite alternate}.dot:before{right:10px;-webkit-animation:pulse .7s ease-in-out infinite alternate;animation:pulse .7s ease-in-out infinite alternate}.dot:after,.dot:before{content:".";position:absolute}.dot:after{right:5px;-webkit-animation:pulse .7s ease-in-out .3s infinite alternate;animation:pulse .7s ease-in-out .3s infinite alternate}@-webkit-keyframes pulse{0%{opacity:0}to{opacity:1}}@keyframes pulse{0%{opacity:0}to{opacity:1}}
.dot_loader{margin-left:40px}.dot_loader:before{right:40px}.dot_loader:after{right:20px}

