@import"https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&display=swap";.toggle-switch{position:relative;width:56px;height:28px;border:2px solid #7e7e7e;border-radius:20px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:0 10px;cursor:pointer;font-size:14px;line-height:1;font-weight:700;color:#7e7e7e}.toggle-switch__checkbox{visibility:hidden;position:absolute}.toggle-switch__slider{position:absolute;top:-2px;left:-2px;width:28px;height:28px;background-color:#000;border-radius:50%;z-index:0;transition:left .2s ease}.toggle-switch__text{position:relative;z-index:1}.toggle-switch__text_type_f{color:#fff}.toggle-switch__text_type_c{color:#7e7e7e}.toggle-switch__checkbox:checked~.toggle-switch__slider{left:26px}.toggle-switch__checkbox:checked~.toggle-switch__text_type_f{color:#7e7e7e}.toggle-switch__checkbox:checked~.toggle-switch__text_type_c{color:#fff}.header{display:flex;justify-content:space-between;align-items:center;margin:32px 40px 28px;padding:0;box-sizing:border-box;font-size:20px}.header__left,.header__right{display:flex;align-items:center;gap:20px}.header__right{min-width:0}.header__logo-link{display:flex}.header__logo{width:89px;height:40px;object-fit:contain;padding-bottom:8px}.header__profile-link{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;white-space:nowrap}.header__username{margin:0;white-space:nowrap}.header__add-clothes-btn{display:flex;align-items:center;gap:4px;white-space:nowrap;border:none;padding:0;background:transparent;cursor:pointer;font-family:Cabinet Grotesk,sans-serif;font-weight:700;line-height:40px}.header__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block}.header__avatar-placeholder{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background-color:#fff;color:#000;font-size:20px;text-transform:uppercase}.header__auth-buttons{display:flex;align-items:center;gap:20px}.header__auth-btn{border:none;padding:0;background:transparent;font:inherit;cursor:pointer}.header__auth-btn:hover{opacity:.6}.header__menu-btn{display:none}@media screen and (max-width: 768px){.header{margin:20px 20px 32px;align-items:flex-start}.header__left{flex-direction:column;align-items:flex-start;gap:8px}.header__logo{margin-bottom:32px}.header__right{display:none}.header__menu-btn{display:flex;width:44px;height:44px;border:none;border-radius:10px;background-color:#fff;align-items:center;justify-content:center;font-size:24px;cursor:pointer}}.sidebar{width:229px}.sidebar__profile{display:flex;align-items:center;gap:16px}.sidebar__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.sidebar__avatar-placeholder{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background-color:#fff;font-size:20px;text-transform:uppercase}.sidebar__username{margin:0;font-size:20px;font-weight:700}.sidebar__buttons{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:24px}.sidebar__button{border:none;padding:0;background:transparent;font:inherit;cursor:pointer}.sidebar__button:hover{opacity:.6}.card{position:relative;width:325px;height:328px;box-sizing:border-box;overflow:hidden;border:1px solid #0000004d;border-radius:19px;background-color:#e9e9e9;list-style:none}.card__name{position:absolute;top:15px;left:50%;z-index:1;transform:translate(-50%);margin:0;padding:2px 12px;border-radius:4px;background-color:#fff;font-size:16px;font-weight:700;line-height:20px;white-space:nowrap}.card__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.card__like-button{position:absolute;top:14px;right:14px;z-index:1;border:none;padding:0;background:transparent;color:#0000004d;font-size:24px;line-height:24px;cursor:pointer}.card__like-button_active{color:#000}.card__like-button:hover{opacity:.6}.clothes-section{min-width:0}.clothes-section__header{display:flex;align-items:center;gap:20px}.clothes-section__title{margin:0}.clothes-section__add-button{border:none;padding:0;background:transparent;cursor:pointer;font:inherit;white-space:nowrap}.clothes-section__items{display:grid;grid-template-columns:repeat(3,325px);justify-content:center;gap:20px;margin:16px 0 0;padding:0;list-style:none}@media screen and (max-width: 1439px){.clothes-section__items{grid-template-columns:repeat(2,325px)}}@media screen and (max-width: 950px){.clothes-section__items{grid-template-columns:325px}}.profile{display:grid;grid-template-columns:229px minmax(0,1fr);column-gap:116px;margin:40px}@media screen and (max-width: 1439px){.profile{column-gap:40px}}@media screen and (max-width: 900px){.profile{grid-template-columns:1fr;row-gap:32px;margin:40px}}@media screen and (max-width: 480px){.profile{grid-template-columns:1fr;justify-items:center;margin:20px 10px}}.weather-card{background-color:#00a3ff;border-radius:12px;min-height:80px;margin:28px 0 40px;display:flex;justify-content:space-between;align-items:center}.weather-card__box{display:flex;align-items:center;margin-left:16px;color:#fff;width:69px}.weather-card__temp{font-size:36px;line-height:40px;font-weight:700;margin:0;padding:0}.weather-card__weather{display:flex;align-items:center;gap:12px;margin-right:16px}.weather-card__image{width:80px;height:80px;position:relative;top:15px;left:30px}.weather-card__condition{color:#fff;font-size:20px;margin:0;padding:0;text-transform:capitalize}@media screen and (max-width: 768px){.weather-card{margin:16px 0 32px}}.main__cards{display:grid;grid-template-columns:repeat(auto-fit,325px);gap:20px;padding:0;margin:0;list-style:none;max-width:1440px;justify-content:center}.main__text{font-size:20px;margin:40px 40px 34px}@media screen and (max-width: 768px){.main__text{font-size:20px;margin:40px 40px 34px 0}.page{padding:0 16px}.main__cards{grid-template-columns:repeat(2,1fr);gap:15px}.card{width:100%;height:auto;aspect-ratio:1 / 1}}.footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin:85px 40px 24px}.modal{display:none}.modal_opened{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;align-items:center;justify-content:center;z-index:10}.modal__content{position:relative;background:#fff;padding:28px;border-radius:16px;width:496px;max-width:calc(100% - 40px);max-height:calc(100vh - 40px);box-sizing:border-box;overflow-y:auto}.modal__close{position:absolute;top:20px;right:20px;border:none;background:transparent;cursor:pointer;font-size:20px}.modal__form{display:flex;flex-direction:column;gap:24px}.modal__label{display:flex;flex-direction:column;gap:8px}.modal__input{border:none;border-bottom:1px solid #000;padding:8px 0}.modal__fieldset{border:none;padding:0;margin:0}.modal__radio-label{display:block;margin-top:8px}.modal__submit-btn{width:124px;height:36px;border:none;border-radius:4px;background-color:#000;color:#fff;cursor:pointer}.modal__button-row{display:flex;align-items:center;gap:12px;margin-top:8px}.modal__alternate-btn{border:none;padding:0;background:transparent;font:inherit;cursor:pointer}.modal__alternate-btn:hover,.modal__submit-btn:hover{opacity:.6}.modal__submit-btn:disabled{background-color:#0000004d;cursor:default;opacity:1}.modal__error{margin:-12px 0 0;color:#ff4d00;font-size:12px;line-height:1.2}.modal__radio-label{color:gray}.modal__radio-label:has(input:checked){color:#000}@media screen and (max-width: 560px){.modal__content{padding:24px 20px}}.item-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;align-items:center;justify-content:center;background-color:#0000007f}.item-modal_opened{display:flex}.item-modal__content{position:relative;width:498px;max-width:calc(100% - 40px);overflow:hidden;border-radius:16px;background-color:#fff}.item-modal__close{position:absolute;top:24px;right:24px;z-index:2;border:none;padding:0;background:transparent;font-size:24px;line-height:1;cursor:pointer}.item-modal__image{display:block;width:100%;height:498px;object-fit:cover}.item-modal__footer{padding:20px 32px 32px}.item-modal__title{margin:0 0 12px;font-size:20px;font-weight:700}.item-modal__weather{margin:0;font-size:20px;font-weight:700}.item-modal__footer{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 32px 32px}.item-modal__delete-btn{border:none;padding:0;background:transparent;color:#ff4d00;font:inherit;cursor:pointer}@media screen and (max-width: 560px){.item-modal__content{max-width:calc(100% - 32px)}.item-modal__image{height:auto;aspect-ratio:1 / 1}.item-modal__footer{padding:20px}}.delete-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;align-items:center;justify-content:center;background-color:#0000007f}.delete-modal_opened{display:flex}.delete-modal__content{position:relative;display:flex;flex-direction:column;align-items:center;width:670px;max-width:calc(100% - 40px);box-sizing:border-box;border-radius:20px;padding:60px 40px;background-color:#fff}.delete-modal__close{position:absolute;top:20px;right:28px;border:none;padding:0;background:transparent;font-size:24px;cursor:pointer}.delete-modal__title{max-width:370px;margin:0 0 40px;font-size:20px;line-height:24px;text-align:center}.delete-modal__confirm{margin-bottom:24px;border:none;padding:0;background:transparent;color:#ff4d00;font:inherit;font-weight:700;cursor:pointer}.delete-modal__cancel{border:none;padding:0;background:transparent;color:#000;font:inherit;font-weight:700;cursor:pointer}.page{max-width:1440px;margin:0 auto;padding:0 40px;box-sizing:border-box}/*! 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}body{margin:0;font-family:Cabinet Grotesk,sans-serif;font-weight:700;background-color:#f3f3f3}
