/*! 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-family:Inter;font-style:normal;font-weight:400;src:url(fonts/regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(fonts/regular.8c206db99195777c6769.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url(fonts/medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(fonts/medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:url(fonts/black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(fonts/black.c6938660eec019fefd68.woff) format("woff")}
.button{border:none;cursor:pointer;outline:none;padding:0}
.page{background-color:#000;font-family:Inter,Arial,sans-serif}
.content{box-sizing:border-box;margin:0 auto;max-width:1280px;padding:45px 200px 60px}@media screen and (max-width:1080px){.content{padding-left:100px;padding-right:100px}}@media screen and (max-width:720px){.content{padding:35px 60px 40px}}@media screen and (max-width:480px){.content{padding:28px 0 36px}}
.header{border:1px solid transparent;border-bottom:solid #545454;min-height:74px}@media screen and (max-width:480px){.header{min-height:56px}}
.header__logo{max-width:142px}@media screen and (max-width:720px){.header__logo{max-width:120px}}@media screen and (max-width:480px){.header__logo{margin-left:27px;max-width:104px}}
.profile{align-items:center;display:flex;justify-content:space-between;padding:40px 0 50px}@media screen and (max-width:720px){.profile{flex-direction:column;gap:33px}}@media screen and (max-width:480px){.profile{padding:42px 19px 36px}}
.profile__container{align-items:center;display:flex;gap:30px;max-width:calc(100% - 185px);min-width:0}@media screen and (max-width:720px){.profile__container{flex-direction:column;gap:26px;max-width:80%}}@media screen and (max-width:480px){.profile__container{gap:22px}}
.profile__avatar{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:100%;height:120px;position:relative;width:120px}.profile__avatar:after{background:rgba(0,0,0,.8) url(images/profile-pencil-icon.686ec1de24fcfb5046fa.svg) no-repeat 50% /26px;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .5s ease}.profile__avatar:hover:after{cursor:pointer;opacity:1}
.profile__info{max-width:100%;min-width:0}
.profile__name-wrapper{align-items:center;display:flex;gap:18px;margin-bottom:8px}@media screen and (max-width:720px){.profile__name-wrapper{justify-content:center}}@media screen and (max-width:480px){.profile__name-wrapper{gap:10px}}
.profile__name{color:#fff;font-size:42px;font-weight:500;line-height:48px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:720px){.profile__name{font-size:35px;line-height:40px}}@media screen and (max-width:480px){.profile__name{font-size:27px;line-height:33px;text-align:center}}
.profile__edit{background:url(images/profile-pencil-icon.686ec1de24fcfb5046fa.svg) 50%/10px no-repeat;border:1px solid #fff;flex-shrink:0;height:24px;outline:none;padding:0;transition:opacity .3s linear;width:24px}.profile__edit:hover{opacity:.6}@media screen and (max-width:480px){.profile__edit{background-size:7.5px;height:18px;width:18px}}
.profile__about{color:#fff;font-size:18px;font-weight:400;grid-column:1/3;line-height:22px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:720px){.profile__about{font-size:16px;line-height:19px;text-align:center}}@media screen and (max-width:480px){.profile__about{font-size:14px;line-height:17px}}
.profile__add{background:url(images/profile-plus-icon.e932ceb74cf1e5663fa8.svg) 50% no-repeat;background-size:22px;border:2px solid #fff;flex-shrink:0;height:50px;outline:none;padding:0;transition:opacity .3s linear;width:150px}.profile__add:hover{opacity:.6}@media screen and (max-width:720px){.profile__add{background-size:16px;width:282px}}
.cards{padding:0}@media screen and (max-width:480px){.cards{padding-left:19px;padding-right:19px}}
.cards__container{display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,minmax(282px,1fr));list-style:none;margin:0;padding:0}
.card{border-radius:10px;margin:0;overflow:hidden;position:relative}
.card__delete{background:url(images/card-trash-icon.4af3841e0d351a5225a0.svg) 50%/contain no-repeat;display:block;height:19px;position:absolute;right:20px;top:20px;transition:opacity .3s linear;width:18px;z-index:1}.card__delete:hover{opacity:.6}
.card__delete_hidden{display:none}
.card__square{position:relative}.card__square:before{content:"";display:block;padding-top:100%}
.card__image{background-color:#000;color:#fff;font-size:12px;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.card__image:hover{cursor:pointer}
.card__caption{align-items:center;background-color:#fff;display:flex;gap:21px;justify-content:space-between;padding:22px 20px}
.card__text{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card__wrapper{align-items:center;display:flex;flex-direction:column;gap:3px}
.card__like{background:url(images/card-heart-icon.cc0bd113945a67afb095.svg) 50%/contain no-repeat;border:0;flex-shrink:0;height:19px;outline:0;padding:0;transition:opacity .3s linear;width:22px}.card__like:hover{opacity:.5}
.card__like_active{background-image:url(images/card-filled-heart-icon.08af6fbb37d19d4aa333.svg)}
.card__counter{font-size:13px;font-weight:400;line-height:16px;margin:0}
.footer{padding:67px 0 0}@media screen and (max-width:480px){.footer{padding-left:19px;padding-right:19px;padding-top:48px}}
.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:480px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;cursor:pointer;display:flex;height:100vh;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility 0s .3s,opacity .3s linear;visibility:hidden;width:100vw;z-index:2}
.popup_opened{opacity:1;transition:visibility 0s,opacity .3s linear;visibility:visible}
.popup_background_light{background-color:rgba(0,0,0,.5)}
.popup_background_dark{background-color:rgba(0,0,0,.9)}
.popup__container{cursor:default;position:relative}
.popup__close{background:url(images/popup-close-icon.6613295610766f0c6baa.svg) 50%/cover no-repeat;height:32px;position:absolute;right:-40px;top:-40px;transition:opacity .3s linear;width:32px}.popup__close:hover{opacity:.6}@media screen and (max-width:720px){.popup__close{height:26px;right:-34px;top:-34px;width:26px}}@media screen and (max-width:480px){.popup__close{height:20px;right:0;top:-36px;width:20px}}
.form{background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);box-sizing:border-box;padding:34px 36px 37px;width:430px}@media screen and (max-width:720px){.form{padding:30px 29px 31px;width:356px}}@media screen and (max-width:480px){.form{padding:25px 22px;width:282px}}
.form__title{font-size:24px;font-weight:900;line-height:29px;margin:0 0 54px}@media screen and (max-width:480px){.form__title{font-size:18px;line-height:22px;margin-bottom:75px}}
.form__title_confirm{margin-bottom:38px}
.form__field{display:inline-block;width:100%}.form__field:last-of-type{margin-bottom:11px}@media screen and (max-width:480px){.form__field:last-of-type{margin-bottom:8px}}
.form__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);box-sizing:border-box;font-size:14px;font-weight:400;line-height:17px;margin:0;min-height:27px;outline:none;padding:0 0 13px;width:100%}.form__input:focus{border-bottom:1px solid #000}
.form__input_invalid,.form__input_invalid:focus{border-bottom:1px solid red}
.form__input-error{box-sizing:border-box;color:red;display:block;font-size:12px;font-weight:400;height:32px;line-height:15px;margin:5px 0 0}
.form__submit{background-color:#000;border-radius:2px;box-sizing:border-box;color:#fff;font-size:18px;font-weight:400;height:50px;line-height:22px;transition:opacity .3s linear;width:100%}.form__submit:hover{opacity:.8}@media screen and (max-width:480px){.form__submit{font-size:14px;height:46px;line-height:17px}}
.form__submit_disabled{background-color:transparent;border:1px solid #000;color:#000;cursor:default;opacity:.2}.form__submit_disabled:hover{opacity:.2}
.figure{display:table;font-size:0;margin:0}
.figure__image{-o-object-fit:cover;object-fit:cover}
.figure__image_size_large{max-height:75vh;max-width:75vw}
.figure__caption{caption-side:bottom;display:table-caption;margin:15px 0 0}
.figure__text{color:#fff;font-size:12px;font-weight:400;line-height:15px;margin:0}

