/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.15}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;-webkit-text-decoration:underline dotted;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}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-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}[hidden],template{display:none}
@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(fonts/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(fonts/Inter-Regular.8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(fonts/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(fonts/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(fonts/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(fonts/Inter-Black.c6938660eec019fefd68.woff) format("woff")}
:root{--white:#fff;--black:#000;--gray:#545454;--lightgray:#c4c4c4;--transparent:transparent}
.header{border-bottom:1px solid rgba(84,84,84,.7);padding:45px 0 41px;width:100%}@media screen and (max-width:900px){.header{padding:28px 0 31.6px}}
.header__logo{background-image:url(images/header-logo.bbe2a6eafac19c3d031c.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;height:33px;width:142px}@media screen and (max-width:900px){.header__logo{height:24.4px;margin-left:27px;width:103.74px}}
.page{background-color:var(--black);color:var(--white);font-family:Inter,sans-serif;min-width:320px;text-rendering:optimizeLegibility}
.page__container{display:flex;flex-direction:column;margin:0 auto;max-width:880px;min-height:100vh}
.profile{align-items:center;display:flex;flex-direction:row;gap:30px;padding-top:40px;width:100%}@media screen and (max-width:700px){.profile{flex-direction:column;gap:26px;padding-top:42px}}
.profile__add-pic-btn{background-color:transparent;background-image:url(images/add-pic-btn.d5d6f8af0577b9c95ee4.svg);background-position:50%;background-repeat:no-repeat;background-size:22px;border:2px solid var(--white);border-radius:2px;cursor:pointer;height:50px;padding:0;width:150px}.profile__add-pic-btn:hover{opacity:.6}@media screen and (max-width:700px){.profile__add-pic-btn{background-size:16px;margin-top:36px;width:282px}}.profile__add-pic-btn:focus{outline:none}
.profile__container{align-items:center;display:flex;flex-direction:row;justify-content:space-between;width:100%}@media screen and (max-width:700px){.profile__container{flex-direction:column}}
.profile__container-avatar{border-radius:50%;height:120px;position:relative;width:120px}
@media screen and (max-width:700px){.profile__container-info{display:flex;flex-direction:column;justify-content:center}}
.profile__container-name{align-items:baseline;display:flex;flex-direction:row;gap:18px}@media screen and (max-width:700px){.profile__container-name{align-items:center;gap:10px;max-width:282px}}
.profile__edit-avatar-btn{background-color:transparent;background-image:url(images/profile-avatar-edit-btn.ae1a976ddb506239e9f0.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;border:none;border-radius:50%;cursor:pointer;height:120px;left:0;margin:0;opacity:0;overflow:hidden;padding:0;position:absolute;top:0;width:120px}.profile__edit-avatar-btn:hover{background-color:rgba(0,0,0,.8);opacity:1}
.profile__edit-btn{background-color:transparent;background-image:url(images/Edit-Button.af236f6cf67005f1d7aa.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:24px;width:24px}.profile__edit-btn:hover{opacity:.6}@media screen and (max-width:700px){.profile__edit-btn{height:18px;width:18px}}.profile__edit-btn:focus{outline:none}
.profile__avatar{border-radius:50%;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__about{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:336px;overflow:hidden;padding-top:16px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:700px){.profile__about{align-self:center;font-size:14px;line-height:17px;max-width:282px;padding-top:14px}}
.profile__name{font-size:42px;font-weight:500;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:700px){.profile__name{font-size:27px;line-height:33px;max-width:250px}}
.card{background-color:var(--white);border-radius:10px;display:flex;flex-direction:column;position:relative}
.card__delete-btn{background-color:var(--transparent);background-image:url(images/delete-btn.ce3b64935accf9b8212e.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;cursor:pointer;height:19px;position:absolute;right:20px;top:20px;width:18px}.card__delete-btn:hover{opacity:.5}
.card__img{border-top-left-radius:10px;border-top-right-radius:10px;cursor:pointer;display:block;height:282px;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:282px}
.card__info{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:0 auto;width:246px}
.card__like-container{display:flex;flex-direction:column;gap:3px;height:35px;justify-content:space-between}
.card__like-counter{color:var(--black);font-size:13px;line-height:normal;text-align:center}
.card__like-btn{background-color:var(--transparent);background-image:url(images/like-btn.1ad06e85f169668a1f36.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:19px;width:22px}.card__like-btn:hover{opacity:.5}
.card__like-btn_active{background-image:url(images/like-btn-active.35948469632d0421d697.svg);transition:background-image .1s linear}
.card__name{color:var(--black);font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:190px;overflow:hidden;padding:25px 0 31px;text-overflow:ellipsis;white-space:nowrap}
.cards{display:grid;gap:20px 17px;grid-template-columns:repeat(3,282px);padding:50px 0 60px}@media screen and (max-width:900px){.cards{grid-template-columns:repeat(auto-fit,282px);justify-content:center;padding:36px 0 48px}}
.footer{flex-grow:0;padding-bottom:60px;width:100%}@media screen and (max-width:900px){.footer{font-size:14px;line-height:17px;margin:0 auto;max-width:282px;padding-bottom:36px}}
.footer__copyright{color:var(--gray);font-size:18px;line-height:22px;margin:0}@media screen and (max-width:900px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility .1s,opacity .1s linear;visibility:hidden;z-index:0}
.popup__container{align-items:center;background-color:var(--white);border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15);color:var(--black);display:flex;flex-direction:column;margin:0 auto;position:relative;width:430px}@media screen and (max-width:700px){.popup__container{width:282px}}
.popup__save-btn{background-color:var(--black);border:none;border-radius:2px;color:var(--white);cursor:pointer;display:block;font-size:18px;height:50px;line-height:22px;margin:31px auto 37px;max-width:358px;padding:0;width:100%}.popup__save-btn:hover{opacity:.8}@media screen and (max-width:700px){.popup__save-btn{font-size:14px;height:46px;line-height:17px;margin:45px 0 25px;width:100%}}
.popup__save-btn_type_disabled{background:#f6f6f6;border:1px solid #000;border-radius:2px;color:#000;cursor:default;opacity:.2}.popup__save-btn_type_disabled:hover{opacity:.2}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);border-radius:0;display:block;font-size:14px;line-height:17px;padding:0 0 9px;width:100%}.popup__input::-moz-placeholder{color:var(--lightgray)}.popup__input::placeholder{color:var(--lightgray)}.popup__input:focus{outline:none}
.popup__input_type_error{border-color:red}
.popup__input-container{display:flex;flex-direction:column;gap:5px;min-height:44px}.popup__input-container:first-child{padding-bottom:13px}
.popup__error{color:red;display:block;font-size:12px;font-weight:400;line-height:14.52px;max-width:358px;min-height:30px}
.popup__error_visible{display:block}
.popup__header{font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:358px;padding:34px 0 54px;width:100%}@media screen and (max-width:700px){.popup__header{font-size:18px;line-height:22px;max-width:238px;padding:25px 0 75px}}
.popup__form{width:358px}@media screen and (max-width:700px){.popup__form{width:238px}}
.popup__close-btn{background-color:var(--transparent);background-image:url(images/close-btn.039f1f5203f653b4bacd.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:32px;-o-object-fit:contain;object-fit:contain;position:absolute;right:-40px;top:-40px;width:32px}.popup__close-btn:hover{opacity:.6}@media screen and (max-width:700px){.popup__close-btn{height:20px;right:0;top:-36;width:20px}}
.popup_type_photo{background-color:rgba(0,0,0,.9)}
.popup_opened{opacity:1;visibility:visible}
.content{flex:1}@media screen and (max-width:900px){.content{padding:0 19px}}
.photo-popup{position:relative}
.photo-popup__photo{display:block;max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain}
.photo-popup__header{font-size:12px;font-weight:400;margin:0;padding-top:10px}

