/*! 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(4c96ed73beaf6d1e6cc7.woff2?v=3.19) format("woff2"),url(34ed58565339f4f3be40.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2?v=3.19) format("woff2"),url(9053572c46aeb4b16caa.woff?v=3.19) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(141c7af6ed109b318513.woff2?v=3.19) format("woff2"),url(fd37f7e052bea1018058.woff?v=3.19) format("woff")}
.link-effect{color:#fff;cursor:pointer;transition:opacity .3s ease-in-out}.link-effect:hover{opacity:.6}
.textcut{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.page{background-color:#000;color:#fff;display:grid;font-family:Inter,Arial,sans-serif}
.header{border-bottom:1px solid rgba(54,54,54,.7);justify-self:center;margin-top:45px;max-width:880px;min-height:74px;min-width:320px;width:68.75vw}@media screen and (max-width:480px){.header{margin-top:28px;min-height:56px}}
.header__logo{height:33px;width:142px}@media screen and (max-width:480px){.header__logo{height:24.4px;margin-left:27px;width:103.74px}}
.main{display:grid}
.profile{display:grid;gap:0 30px;grid-auto-flow:column;grid-template-columns:120px auto 150px;justify-self:center;margin-top:40px;max-width:880px;width:68.75vw}@media screen and (max-width:968px){.profile{gap:0 0;grid-auto-flow:row;grid-template-columns:auto;justify-items:center;width:282px}}
.profile__avatar{aspect-ratio:auto;border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;transition:opacity .3s ease-in-out;width:120px}.profile__avatar:hover{opacity:.2}
.profile__avatar-button{background-color:transparent;border:0;border-radius:50%;cursor:pointer;height:120px;padding:0;transition:opacity .3s ease-in-out;width:120px}.profile__avatar-button:hover{background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:26px 26px;opacity:1}
@media screen and (max-width:968px){.profile__profile-info{margin-top:19px;width:282px}}
.profile__name{font-size:42px;font-weight:500;line-height:48px;margin:0}@media screen and (max-width:968px){.profile__name{font-size:27px;justify-self:center;line-height:32.68px;margin-top:8px;padding-left:28px}}
.profile__status{font-size:18px;font-weight:400;line-height:21.78px;margin:9px 0 0;max-width:450px}@media screen and (max-width:968px){.profile__status{font-size:14px;line-height:16.94px;margin-top:8px;text-align:center}}
.profile__edit-button{background-color:transparent;background-image:url(6c7bf05444b9793fdf6e.svg);background-position:50%;background-repeat:no-repeat;background-size:10px 10px;border:1px solid #fff;height:24px;margin-left:19px;margin-right:1px;margin-top:38px;min-height:24px;min-width:24px;width:24px}@media screen and (max-width:968px){.profile__edit-button{align-self:center;background-size:8px 8px;height:18px;margin:9px 0 0 10px;min-height:18px;min-width:18px;width:18px}}
.profile__add-button{align-self:center;background-color:transparent;background-image:url(bed8c136e13907f5eefb.svg);background-position:50%;background-repeat:no-repeat;background-size:22px 22px;border:2px solid #fff;border-radius:2px;cursor:pointer;display:grid;height:49px;justify-self:end;margin-bottom:3px;transition:opacity .3s ease-in-out;width:150px}.profile__add-button:hover{opacity:.6}@media screen and (max-width:968px){.profile__add-button{align-self:end;background-size:16px 16px;display:grid;height:50px;justify-self:center;margin-top:32px;width:282px}}
.profile__container{align-items:baseline;display:flex;margin:0;max-width:450px}@media screen and (max-width:968px){.profile__container{align-items:start;justify-content:center}}
.elements{display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fill,282px);justify-self:center;margin-top:50px;width:880px}@media screen and (max-width:968px){.elements{grid-auto-flow:row;grid-template:361px/auto;justify-content:center;margin-top:35px;width:320px}}
.elements__element{background-color:#fff;border-radius:10px;color:#000;display:grid;grid-template:282px 79px/230px 52px;height:361px;position:relative;width:282px}
.elements__photo{border-radius:10px 10px 0 0;grid-column:span 2;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:282px}
.elements__tag{align-self:center;font-size:24px;font-weight:900;line-height:29.05px;margin-left:21px}
.elements__likegroup{align-items:center;display:flex;flex-flow:column;justify-content:center;margin:0}
.elements__like{background-color:transparent;background-image:url(1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;border:none;cursor:pointer;height:19px;transition:opacity .3s ease-in-out;width:22px}.elements__like:hover{opacity:.5}
.elements__likecount{font-size:13px;font-weight:400;line-height:16px;margin:5px 0 0}
.elements__like_active{background-image:url(35948469632d0421d697.svg)}
.elements__delete-button{background-color:transparent;background-image:url(ce3b64935accf9b8212e.svg);border:none;height:19px;position:absolute;right:20px;top:20px;width:18px}
.footer{justify-self:center;margin-bottom:60px;margin-top:67px;max-width:880px;min-width:282px;width:68.75vw}@media screen and (max-width:968px){.footer{margin-bottom:36px;margin-top:48px;width:88.125vw}}
.footer__copyrigth{color:#545454;font-size:18px;font-weight:400;line-height:21.78px;margin:0}@media screen and (max-width:968px){.footer__copyrigth{font-size:14px;line-height:16.94px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:.2s ease-in-out;visibility:hidden;width:100%}
.popup_open{opacity:1;transition:.3s ease-in-out;visibility:visible}
.popup__container{background-color:#fff;border-radius:10px;margin:0;padding:0;position:relative;width:430px}@media screen and (max-width:968px){.popup__container{width:282px}}
.popup__container-photo{max-width:75vw;position:relative}@media screen and (max-width:968px){.popup__container-photo{width:282px}}
.popup__close{background-color:transparent;background-image:url(039f1f5203f653b4bacd.svg);border:none;height:32px;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:968px){.popup__close{background-size:cover;height:20px;right:0;top:-36px;width:20px}}
.popup__title{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;padding:34px 64px 48px 36px}@media screen and (max-width:968px){.popup__title{font-size:18px;line-height:22px;padding:25px 22px 75px}}
.popup__form{margin:0;padding:0 36px 37px}@media screen and (max-width:968px){.popup__form{padding:0 22px 25px}}
.popup__field{height:60px;margin:0;padding:0;position:relative}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-weight:400;height:27px;left:0;line-height:17px;outline:none;position:absolute;top:0;width:358px}.popup__input:invalid{border-bottom:1px solid red}@media screen and (max-width:968px){.popup__input{width:238px}}
.popup__error{color:red;display:block;font-size:12px;font-style:normal;font-weight:400;height:0;left:0;line-height:1.25;margin:0;padding:0;position:absolute;top:32px}
.popup__submit{background-color:#000;border:none;border-radius:2px;color:#fff;cursor:pointer;font-size:18px;font-weight:400;height:50px;line-height:22px;margin:18px 0 0;padding:0;text-align:center;transition:opacity .3s ease-in-out;width:358px}.popup__submit:hover{opacity:.8}@media screen and (max-width:968px){.popup__submit{font-size:14px;height:46px;line-height:17px;margin:15px 0 0;width:238px}}
.popup__submit_disabled{background-color:#fff;border:2px solid #000;color:#000;cursor:default;opacity:.2}.popup__submit_disabled:hover{opacity:.2}
.popup__fullscreen-photo{max-height:75vh;width:100%}
.popup__fullscreen-title{color:#fff;font-size:12px;font-weight:400;line-height:14.52px;margin:10px 0 0;width:240px}

