/*! 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(/assets/InterDisplay-Regular-CHKdHLF4.woff2) format("woff2");font-family:Inter-regular;font-style:normal;font-weight:400}@font-face{src:url(/assets/InterDisplay-Black--Thh5XZM.woff2) format("woff2");font-family:Inter-black;font-style:normal;font-weight:900}@font-face{src:url(/assets/InterDisplay-Medium-CYGNL_ty.woff2) format("woff2");font-family:Inter-regular;font-style:normal;font-weight:500}.content{max-width:100%}.footer{font-family:Inter-regular;font-weight:400;font-size:18px;line-height:1;color:#545454;margin-left:auto;margin-top:0;margin-bottom:60px}@media screen and (min-width: 320px) and (max-width: 767px){.footer{max-width:282px;font-size:14px}}@media screen and (min-width: 768px) and (max-width: 1024px){.footer{max-width:282px;margin:0 auto 47px 0}}.gallery{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:20px;width:880px;margin:0 auto 67px}.gallery__img{width:282px;height:282px;border-top-right-radius:10px;border-top-left-radius:10px}.gallery__popup{flex-direction:column;position:fixed;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);display:none}.gallery__popup.open{display:flex}.gallery__popup-img{max-width:75vw;max-height:75vh}.gallery__popup-button{width:40px;height:40px;position:absolute;top:-40px;right:-50px;background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADiSURBVHgBtZfRDYMwDAWtTsDGZZN6I0Z6JYK0IQrBTvxO4gci7oRQwCInAJb9eAuZ3bEmV30yyTccfIREuvfp2H4RlRysiEKOS0R67GgTFtGQZ9a8QFkRHbnWC8MjzHJGhFseGTEsj4iYls9EhMlHIsLlngia3BJBlxsi+HJnhAqThwgVJy/xg8Fr83ReuBLO/4RRzonoyBXET/mjvFjDiYBjkwmPwMAOFxaBie11OgIBe/twBAI/LO6ISLk7giE3R+CY1ShyQ8R6N5qpBNOIuJ0PVUgUEX95cXFBntWIoBrPv0h1uJ6FYJ0SAAAAAElFTkSuQmCC);background-repeat:no-repeat;border:none}.gallery__card{background-color:#fff;display:flex;flex-direction:column;height:361px;margin:0;border-radius:10px;position:relative}.gallery__card-description{display:flex;flex-direction:row;height:30px;width:246px;margin:25px auto 30px 20px}.gallery__card-text{font-family:Inter-black;font-weight:900;font-size:24px;line-height:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0;margin:0;width:222px}.gallery__card-button{width:21px;height:19px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAATCAYAAAB/TkaLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADySURBVHgBrZSNDYIwEIWfTsAINwIbiCM4AYzgBrqBbECdhBFwA0fQDfCOXgOSlp/CS15K2tevl5YW6EXsB/vNbrWttB+e3CeUO2ibsmv9frK/GjqxE/aZ/WLn7DKQE10013XKao0CxlU1WlWhldUzuW6sUijBr0QntIGFh2CB3qHBCtMSkEEY6FRqgV0FBfZRIbwj7GbPVbBUJDw5fXfqZ2yXYyGD3YIrtumG0VYa7cgRp1znl+MBEwl2QBMKuB84xU5AUbICnKG/ELNaAk51fOqGrQJHAZ0I9soN34VNQB848ywSLcL/w03YSQR7BWlJ+Adbo0+ws1qdMgAAAABJRU5ErkJggg==);background-color:#fff;background-repeat:no-repeat;background-size:contain;border:none;align-self:center}.gallery__card-button:hover{opacity:.5;cursor:pointer}.gallery__card-button_active{width:21px;height:19px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAATCAYAAAB/TkaLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACnSURBVHgBrZQBDYAgEEW/JjCCEYxgE41iA22gTYyADS6CNlBwx2ROFOHe9qeDvwdjDOCi1Ol1SGfn78jjeOitHz1UTumelecNzUuPnN65AnmKrrj96NheAd76LpjOSJWwlDL+ESXX2SDLZqQLZDl9NWTPtLX2SUg43LedKp7gIfZ6eYWGIkKsEMAfseJ+ECHiX0JLCf9DEyV8ExMe3s4UsYjQFc8IFB6xgsp/buxJeAAAAABJRU5ErkJggg==);background-color:transparent;background-repeat:no-repeat;background-size:contain;border:none;align-self:center;opacity:1}.gallery__card-trash-button{width:18px;height:19px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAUCAYAAACAl21KAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC6SURBVHgBrZQBEYMwDEV/dhMwCUiYgyFhEuZgliYBB2MOkBAHMAVduqNH6AXumvLu2gtteIRCC2wQQrhLG8Oadiv/PN/UGHM3aZds7Cm5nCcSEZNMvCVuUUcfRaPx5FL+FTUSPFBHR7EX2RX+qiZZowGz6BX8dNFxSlb4YS1i+Jm06LCKDhMN8LN6tRo4dpSu4neEA/mHKK+IUQ6nQIs8C86WiFGBFn1RDluiHuV8UkB6dO8oNVh2vfADmHGLn/t8X7gAAAAASUVORK5CYII=);background-color:transparent;background-repeat:no-repeat;background-size:contain;border:none;position:absolute;top:18px;right:15px}.gallery__card-trash-button:hover{opacity:.6;cursor:pointer}@media screen and (min-width: 768px) and (max-width: 1024px){.gallery{width:750px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr);margin:30px 0 47px;justify-items:center}}.gallery__card{width:282px}@media screen and (min-width: 320px) and (max-width: 767px){.gallery{max-width:282px;display:flex;flex-direction:column}.gallery__popup-button{width:26px;height:26px;background-size:contain;right:-30px;top:-30px}}.header{max-width:880px;width:100%;margin:45px auto 0;padding-bottom:41px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(84,84,84,.7);box-sizing:border-box}.header__image{width:173px;height:33px}.header__link{color:#fff;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:22px;font-weight:400;text-decoration:none;transition:opacity .3s ease;border:none}.header__link:hover{opacity:.6}.header__container{display:flex;align-items:center;gap:24px}.header__email{margin:0;color:#fff;font-family:Inter,Arial,sans-serif;font-size:18px;line-height:22px}.header__logout{border:none;background:transparent;color:#a9a9a9;font-family:Inter,Arial,sans-serif;font-size:18px;line-height:22px;cursor:pointer;transition:opacity .3s ease}.header__logout:hover{opacity:.6}@media screen and (max-width: 620px){.header{margin-top:28px;padding:0 27px 32px}.header__image{width:126px;height:24px}.header__link,.header__email,.header__logout{font-size:14px;line-height:17px}.header__container{gap:12px}}.page{background-color:#000;width:100%;display:flex;flex-direction:column;align-items:center}.popup{position:fixed;top:0;left:0;width:100%;height:100vh;display:none;justify-content:center;align-items:center;background-color:#00000080;z-index:10}.popup_opened{display:flex}.popup__container{background-color:#fff;width:430px;min-height:330px;border-radius:10px;position:relative;display:flex;flex-direction:column;box-sizing:border-box}.popup__edit,.popup__add{background-color:#fff;width:430px;height:330px;border-radius:10px;position:relative;display:flex;flex-direction:column}.popup__avatar{background-color:#fff;width:430px;height:272px;border-radius:10px;position:relative;display:flex;flex-direction:column}.popup__delete{background-color:#fff;width:430px;height:181px;border-radius:10px;position:relative;display:flex;flex-direction:column}.popup__close{width:40px;height:40px;position:absolute;top:-45px;right:-45px;border:none;background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADiSURBVHgBtZfRDYMwDAWtTsDGZZN6I0Z6JYK0IQrBTvxO4gci7oRQwCInAJb9eAuZ3bEmV30yyTccfIREuvfp2H4RlRysiEKOS0R67GgTFtGQZ9a8QFkRHbnWC8MjzHJGhFseGTEsj4iYls9EhMlHIsLlngia3BJBlxsi+HJnhAqThwgVJy/xg8Fr83ReuBLO/4RRzonoyBXET/mjvFjDiYBjkwmPwMAOFxaBie11OgIBe/twBAI/LO6ISLk7giE3R+CY1ShyQ8R6N5qpBNOIuJ0PVUgUEX95cXFBntWIoBrPv0h1uJ6FYJ0SAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:contain;cursor:pointer}.popup__close:hover{opacity:.6}.popup__title{font-family:Inter-black;font-weight:900;font-size:24px;line-height:1;width:330px;margin:34px 36px 54px}.popup__form,.popup__form-add{display:flex;flex-direction:column;width:358px;margin:0 auto}.popup__form-input,.popup__form-input-name,.popup__form-input-about,.popup__form-input-place,.popup__form-input-url{border:none;border-bottom:1px solid #c4c4c4;height:27px;margin-bottom:30px;font-family:Inter-regular;font-weight:400;font-size:14px;line-height:1;width:100%}.popup__form-input-error{color:red;border:none;border-top:1px solid #ff0000;height:27px;font-family:Inter-regular;font-weight:400;font-size:14px;line-height:1;margin-top:-30px;display:flex;visibility:hidden}.popup__form-input-error_active{visibility:visible}.popup__button-save,.popup__button-create{width:358px;height:50px;background-color:#fff;color:#c4c4c4;font-family:Inter-regular;font-weight:400;font-size:18px;line-height:1;border:1px solid #c4c4c4;margin-top:18px;cursor:pointer}.popup__button-delete{width:358px;height:50px;background-color:#000;color:#fff;font-family:Inter-regular;font-weight:400;font-size:18px;line-height:1;border:none;margin:0 auto 36px;cursor:pointer}.popup__button-save:hover,.popup__button-create:hover,.popup__button-delete:hover{opacity:.8}.popup__tooltip{width:430px;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff;border-radius:10px;position:relative;box-sizing:border-box}.popup__tooltip-image{width:120px;height:120px;margin-bottom:32px}.popup__tooltip-title{max-width:358px;margin:0;color:#000;font-family:Inter,Arial,sans-serif;font-size:24px;line-height:29px;font-weight:900;text-align:center}@media screen and (min-width: 768px) and (max-width: 1024px){.popup__close{top:-45px;right:-45px}}@media screen and (min-width: 320px) and (max-width: 767px){.popup__edit,.popup__add,.popup__container,.popup__tooltip{width:282px;min-height:322px}.popup__avatar{width:282px;min-height:272px}.popup__delete{width:282px;min-height:181px}.popup__title{width:238px;font-size:18px;margin:25px 22px 60px}.popup__form,.popup__form-add,.popup__form-input,.popup__form-input-name,.popup__form-input-about,.popup__form-input-place,.popup__form-input-url,.popup__form-input-error{width:238px}.popup__button-save,.popup__button-create,.popup__button-delete{width:238px;font-size:14px}.popup__close{width:26px;height:26px;top:-35px;right:0}.popup__tooltip{padding:40px 20px}.popup__tooltip-title{font-size:20px;line-height:24px}}.profile{display:flex;width:880px;height:120px;margin:0 auto 50px}.profile__photo-container{position:relative;width:120px;height:120px;border-radius:50%;overflow:hidden;cursor:pointer}.profile__photo{width:100%;height:100%;object-fit:cover;display:block}.profile__photo-overlay{position:absolute;inset:0;background-color:#0009;opacity:0;display:flex;align-items:center;justify-content:center;transition:opacity .3s;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB9SURBVHgB7dbBCYAwDAXQ4ASO4CiO4AgdwQ10BDfqKBklpjRCKIiXfLzkQyi95PHppUSAiMiiU9tJqBjC0sMQbEAEgr0gTypF5AOJaZRIIokkksifiEEFjjjsRDY5/DKHxTaxhTxgezSyQt/CMuls7j7rFEJE+kfvas0ImBsR7skYWCY75QAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.profile__photo-container:hover .profile__photo-overlay{opacity:1}.profile__photo-edit-icon{width:26px;height:26px;pointer-events:none}.profile__avatar-button{background-color:transparent;border:none;width:120px;height:120px;cursor:pointer}.profile__info{display:flex;flex-direction:row;flex-wrap:wrap;margin:20px 0 0 30px;height:77px;width:415px}.profile__info-name{color:#fff;font-family:Inter-regular;font-weight:500;font-size:42px;line-height:1.1;margin:0}.profile__info-edit-button{height:24px;width:24px;background-color:#000;color:#fff;border:2px solid #FFFFFF;margin:15px 19px 0 18px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABBSURBVHgB1cpBDQAgDEPRSUACEpCGA3A2CUgqXdgVtitNfnp5Io8BKExZi9DCmWaQffkCORwZ1Fll84ocqmEJtgEKMZN8lvdMKgAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.profile__info-edit-button:hover{opacity:.6}.profile__info-details{font-family:Inter-regular;font-weight:400;font-size:18px;line-height:1;color:#fff;margin:16px 0 auto}.profile__info-add-button{width:150px;height:50px;background-color:#000;border:2px solid #FFFFFF;margin:30px 0 0 165px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABYSURBVHgB7ZTBCQAhDARzx/VzlqAlWYmt2dGah6A/F1E/ZmAhj+w8RCJCAMCj4ZnOK5swsYkPij/yw//d7LQzLDxgtibY9xSaQOw5Tapz1GRZgR0hE98qLoUTKea0/ImAAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:center}.profile__info-add-button:hover{opacity:.6;cursor:pointer}@media screen and (min-width: 320px) and (max-width: 767px){.profile{width:282px;height:286px;margin:0 auto 36px;flex-direction:column}.profile__photo{align-self:center}.profile__info{margin:20px 0 36px;max-width:282px}.profile__info-name{font-size:22px;width:196px;height:22px;margin:0 20px 0 40px}.profile__info-edit-button{height:18px;width:18px;margin:0;padding:0;align-self:center}.profile__info-details{margin-top:14px;font-size:14px;width:282px;text-align:center}.profile__info-add-button{width:100%;max-width:282px;margin:0 auto}}@media screen and (min-width: 768px) and (max-width: 1024px){.profile{width:100%;max-width:720px;margin:0 auto}.profile__info{margin:20px 0 26px;width:350px}.profile__info-name{font-size:22px;width:196px;height:22px;margin:0 20px 0 40px}.profile__info-edit-button{height:18px;width:18px;margin:0;padding:0}.profile__info-details{margin-top:14px;font-size:14px;width:282px;margin-left:42px}.profile__info-add-button{width:100%;max-width:150px;margin:25px 0 0 105px}}.auth{width:358px;margin:60px auto 0;display:flex;flex-direction:column;align-items:center;color:#fff}.auth__title{margin:0 0 50px;font-family:Inter,Arial,sans-serif;font-size:24px;line-height:29px;font-weight:900;text-align:center}.auth__form{width:100%;display:flex;flex-direction:column}.auth__input{width:100%;height:27px;margin-bottom:30px;padding:0 0 9px;border:none;border-bottom:2px solid #cccccc;background:transparent;color:#fff;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:17px;font-weight:400;box-sizing:border-box;outline:none}.auth__input::placeholder{color:#ccc}.auth__submit{width:100%;height:50px;margin-top:186px;border:none;border-radius:2px;background-color:#fff;color:#000;font-family:Inter,Arial,sans-serif;font-size:18px;line-height:22px;font-weight:400;cursor:pointer;transition:opacity .3s ease}.auth__submit:hover{opacity:.85}.auth__link{margin-top:15px;margin-bottom:35px;color:#fff;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:17px;font-weight:400;text-decoration:none;transition:opacity .3s ease}.auth__link:hover{opacity:.6}@media screen and (max-width: 620px){.auth{width:260px;margin-top:40px}.auth__title{margin-bottom:40px;font-size:20px;line-height:24px}.auth__submit{margin-top:143px;font-size:16px;line-height:19px}}
