/*! 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{src:url(/web_project_around_react/assets/Inter-Black-BJbWHna9.woff2) format(woff2);font-family:Inter;font-weight:700}@font-face{src:url(/web_project_around_react/assets/Inter-Regular-COLGFB3M.woff2) format(woff2);font-family:Inter;font-weight:400}.page{width:100%;margin:auto;background-color:#000;color:#fff;box-sizing:border-box}.nav{max-width:880px;min-height:74px;margin:0 auto;padding-top:40px;border-bottom:1px solid #545454}.nav__logo{width:173px;height:33px}@media screen and (max-width: 1024px){.nav{max-width:700px}}@media screen and (max-width: 720px){.nav{max-width:320px;min-height:56px;padding-top:28px}.nav__logo{width:126px;height:24px;margin-left:27px}}ul{list-style:none;margin:0;padding:0}.elements{max-width:880px;min-height:743px;padding-top:50px;display:grid;grid-template-columns:repeat(3,282px);grid-template-rows:repeat(2,361px);gap:17px;margin:auto}.elements__card{display:flex;position:relative;flex-wrap:wrap;justify-content:center;background-color:#fff;color:#000;border-radius:15px}.elements__image{width:282px;height:282px;border-radius:15px 15px 0 0}.elements__description{display:flex;align-items:center;justify-content:space-between;width:246px;height:23px}.elements__text{font-family:Inter;font-weight:900;font-size:24px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.elements__like-button{width:21px;height:19px;cursor:pointer}.elements__like-button:hover{opacity:.6}.elements__delete-button{position:absolute;right:10px;top:10px;width:18px;height:19.3px;cursor:pointer;z-index:1}.elements__delete-button:hover{opacity:.6}@media screen and (max-width: 1024px){.elements{max-width:581px;min-height:743px;grid-template-columns:repeat(2,282px);grid-template-rows:repeat(3,361px);margin:auto}}@media screen and (max-width: 720px){.elements{max-width:282px;min-height:743px;padding-top:50px;display:grid;grid-template-columns:282px;grid-template-rows:repeat(6,361px)}}.profile{display:flex;width:880px;height:120px;padding-top:29px;margin:auto}.profile__photo{width:120px;height:120px;border-radius:100px}.profile__info{display:grid;grid-template-columns:auto auto;grid-template-areas:"name button" "description .";margin:auto 30px;width:415px;height:77px;align-items:end;column-gap:15px}.profile__name{grid-area:name;align-items:center;margin:0;width:373px;font-family:Inter;font-weight:500;font-size:42px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile__about{grid-area:description;margin:0;width:373px;padding-top:16px;font-family:Inter;font-weight:400;font-size:18px;letter-spacing:0%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile__edit-button{grid-area:button;width:24px;height:24px;border:1px solid #ffffff;display:flex;align-items:center;justify-content:center;background-color:transparent;cursor:pointer;margin-bottom:7px}.profile__edit-button:hover{opacity:.6}.profile__add-button{display:flex;align-items:center;justify-content:center;margin:auto 0 auto auto;width:150px;height:50px;border:1px solid #ffffff;background-color:transparent;cursor:pointer}.profile__add-button:hover{opacity:.6}.profile__add-button-image{width:22px;height:22px}.profile__edit-button-image{width:10px;height:10px}.profile__photo-container{position:relative;display:inline-block}.profile__photo-edit-btn{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background:#000c;border:none;align-items:center;justify-content:center;cursor:pointer;z-index:2}.profile__photo-edit-icon{width:26px;height:26px}.profile__photo-container:hover .profile__photo-edit-btn{display:flex}@media screen and (max-width: 1024px){.profile{width:700px;height:120px;padding:29px 0;margin:auto}.profile__photo{width:100px;height:100px;margin:auto}.profile__info{display:grid;grid-template-columns:320px auto;grid-template-areas:"name button" "description .";margin:auto 25px;width:350px;height:77px}.profile__name{width:330px;font-size:36px}.profile__about{width:373px}}@media screen and (max-width: 720px){.profile{flex-wrap:wrap;width:282px;height:286px;padding-top:42px;justify-content:center}.profile__info{display:flex;flex-wrap:wrap;margin:auto 0;justify-content:center;align-items:center}.profile__name{width:196px;height:22px;font-size:22px}.profile__about{width:282px;height:14px;font-size:14px;text-align:center}.profile__edit-button{display:flex;width:18px;height:18px;border:1px solid #ffffff;align-items:center;justify-content:center;background-color:transparent;cursor:pointer;margin-top:7px;margin-bottom:0}.profile__edit-button-image{width:7.5px;height:7.5px}.profile__add-button{margin:36px 0 0;width:282px}.profile__add-button-image{width:16px;height:16px}}.popup{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#00000080;position:fixed;inset:0;z-index:2}.popup.popup_opened{display:flex}.popup__container{position:relative;background-color:#fff;width:430px;height:330px;border-radius:10px;justify-content:center}.confirm-popup__container{position:relative;background-color:#fff;width:430px;height:181px;border-radius:10px;justify-content:center}.avatar-popup__container{position:relative;background-color:#fff;width:430px;height:272px;border-radius:10px;justify-content:center}.edit-popup__close-button,.add-popup__close-button,.image-popup__close-button,.confirm-popup__close-button,.avatar-popup__close-button{position:absolute;background-color:transparent;border:none;cursor:pointer}.edit-popup__close-button,.add-popup__close-button{top:-45px;left:432px}.image-popup__close-button{top:-40px;right:-40px}.confirm-popup__close-button,.avatar-popup__close-button{top:-45px;left:432px}.popup__close-button:hover{opacity:.6}.popup__close-icon{width:40px;height:40px}.popup__container-title{color:#000;margin-left:40px;padding-top:20px;width:330px;height:23px;font-family:Inter;font-weight:900;font-size:24px;line-height:100%;letter-spacing:0%}.popup__form-fieldset{display:flex;flex-direction:column;justify-self:center;width:330px;margin:0;gap:30px;padding-top:30px;border:none}.popup__input{width:358px;height:27.26px;border:none;border-bottom:1px solid #545454;font-family:Inter;font-weight:400;font-size:14px;line-height:100%;letter-spacing:0%}.popup__save-button,.popup__create-button,.popup__confirm-button{display:flex;align-items:center;justify-content:center;width:358px;height:50.15px;background-color:#000;color:#fff;margin:auto;font-family:Inter;font-weight:400;font-size:18px;cursor:pointer}.popup__save-button:disabled,.popup__create-button:disabled,.popup__confirm-button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.6}.popup__save-button:hover{opacity:.8}.popup__input-error{display:block;height:18px;margin-top:4px;font-size:12px;color:red;font-family:Inter}.popup__save-button:disabled{background-color:#ccc;opacity:.5;cursor:default}.image-popup__container{position:relative;max-width:75vw;max-height:75vh;border-radius:10px;justify-content:center;padding:0}.image-popup__image{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:8px;object-fit:contain}.image-popup__place{margin-top:10px;font-family:Inter;font-size:12px}@media screen and (max-width: 720px){.popup__close-icon{width:26px;height:26px}.edit-popup__close-button,.add-popup__close-button{top:-30px;left:280px}.popup__opened{display:flex}.popup__container{width:282px;height:322px}.popup__container-title{width:238px;height:22px;font-size:18px}.popup__form-fieldset{width:238px;margin:10px auto 20px}.popup__input{width:238px;height:26px}.popup__save-button,.popup__create-button{width:238px;height:46px;font-size:14px}}.footer{display:flex;margin:auto;max-width:880px;padding:50px 0}.footer__copyright{width:318px;height:18px;font-family:Inter;font-weight:400;font-size:18px;color:#545454}@media screen and (max-width: 1024px){.footer{width:581px;padding:50px 0}}@media screen and (max-width: 720px){.footer{width:282px;height:14px;padding:50px 0;font-size:14px}}
