/*! 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-weight:400;font-display:swap;src:url(/react-mesto-auth/assets/Inter-Regular-d612f121.woff2),url(/react-mesto-auth/assets/Inter-Regular-ef1f23c0.woff)}@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(/react-mesto-auth/assets/Inter-Medium-1b498b95.woff2),url(/react-mesto-auth/assets/Inter-Medium-53deda46.woff)}@font-face{font-family:Inter;font-weight:900;font-display:swap;src:url(/react-mesto-auth/assets/Inter-Black-fc10113c.woff2),url(/react-mesto-auth/assets/Inter-Black-8b21d5be.woff)}.page{min-width:320px;max-width:1280px;background-color:#000;margin:0 auto;padding:0;font-family:Inter,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100;-moz-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.header{max-width:880px;padding:0;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;border-bottom:1px solid rgba(84,84,84,.7)}@media screen and (max-width: 879px){.header{max-width:100%}}.header__container{display:flex;justify-content:space-between;padding:45px 0 32px}@media screen and (max-width: 628px){.header__container{padding:27px 0 32px}}.header__logo{max-width:142px}@media screen and (max-width: 879px){.header__logo{padding-left:27px}}@media screen and (max-width: 320px){.header__logo{max-width:103.74px}}.header__link-in{text-decoration:none;font-size:18px;font-weight:400;line-height:22px;text-align:right;color:#fff;max-width:114px;align-self:center;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer}.header__link-in:hover{opacity:.6}@media screen and (max-width: 879px){.header__link-in{padding-right:30px}}@media screen and (max-width: 360px){.header__link-in{font-size:14px;line-height:16.94px}}.header__auth-nav{display:flex;justify-content:end}@media screen and (max-width: 628px){.header__auth-nav{display:none}}.header__user-email{margin:0;padding:0;font-size:18px;font-weight:500;line-height:22px;text-decoration:none;color:#fff;align-self:center}@media screen and (max-width: 628px){.header__user-email{padding-bottom:18px}}.header__quit-button{font-size:18px;font-weight:400;line-height:22px;margin:0 0 0 24px;padding:0;background-color:transparent;border:none;color:#a9a9a9;text-decoration:none;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer}.header__quit-button:hover{opacity:.6}@media screen and (max-width: 935px){.header__quit-button{padding-right:27px}}.header__burger-menu{display:none;padding:40px 0}.header__burger-menu_opened{display:none;border-bottom:1px solid rgba(84,84,84,.7);justify-content:center;flex-direction:column}@media screen and (max-width: 628px){.header__burger-menu_opened{display:flex}}.header__burger-button{background:url(/react-mesto-auth/assets/burger_menu-015b9bfa.svg) center no-repeat;border:none;background-color:transparent;width:24px;height:24px;padding:0;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer;display:none;align-self:center}.header__burger-button:hover{opacity:.6}@media screen and (max-width: 628px){.header__burger-button{display:flex;margin-right:27px}}.header__burger-button_opened{background-image:url(/react-mesto-auth/assets/close_button-5dc22fb5.svg);display:block;width:20px;height:20px;align-self:flex-end}@media screen and (min-width: 629px){.header__burger-button_opened{display:none}}.content{padding:0;margin:0}.profile{max-width:880px;padding-top:40px;margin:0 auto;display:flex;justify-content:space-between}@media screen and (max-width: 879px){.profile{max-width:calc(100% - 38px)}}@media screen and (max-width: 768px){.profile{padding-top:42px;flex-direction:column}}.profile__data{display:flex}@media screen and (max-width: 768px){.profile__data{flex-direction:column;align-items:center;padding-bottom:33px}}.profile__avatar{width:100%;height:100%;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;object-fit:cover;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer;z-index:150}.profile__avatar:hover{opacity:.2;z-index:-1}.profile__update-button{background-image:url(/react-mesto-auth/assets/edit_avatar_Button-ef28ebf7.svg);margin:0;padding:0;border:0;height:120px;width:120px;background-color:transparent;background-repeat:no-repeat;background-position:center}.profile__update-button:hover{opacity:1;z-index:500}.profile__info{padding-left:30px;color:#fff;display:grid;grid-template-columns:1fr 24px;row-gap:16px;column-gap:18px;align-self:center;max-width:70%}@media screen and (max-width: 768px){.profile__info{padding:26px 0 0 30px;row-gap:8px;column-gap:10px}}@media screen and (max-width: 480px){.profile__info{padding:26px 0 0 30px;row-gap:8px;column-gap:10px;max-width:100%}}.profile__name{font-size:42px;line-height:48px;font-weight:500;margin:0;z-index:150;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (max-width: 504px){.profile__name{font-size:27px;line-height:32.68px}}.profile__description{font-size:18px;line-height:1.21;font-weight:400;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:150}@media screen and (max-width: 768px){.profile__description{text-align:center}}@media screen and (max-width: 504px){.profile__description{font-size:14px;line-height:16.94px}}.profile__edit-button{border:none;width:24px;height:24px;background:url(/react-mesto-auth/assets/edit_Button-2c27ca3b.svg) no-repeat;background-size:100%;align-self:center;padding:0;z-index:150;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer}.profile__edit-button:hover{opacity:.6}@media screen and (max-width: 320px){.profile__edit-button{width:18px;height:18px}}.profile__add-button{border:2px solid #fff;min-width:150px;height:50px;background:url(/react-mesto-auth/assets/add_button-ecfe910a.svg) no-repeat;background-position:center;background-size:22px;align-self:center;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer;padding:0}.profile__add-button:hover{opacity:.6}@media screen and (max-width: 768px){.profile__add-button{width:282px;background-size:16px}}.popup{width:100%;height:100%;display:flex;position:fixed;align-items:center;justify-content:center;top:0;left:0;z-index:350;opacity:0;visibility:hidden;background-color:#00000080;transition:opacity .7s ease,visibility .2s ease;-webkit-transition:opacity .7s ease,visibility .2s ease;-moz-transition:opacity .7s ease,visibility .2s ease;-ms-transition:opacity .7s ease,visibility .2s ease;-o-transition:opacity .7s ease,visibility .2s ease}.popup__container{width:33.6vw;max-width:430px;min-width:282px;background-color:#fff;border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;margin:195px auto 0;position:relative;color:#000;box-sizing:border-box;padding:34px 36px 37px;box-shadow:0 0 1px #000}@media screen and (max-width: 897px){.popup__container{padding:25px 22px;margin-top:123px}}.popup__close-button{border:none;outline:none;background:url(/react-mesto-auth/assets/close_button-5dc22fb5.svg) no-repeat;position:absolute;right:-40px;top:-40px;width:32px;height:32px;background-size:100%;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in;cursor:pointer;padding:0}.popup__close-button:hover{opacity:.6}@media screen and (max-width: 364px){.popup__close-button{right:0;top:-36px;width:20px;height:20px}}.popup__header{margin:0;font-size:24px;line-height:29.05px;font-weight:900}@media screen and (max-width: 1200px){.popup__header{font-size:2vw}}@media screen and (max-width: 900px){.popup__header{font-size:18px;line-height:21.78px}}.popup__input-form{max-width:358px;padding:50px 0 0;margin:0;border:none}@media screen and (max-width: 320px){.popup__input-form{padding:75px 0 0}}.popup__input-form_type_confirm{padding-top:20px}.popup__field{display:flex;position:relative;padding:0;flex-direction:column}.popup__input{width:100%;border:none;margin:0;padding:0 0 10px;border-bottom:1px solid rgba(0,0,0,.2);outline:none;font-size:14px;line-height:16.94px;vertical-align:text-top}@media screen and (max-width: 320px){.popup__input{margin:0 auto 30px}}@media screen and (max-width: 320px){.popup__input:last-of-type{margin-bottom:0}}.popup__input-span{display:block;margin:0;padding-top:5px;min-height:29px}.popup__input_invalid{border-bottom:1px solid red}.popup__input_type_name::placeholder,.popup__input_type_description::placeholder{color:#000}.popup__input-error{display:block;font-weight:400;font-size:12px;line-height:14.52px;color:red;margin:0;padding-top:5px;min-height:29px}.popup__submit-button{margin:13px 0 auto;width:100%;background-color:#000;color:#fff;font-style:normal;font-weight:400;font-size:18px;line-height:22px;text-align:center;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border:none;outline:none;padding-top:14px;padding-bottom:14px;cursor:pointer;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in}.popup__submit-button:hover{opacity:.8}@media screen and (max-width: 320px){.popup__submit-button{margin-top:13px;font-size:14px;line-height:16.94px}}.popup__submit-button_inactive{border:1px solid rgba(0,0,0,.2);background-color:#fff;color:#0003;cursor:auto}.popup_opened{visibility:visible;opacity:1}.popup-image{background-color:#000000e6}.popup__image-container{margin:90px auto 0;box-sizing:border-box;display:flex;justify-content:center}@media screen and (max-width: 1279px){.popup__image-container{width:63.8vw}}@media screen and (max-width: 897px){.popup__image-container{margin-top:136px}}@media screen and (max-width: 364px){.popup__image-container{min-width:240px}}.popup__figure{margin:0;display:flex;position:relative;flex-direction:column;justify-content:space-between}.popup__image{max-width:75vw;max-height:75vh;object-fit:cover}.popup__caption{font-size:12px;line-height:14.52px;color:#fff;padding-top:10px;margin:0}.popup-tooltip{background-color:#00000080}.popup-tooltip__image{max-width:120px;max-height:120px;display:flex;margin:20px auto 40px}.popup-tooltip__title{font-size:24px;font-weight:900;line-height:29.05px;text-align:center;max-width:358px;margin:0 auto;padding-bottom:30px}.elements{max-width:880px;margin:0 auto;padding-top:50px;display:grid;grid-template:repeat(2,361px) / repeat(3,282px);column-gap:17px;row-gap:20px}@media screen and (max-width: 918px){.elements{max-width:calc(100% - 38px);grid-template:repeat(2,1fr) / repeat(3,1fr)}}@media screen and (max-width: 700px){.elements{grid-template:repeat(3,min-content) / repeat(2,max-content);justify-content:space-evenly}}@media screen and (max-width: 533px){.elements{grid-template-columns:max-content;padding-top:36px}}@media screen and (max-width: 319px){.elements{grid-template-columns:1fr}}.element{width:100%;position:relative;margin:0;background-color:#fff;border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px}@media screen and (max-width: 918px){.element{max-width:30.72vw}}@media screen and (max-width: 700px){.element{max-width:282px;justify-self:center}}@media screen and (max-width: 622px){.element{max-width:45.3vw}}@media screen and (max-width: 533px){.element{max-width:282px}}@media screen and (max-width: 319px){.element{max-width:80.4vw}}.element__image{width:100%;height:282px;border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-ms-border-radius:10px 10px 0 0;-o-border-radius:10px 10px 0 0;object-fit:cover}.element__delete-button{border:none;outline:none;background:url(/react-mesto-auth/assets/delete_button-a9877e3f.svg) center no-repeat;width:18px;height:19px;position:absolute;transition:opacity .3s ease;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-ms-transition:opacity .3s ease;-o-transition:opacity .3s ease;cursor:pointer;top:20px;right:20px;opacity:1;padding:0}.element__delete-button:hover{opacity:.6}.element__text{padding:21px;display:flex;justify-content:space-between;align-items:center}.element__caption{max-width:219px;font-size:24px;line-height:29.05px;font-weight:900;color:#000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0}.element__like-attributes{width:22px;text-align:center}.element__like-button{border:none;outline:none;background:url(/react-mesto-auth/assets/like_button-bae2837a.svg) center no-repeat;width:100%;height:19px;transition:opacity .3s ease;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-ms-transition:opacity .3s ease;-o-transition:opacity .3s ease;cursor:pointer;right:15px;opacity:1;padding:0}.element__like-button:hover{opacity:.5}.element__like-button_active{background:url(/react-mesto-auth/assets/like_button_active-fa511ceb.svg) center no-repeat}.element__likes-counter{font-size:13px;font-weight:400;line-height:16px;color:#000;margin:0}.authentication-form{max-width:358px;margin:0 auto;padding:60px 0 112px;display:flex;flex-direction:column;align-items:center;border:none;background-color:#000}@media screen and (max-width: 500px){.authentication-form{padding:40px 0 112px}}@media screen and (max-width: 419px){.authentication-form{margin:0 30px}}.authentication-form__title{margin:0;font-size:24px;line-height:29.05px;font-weight:900;color:#fff;text-align:center}@media screen and (max-width: 360px){.authentication-form__title{font-size:20px;line-height:24.2px}}.authentication-form__input{width:100%;border:none;border-bottom:2px solid rgba(204,204,204,1);margin:0;padding:30px 0 10px;font-size:14px;font-weight:400;line-height:16.94px;outline:none;vertical-align:text-top;background-color:#000;color:#fff}.authentication-form__input:first-of-type{padding-top:50px}.authentication-form__input::placeholder{color:#ccc}@media screen and (max-width: 500px){.authentication-form__input:first-of-type{padding-top:40px}}.authentication-form__input:-webkit-autofill{background-color:#000;box-shadow:#000;color:#fff}.authentication-form__button{width:100%;height:50px;padding:0;margin:216px 0 0;border:none;outline:none;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;background-color:#fff;color:#000;font-weight:400;font-size:18px;line-height:22px;text-align:center;cursor:pointer;opacity:1;transition:opacity .3s ease-in;-webkit-transition:opacity .3s ease-in;-moz-transition:opacity .3s ease-in;-ms-transition:opacity .3s ease-in;-o-transition:opacity .3s ease-in}.authentication-form__button:hover{opacity:.85}@media screen and (max-width: 500px){.authentication-form__button{margin:173px 0 0;font-size:16px;line-height:19.36px}}.authentication-form__text{font-size:14px;line-height:16.94px;color:#fff;font-weight:400;text-align:center;margin:15px auto}@media screen and (max-width: 360px){.authentication-form__text{margin:20px auto}}.authentication-form__link{text-decoration:none;font-size:14px;line-height:16.94px;color:#fff;font-weight:400}.footer{max-width:880px;margin:0 auto;padding-top:66px;padding-bottom:60px;color:#545454;font-size:18px;line-height:22px}@media screen and (max-width: 879px){.footer{max-width:calc(100% - 38px);padding-top:48px;padding-bottom:36px}}.footer__copyright{margin:0;font-size:18px;line-height:21.78px}@media screen and (max-width: 320px){.footer__copyright{font-size:14px;line-height:16.94px}}
