/*! 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;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}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-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}template{display:none}[hidden]{display:none}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/mesto-svelte/assets/Inter-Regular-d612f121.woff2) format("woff2"),url(/mesto-svelte/assets/Inter-Regular-ef1f23c0.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/mesto-svelte/assets/Inter-Medium-1b498b95.woff2) format("woff2"),url(/mesto-svelte/assets/Inter-Medium-53deda46.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;font-display:swap;src:url(/mesto-svelte/assets/Inter-Black-fc10113c.woff2) format("woff2"),url(/mesto-svelte/assets/Inter-Black-8b21d5be.woff) format("woff")}.root{font-family:Inter,Arial,Helvetica,sans-serif;background-color:#000;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;height:100vh}.root__container{max-width:918px;min-width:320px;margin:0 auto;padding:0 19px;box-sizing:border-box}.root__header{margin-bottom:36px}@media screen and (max-width:768px){.root__header{margin-left:-19px;margin-right:-19px;margin-bottom:38px}}.root__popup{position:fixed;left:0;top:0}.header{padding-bottom:41px;position:relative;border-bottom:1px solid #545454;box-sizing:border-box}@media screen and (max-width:425px){.header{padding-bottom:31px}}.header__logo{padding-top:45px}@media screen and (max-width:768px){.header__logo{margin-left:27px}}@media screen and (max-width:425px){.header__logo{padding:28px}}.logo{display:block;width:142px;height:33px;transition:opacity .25s ease}.logo:hover{opacity:.6}@media screen and (max-width:320px){.logo{width:103px;height:24px}}@media screen and (max-width:320px){.logo__img{width:103px;height:24px}}.profile__btn-add-place{background:transparent;border:2px solid #fff;border-radius:2px;box-sizing:border-box;display:grid;position:relative;place-items:center;padding:23px 73px;margin-left:auto;cursor:pointer;transition:opacity .25s ease}.profile__btn-add-place:hover{opacity:.6}.profile__btn-add-place:before{content:"";position:absolute;width:22px;height:22px;background-image:url(/mesto-svelte/assets/icon-add-23b3ceec.svg);background-size:cover}@media screen and (max-width: 768px){.profile__btn-add-place{width:100%}.profile__btn-add-place:before{width:16px;height:16px}}.profile__btn-edit-profile{width:clamp(18px,2.61437908496732vw,24px);height:clamp(18px,2.61437908496732vw,24px);background:transparent;border:1px solid #fff;box-sizing:border-box;display:grid;position:relative;place-items:center;grid-row:1/-1;grid-column:2/-1;cursor:pointer;transition:opacity .25s ease}.profile__btn-edit-profile:hover{opacity:.6}.profile__btn-edit-profile:before{content:"";position:absolute;width:clamp(7.5px,1.089324618736383vw,10px);height:clamp(7.5px,1.089324618736383vw,10px);background-image:url(/mesto-svelte/assets/icon-edit-eed5ad16.svg);background-size:cover}@media screen and (max-width: 768px){.profile__btn-edit-profile{margin:0;grid-column:3/3}}.profile__img{display:block;width:120px;height:120px;object-fit:cover;border-radius:50%;grid-row:1/1;grid-column:1/1}.profile__avatar{margin-right:26px;display:grid;grid-template-columns:120px;grid-template-rows:120px;object-fit:cover;border-radius:50%;background-size:cover;background-position:center}@media screen and (max-width: 768px){.profile__avatar{margin-right:0;margin-bottom:22.25px}}.profile__btn-edit-avatar{width:120px;height:120px;background-color:#000c;border:none;position:relative;display:grid;place-items:center;padding:0;grid-row:1/1;grid-column:1/1;opacity:0;cursor:pointer;transition:opacity .25s ease;border-radius:50%}.profile__btn-edit-avatar:hover{opacity:1}.profile__btn-edit-avatar:before{content:"";width:26px;height:26px;position:absolute;background-image:url(/mesto-svelte/assets/icon-edit-avatar-e2b61598.svg);background-repeat:no-repeat;transform:scale(0);transition:transform .35s ease}.profile__btn-edit-avatar:hover.profile__btn-edit-avatar:before{transform:scale(1)}.profile__info{display:flex;align-items:center;color:#fff;margin-bottom:47px}@media screen and (max-width:768px){.profile__info{flex-wrap:wrap;justify-content:center;margin-bottom:36px}}.profile__name{display:grid;grid-template-columns:repeat(2,max-content);row-gap:clamp(14px,1.742919389978214vw,16px);column-gap:clamp(10px,1.96078431372549vw,18px);align-items:center}@media screen and (max-width:768px){.profile__name{text-align:center;margin-bottom:36px;grid-template-columns:18px max-content 18px;width:100%;justify-items:center;justify-content:center}}.profile__subtitle{font-weight:400;font-size:clamp(14px,1.96078431372549vw,18px);line-height:1.2;margin-top:0;margin-bottom:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:clamp(230px,49vw,600px);grid-column:1/-1}.profile__title{font-weight:500;font-size:clamp(27px,4.57516339869281vw,42px);line-height:1.15;margin-top:0;margin-bottom:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:clamp(200px,49vw,530px)}@media screen and (max-width:768px){.profile__title{grid-column:2/2}}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(282px,1fr));justify-content:space-between;gap:20px 17px;padding-left:0;margin:0}.card{display:flex;flex-direction:column-reverse;border-radius:10px;overflow:hidden;position:relative}.card__img{display:block;height:282px;object-fit:cover;cursor:pointer;background-size:cover;background-position:center;position:relative}.card__img:after{position:absolute;content:"";left:0;top:0;width:100%;height:100%;background-color:#000;opacity:0;transition:.25s}.card__img:hover:after{opacity:.3}@media screen and (max-width: 917px){.card__img{height:clamp(282px,46.9vw,431px)}}@media screen and (max-width: 618px){.card__img{height:clamp(282px,93.85113268608414vw,580px)}}@media screen and (max-width: 320px){.card__img{height:282px}}.card__like{display:block;border:0;background-color:transparent;background-image:url(/mesto-svelte/assets/like-disabled-dfd1efa8.svg);width:22px;height:19px;background-size:cover;cursor:pointer;transition:background-image .25s ease}.card__like:hover{background-image:url(/mesto-svelte/assets/like-hover-fbe78ea4.svg)}.card__like_active{background-image:url(/mesto-svelte/assets/like-active-63bd6148.svg)}.card__like_active:hover{background-image:url(/mesto-svelte/assets/like-active-63bd6148.svg)}.card__like-section{display:grid;gap:3px}.card__like-info{font-size:13px;line-height:15px;color:#000;text-align:center}.card__text{background-color:#fff;padding:21px;margin:0;display:flex;justify-content:space-between;align-items:center}.card__title{font-size:24px;font-weight:900;line-height:1.2;color:#000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0;max-width:216px}@media screen and (max-width:917px){.card__title{max-width:clamp(216px,34vw,320px)}}@media screen and (max-width:618px){.card__title{max-width:clamp(216px,67vw,509px)}}.card__del{position:absolute;width:18px;height:19px;background-image:url(/mesto-svelte/assets/icon-basket-127e249c.svg);background-color:transparent;border:0;top:20px;right:20px;cursor:pointer;transition:opacity .25s ease}.card__del:hover{opacity:.6}.card__del_visible{visibility:visible}.card__del_hidden{visibility:hidden}.footer__copyright{font-weight:400;font-size:18px;line-height:1.21;color:#545454;margin:67px 0 60px;padding-bottom:60px}@media screen and (max-width: 768px){.footer__copyright{margin:48px 0 36px;font-size:clamp(14px,2.34375vw,18px)}}.popup{width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;visibility:hidden;opacity:0;transition:visibility .45s,opacity .45s ease-in-out;margin:auto}.wrapper-popup{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;transition:opacity .35s linear}.popup:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;transition:opacity .35s linear;z-index:-1}.popup_background_light:before{opacity:.5}.popup_background_dark:before{opacity:.9}.popup_opened{visibility:visible;opacity:1}.popup__btn{color:#fff;background:#000;border-radius:2px;border:0;font-weight:400;font-size:18px;line-height:1.2;text-align:center;height:50px;width:358px;padding:0;cursor:pointer;transition:background-color .25s ease;box-sizing:border-box}.popup__btn:hover{background-color:#000c}@media screen and (max-width:560px){.popup__btn{font-size:14px;line-height:1.2;height:46px;width:238px;margin:0 auto}}.popup__btn_type_confirm{margin-top:0}.popup__close{position:absolute;border:0;background-color:transparent;background-image:url(/mesto-svelte/assets/icon-close-5f0027f5.svg);right:-42px;top:-42px;background-size:cover;width:32px;height:32px;cursor:pointer;transition:opacity .25s ease}.popup__close:hover{opacity:.6}@media screen and (max-width: 560px){.popup__close{right:0px;top:-36px;width:20px;height:20px}}.popup__container{display:grid;position:relative}.popup__container_type_form{padding:34px 36px;background-color:#fff;box-shadow:0 0 25px #00000026;border-radius:10px}@media screen and (max-width:560px){.popup__container_type_form{padding:22px 25px}}.popup__img{max-width:75vw;width:100%;max-height:75vh;height:auto;object-fit:cover;object-position:center}.popup__img-description{margin-top:10px;margin-bottom:0;font-weight:400;font-size:12px;line-height:1.25}.popup__input{font-size:14px;line-height:1.2;color:#000;padding:10px 10px 10px 0;border:0;border-bottom:1px solid rgb(0 0 0 / 20%);width:100%;box-sizing:border-box;margin-bottom:20px}.popup__input:focus{outline:none;border-bottom:1px solid #000}.popup__input::placeholder{color:#c4c4c4}.popup__title{font-size:24px;font-weight:900;line-height:1.2;color:#000;margin:0 0 40px}@media screen and (max-width:560px){.popup__title{font-size:18px;margin-top:3px;margin-bottom:66px}}.popup__title_type_confirm{margin-bottom:38px}.popup__input-error{position:absolute;font-weight:400;font-size:12px;line-height:15px;color:red;left:0;top:40px;z-index:1;opacity:0}.popup__label{position:relative}.root__btn{margin-top:29px}.popup__input_type_error{border-bottom:1px solid #ff0000}.popup__input_type_error:focus{border-bottom:1px solid #ff0000}.popup__btn_disabled{background-color:transparent;color:#0003;border:1px solid rgb(0 0 0 / 20%);pointer-events:none}.popup__btn:disabled{background-color:transparent;color:#0003;border:1px solid rgb(0 0 0 / 20%);pointer-events:none}.popup__input-error_active{opacity:1}
