/*! 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(c8ba52b05a9ef10f4758.woff2) format("woff2"),url(8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
.footer{margin:66px 200px 0}@media screen and (max-width:700px){.footer{margin-left:100px;margin-right:100px}}@media screen and (max-width:586px){.footer{margin:48px 19px 0}}
.header{border-bottom:1px solid #313131;margin:45px 200px 0;padding-bottom:41px}@media screen and (max-width:700px){.header{margin-left:100px;margin-right:100px}}@media screen and (max-width:568px){.header{margin:28px 0 0}}
.page{background-color:#000;margin:0 auto;max-width:1280px;min-width:320px}
.element{background-color:#fff;border-radius:10px;height:372px;margin:0 auto;position:relative;width:282px}.element:hover{cursor:pointer}
.elements{display:grid;gap:20px 17px;grid-template-columns:repeat(3,1fr);margin:51px 200px 0;max-height:100%;max-width:100%}@media screen and (max-width:1279px){.elements{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:1000px){.elements{grid-template-columns:repeat(1,1fr)}}@media screen and (max-width:700px){.elements{margin-left:100px;margin-right:100px}}@media screen and (max-width:568px){.elements{margin:36px 19px 0}}
.profile{align-items:center;display:flex;margin:40px 200px 0}@media screen and (max-width:1040px){.profile{flex-direction:column}}@media screen and (max-width:700px){.profile{margin-left:100px;margin-right:100px}}@media screen and (max-width:568px){.profile{margin:42px 19px 0}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;font-family:Inter,Arial,sans-serif;justify-content:center;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:0;transition:visibility .3s,opacity .6s linear;-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;z-index:10}
.header__logo{height:33px;width:142px}@media screen and (max-width:568px){.header__logo{height:24px;margin-left:27px;width:103px}}
.profile__add-button{align-self:center;background-color:#000;background:url(bed8c136e13907f5eefb.svg) no-repeat 50%;background-size:22px;border:2px solid #fff;border-radius:2px;cursor:pointer;height:50px;margin-left:auto;padding:0;width:150px}.profile__add-button:hover{opacity:.6;transition:1s}@media screen and (max-width:1040px){.profile__add-button{margin:36px auto 0}}@media screen and (max-width:568px){.profile__add-button{background-size:16px;margin-left:auto;margin-right:auto;width:100%}}
.profile__edit-button{background-color:#000;background:url(6c7bf05444b9793fdf6e.svg) no-repeat 50%;border:1px solid #fff;cursor:pointer;height:24px;margin-left:10px;width:24px}.popup__edit-button:hover{opacity:.6;transition:1s}@media screen and (max-width:568px){.profile__edit-button{height:18px;width:18px}}
.profile__image{border-radius:150px;display:block;height:120px;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__info{display:flex;flex-direction:column}@media screen and (max-width:568px){.profile__info{margin-top:22px;width:282px}}
.profile__subtitle{color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:16px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:336px}@media screen and (max-width:1040px){.profile__subtitle{margin:14px auto 0;text-align:center}}@media screen and (max-width:568px){.profile__subtitle{font-size:14px;line-height:17px;margin:14px auto 0;text-align:center;width:282px}}
.profile__title{color:#fff;display:inline-block;font-family:Inter,Arial,sans-serif;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:294px}@media screen and (max-width:1040px){.profile__title{text-align:center}}@media screen and (max-width:568px){.profile__title{font-size:27px;line-height:33px;width:189px}}
.profile__person{align-items:flex-end;display:flex;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:1040px){.profile__person{margin:0 auto}}
.profile__edit{display:flex;justify-content:space-between}
.profile__image-edit-button{background-color:transparent;border:0;color:#fff;cursor:pointer;height:120px;margin-right:30px;padding:0;position:relative;transition:opacity .2s;width:120px}.profile__image-edit-button:hover:after{align-items:center;background-color:rgba(0,0,0,.8);bottom:0;content:url(6c7bf05444b9793fdf6e.svg);display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;transition:1s}@media (max-width:1040px){.profile__image-edit-button{margin:0 auto}}@media screen and (max-width:568px){.profile__image-edit-button{margin:0 auto}}
.element__image{background-image:url(#);border-top-left-radius:10px;border-top-right-radius:10px;max-height:282px;min-height:282px;-o-object-fit:cover;object-fit:cover;width:282px;z-index:-1}
.element__info{display:flex;justify-content:space-between;margin:22px 15px 22px 21px}
.element__like-button{background:url(1ad06e85f169668a1f36.svg) no-repeat 50%;border:0;cursor:pointer;flex-shrink:0;height:19px;margin-bottom:3px;margin-top:5px;padding:0;width:22px}.element__like-button:hover{opacity:.5;transition:1s}
.element__title{color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:8px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.element__sum-likes{color:#000;font-family:Inter,Arial,sans-serif;font-size:13px;font-style:normal;font-weight:400;line-height:16px;margin:0}
.element__container-likes{align-items:center;display:flex;flex-direction:column}
.footer__copyright{color:#545454;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px}@media screen and (max-width:586px){.footer__copyright{font-size:14px;line-height:17px}}
.popup__close-button{background:url(039f1f5203f653b4bacd.svg) no-repeat 50%;border:0;cursor:pointer;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.popup__close-button:hover{opacity:.6;transition:1s}@media screen and (max-width:568px){.popup__close-button{height:20px;right:0;width:20px}}
.popup__content{background-color:#fff;border-radius:10px;box-sizing:border-box;padding:34px 36px;position:relative;width:430px}@media screen and (max-width:568px){.popup__content{padding:25px 22px;width:282px}}
.popup__heading{font-family:Inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 54px}@media screen and (max-width:568px){.popup__heading{font-size:18px;line-height:22px;margin-bottom:75px}}
.popup__text{border:0;border-bottom:1px solid #d1d1d7;box-sizing:border-box;font-family:Inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin-bottom:5px;padding:0 0 13px;width:100%}
.popup__submit-button{background-color:#000;border:1px solid #000;border-radius:2px;color:#fff;cursor:pointer;font-family:Inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;text-align:center;width:100%}.popup__submit-button:hover{background-color:#313131;border-color:#313131;opacity:.8;transition:1s}@media screen and (max-width:568px){.popup__submit-button{font-size:14px;height:46px;line-height:17px}}
.element__like-button_active{background-image:url(35948469632d0421d697.svg)}
.element__delete-button{background:url(ce3b64935accf9b8212e.svg) no-repeat 50%;border:0;cursor:pointer;height:19px;margin-left:-36px;margin-top:20px;padding:0;position:absolute;width:18px;z-index:10}.element__delete-button:hover{opacity:.5;transition:1s}
.popup-visual{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;flex-direction:column;height:100%;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility .5s,opacity .5s;visibility:hidden;width:100%;z-index:11}
.popup-visual__image{max-height:75vh;max-width:75vw}
.popup-visual__review{position:relative}
.popup_opened{opacity:1;pointer-events:all;visibility:visible}
.popup-visual__text{color:#fff;font-family:Inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px}
.form{box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;width:100%}
.error{color:red;display:block;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin-bottom:13px;max-width:358px;min-height:30px}.error:last-of-type{margin-bottom:30px}@media (max-width:590px){.error:last-of-type{margin-bottom:30px}.error{max-width:238px;min-height:45px}}
.popup__text_invalid{border-bottom:1px solid red}
.popup__submit-button_invalid{background-color:#fff;border:1px solid #000;color:#000;opacity:.2;pointer-events:none}
.popup_open-image{background:rgba(0,0,0,.9)}
.hidden{display:none}

