.page{min-height:100vh;background-color:#f3f3f3}.header{display:flex;align-items:center;width:calc(100% - 38px);max-width:1440px;min-height:54px;margin:0 auto;padding:10px 0;gap:20px}.header__left{display:flex;min-width:0;align-items:center;gap:24px}.header__logo{display:block;width:76px;height:auto}.header__date-and-location{margin:0;font-size:16px;font-weight:700;line-height:20px;color:#000}.header__right{display:flex;flex:0 0 auto;align-items:center;gap:16px;margin-left:auto}.header__user-container{display:flex;align-items:center;gap:10px}.header__username{margin:0;color:#000;font-size:16px;font-weight:700;line-height:20px;white-space:nowrap}.header__user-avatar,.header__user-placeholder{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid #d0d0d0;border-radius:50%}.header__user-avatar{object-fit:cover}.header__user-placeholder{background-color:#d9d9d9;color:#000;font-size:16px;font-weight:700;line-height:1}.header__action{padding:0;border:0;background:transparent;color:#000;font-size:16px;font-weight:700;line-height:20px;cursor:pointer;white-space:nowrap}.header__action:hover,.header__nav-link:hover{opacity:.6}.header__nav-link{text-decoration:none;color:#000}@media screen and (max-width: 720px){.header{width:calc(100% - 32px);min-height:64px;gap:16px}.header__left{gap:16px}.header__right{gap:12px}}@media screen and (max-width: 540px){.header{flex-wrap:wrap;padding:12px 0}.header__date-and-location{display:none}.header__logo{width:70px}.header__action{font-size:14px}.header__right{gap:10px}.header__username{display:none}}.toggle-switch{display:inline-block;position:relative;width:48px;height:24px;flex:0 0 48px;border:2px solid #888;border-radius:999px;background-color:#fff;cursor:pointer;overflow:hidden;box-sizing:border-box}.toggle-switch__checkbox{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.toggle-switch__circle{position:absolute;top:0;left:0;z-index:3;width:20px;height:20px;border-radius:100%;background-color:#000;transition:left .2s ease}.toggle-switch__text{position:absolute;top:1px;z-index:4;color:#777;font-size:12px;font-weight:400;line-height:18px;pointer-events:none}.toggle-switch__text_F{left:6px}.toggle-switch__text_C{right:6px}.toggle-switch__checkbox:checked~.toggle-switch__circle{left:24px}.toggle-switch__checkbox:not(:checked)~.toggle-switch__text_F{color:#fff}.toggle-switch__checkbox:checked~.toggle-switch__text_C{color:#fff}.toggle-switch__checkbox:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}main{width:90%;margin:0 auto}.cards{margin-top:40px}.cards__text{margin:0 0 34px;color:#000;font-size:20px;font-weight:700;line-height:24px}.cards__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;gap:20px}@media screen and (max-width: 900px){.cards__list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (max-width: 680px){.cards__list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width: 540px){main{width:calc(100% - 32px)}.cards{margin-top:32px}.cards__text{margin-bottom:24px;font-size:16px;line-height:20px}.cards__list{gap:16px}}@media screen and (max-width: 360px){.cards__list{grid-template-columns:1fr}}.weather-card{position:relative;display:flex;width:100%;height:80px;border-radius:12px;overflow:hidden;background-color:#00a3ff}.weather-card__temp{z-index:1;font-size:36px;font-weight:700;line-height:40px;margin:0;position:absolute;top:20px;left:16px;color:#fff}.weather-card__image{object-fit:cover;object-position:right top;width:100%;height:100%}.card{display:flex;justify-content:center;width:100%;aspect-ratio:323 / 326;position:relative;overflow:hidden;border-radius:20px;background-color:#f3f3f3}.card__header{position:absolute;z-index:1;top:15px;left:50%;display:flex;align-items:center;gap:5px;transform:translate(-50%)}.card__name{margin:0;padding:2px 8px;border-radius:4px;background-color:#fff;color:#666;font-size:12px;font-weight:400;line-height:16px;white-space:nowrap}.card__image{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}.card__like-button{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;padding:0;border:0;background:transparent;color:#666;font-family:Arial,Helvetica,sans-serif;font-size:23px;line-height:1;cursor:pointer;transition:color .15s ease,transform .15s ease}.card__like-button:hover{color:#e34747;transform:scale(1.12)}.card__like-button_active{color:#e34747}.card__like-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.footer{display:flex;justify-content:space-between;width:90%;margin:40px auto 24px;color:#00000080;font-size:16px;font-weight:400;line-height:20px}.footer__text,.footer__copyright{margin:0}@media screen and (max-width: 540px){.footer{width:calc(100% - 32px);margin:32px auto 20px;font-size:14px;line-height:18px}}.modal__content_type_image{display:flex;gap:26px;max-width:610px;padding:0;overflow:hidden}.modal__content_type_image .modal__close{top:24px;right:24px;z-index:1}.modal__content_type_image .modal__close:before,.modal__content_type_image .modal__close:after{background-color:#fff;box-shadow:0 1px 2px #00000059}.modal__image{display:block;width:295px;height:295px;flex:0 0 295px;border-radius:12px;object-fit:cover}.modal__footer{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 18px 12px 0}.modal__text-block{display:flex;flex:1;flex-direction:column;gap:12px}.modal__caption,.modal__weather{margin:0;color:#000;font-size:20px;font-weight:700;line-height:24px}.modal__weather{font-weight:700}.modal__delete{border:none;background:transparent;color:#ff4d4d;font-size:20px;font-weight:700;line-height:24px;cursor:pointer}.modal__delete:hover{opacity:.8}@media screen and (max-width: 540px){.modal__content_type_image{flex-direction:column;gap:0;margin-top:16px;padding:16px}.modal__content_type_image .modal__close{top:20px;right:20px}.modal__image{width:100%;height:auto;aspect-ratio:1;flex-basis:auto}.modal__footer{min-height:120px;padding:20px 0 12px}}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:20px;background-color:#00000080;visibility:hidden}.modal_opened{visibility:visible}.modal__content{position:relative;width:100%;max-width:670px;padding:28px 28px 36px;background-color:#fff;border-radius:20px}.modal__title{margin:0;color:#000;font-size:16px;font-weight:700;line-height:20px}.modal__close{position:absolute;top:20px;right:28px;width:16px;height:16px;padding:0;border:0;background:transparent;color:transparent;cursor:pointer}.modal__close:before,.modal__close:after{position:absolute;top:7px;left:0;width:16px;height:2px;background-color:#000;content:""}.modal__close:before{transform:rotate(45deg)}.modal__close:after{transform:rotate(-45deg)}.modal__form{display:flex;flex-direction:column;margin-top:24px}.modal__label{display:flex;flex-direction:column;gap:8px;margin-bottom:24px;color:#000;font-size:16px;font-weight:400;line-height:20px}.modal__input{width:100%;padding:0 0 4px;border:0;border-bottom:1px solid #000;outline:0;color:#000;font:inherit;line-height:20px}.modal__input::placeholder{color:#000;opacity:.5}.modal__radio-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0 0 32px;padding:0;border:0}.modal__legend{margin:0 0 12px;padding:0;color:#000;font-size:16px;font-weight:700;line-height:20px}.modal__label_type_radio{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;color:#00000080;cursor:pointer}.modal__radio-input{width:16px;height:16px;margin:0;accent-color:#000}.modal__label_type_radio:has(.modal__radio-input:checked){color:#000}.modal__submit{align-self:flex-start;min-width:124px;min-height:36px;padding:0 16px;border:0;border-radius:4px;background-color:#000;color:#fff;font:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__form-actions{display:flex;align-items:center;gap:12px}.modal__form-actions .modal__submit{min-width:0}.modal__auth-switch{padding:0;border:0;background:transparent;color:#00000080;font:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__auth-switch:hover{opacity:.6}.modal__submit:hover,.modal__close:hover{opacity:.8}.modal__submit:disabled{background-color:#bcbcbc;cursor:default}.modal__input:focus-visible,.modal__submit:focus-visible,.modal__auth-switch:focus-visible,.modal__close:focus-visible,.modal__radio-input:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}@media screen and (max-width: 540px){.modal{align-items:flex-start;padding:16px}.modal__content{margin-top:16px;padding:24px 20px 32px}.modal__close{top:18px;right:20px}}.Sidebar__profile{display:flex;gap:8px;align-items:center}.Sidebar__avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;object-fit:cover}.Sidebar__user-name{margin:0;font-size:12px;font-weight:700;line-height:16px;color:#000}.Sidebar__edit-button{margin-top:12px;padding:0;border:0;background:transparent;color:#000;font:inherit;font-size:12px;line-height:16px;text-align:left;cursor:pointer}.Sidebar__edit-button:hover{opacity:.7}.Sidebar__edit-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.Sidebar__logout-button{display:block;margin-top:4px;padding:0;border:0;background:transparent;color:#000;font:inherit;font-size:12px;line-height:16px;text-align:left;cursor:pointer}.Sidebar__logout-button:hover{opacity:.7}.Sidebar__logout-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.clothes-section{flex-grow:1}.clothes-section__row{display:flex;align-items:center;gap:12px;margin-bottom:5px}.clothes-section__title{margin:0;font-size:12px;font-weight:700;line-height:20px;color:#000}.clothes-section__button{border:0;background:transparent;padding:0;font-size:12px;line-height:20px;color:#0009;cursor:pointer;transition:opacity .2s ease}.clothes-section__button:hover{opacity:.8}.clothes-section__list{list-style:none;padding:0;margin:0;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.clothes-section__list>*{width:100%}@media screen and (max-width: 680px){.clothes-section__list{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width: 420px){.clothes-section__list{grid-template-columns:1fr}}.profile{display:flex;width:calc(100% - 38px);max-width:1440px;margin:10px auto 0;align-items:flex-start;gap:16px}.profile .Sidebar{flex:0 0 176px}.profile .clothes-section{min-width:0;padding-top:8px}.profile .clothes-section__list{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.profile .card{border:1px solid #c5c5c5;border-radius:13px;background-color:#e9e9e9}.profile .card__header{top:8px}.profile .card__name{padding:1px 8px;font-size:10px;font-weight:400;line-height:14px}@media screen and (max-width: 900px){.profile{gap:16px}.profile .Sidebar{flex-basis:176px}}@media screen and (max-width: 680px){.profile{width:calc(100% - 32px);flex-direction:column;gap:20px;margin-top:20px}.profile .Sidebar,.profile .clothes-section{width:100%}.profile .Sidebar{flex-basis:auto}.profile .clothes-section__list{grid-template-columns:repeat(2,minmax(0,1fr))}.profile .clothes-section{padding-top:0}}@media screen and (max-width: 420px){.profile .clothes-section__list{grid-template-columns:1fr}}/*! 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;-moz-appearance:button;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;-moz-appearance:textfield;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:Arial,Helvetica,sans-serif}*{box-sizing:border-box}
