/*! 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(c8ba52b05a9ef10f4758.woff2) format("woff2"),url(8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}
.page{background:#000;box-sizing:border-box;color:#fff;font-family:Inter,Arial,sans-serif;padding:45px 0 60px}@media screen and (max-width:680px){.page{padding:28px 0 36px}}
.page__header{margin:0 auto;max-width:880px}

@media screen and (max-width:680px){.page__logo_mobile{margin-left:27px}}
.page__footer{margin:66px auto 0;max-width:880px}@media screen and (max-width:680px){.page__footer{margin-top:48px;padding:0 19px}}
.page__section{box-sizing:border-box;margin:0 auto;max-width:880px;min-width:320px}@media screen and (max-width:680px){.page__section{padding:0 19px;width:100%}}
.page__section_top{margin-top:40px}@media screen and (max-width:680px){.page__section_top{margin-top:42px}}
.page__section_cards{margin-top:50px}@media screen and (max-width:680px){.page__section_cards{margin-top:36px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);min-height:74px}@media screen and (max-width:680px){.header{min-height:56px}}
.logo{background:url(03b78ada3425e9132ff3.svg) 50%/100%;height:33px;width:142px}@media screen and (max-width:680px){.logo{height:24px;width:103px}}
.top{display:flex;justify-content:space-between}@media screen and (max-width:680px){.top{flex-direction:column}}
.profile{display:flex;width:100%}@media screen and (max-width:680px){.profile{align-items:center;flex-direction:column;width:100%}}
.profile__avatar{border-radius:50%;flex-shrink:0;height:120px;-o-object-fit:cover;object-fit:cover;width:120px}
.profile__avatar-edit-button{background:none;border:none;border-radius:50%;height:120px;padding:0;position:relative;width:120px}.profile__avatar-edit-button:hover{cursor:pointer}.profile__avatar-edit-button:hover:after{background:rgba(0,0,0,.8) url(a086f758840ae814ecde.svg) no-repeat 50%;content:"";height:120px;left:0;position:absolute;top:0;width:120px}
.profile__info{align-items:baseline;align-self:center;display:flex;flex-wrap:wrap;padding-left:30px;width:336px}@media screen and (max-width:680px){.profile__info{justify-content:center;padding-bottom:33px;padding-left:0;padding-top:26px}}
.profile__title{font-size:42px;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;padding-right:18px;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:680px){.profile__title{font-size:27px;line-height:33px;max-width:189px;padding-right:10px}}
.profile__subtitle{font-size:18px;font-weight:400;line-height:22px;margin:0;max-width:336px;overflow:hidden;padding-top:8px;text-overflow:ellipsis;white-space:nowrap;width:100%}@media screen and (max-width:680px){.profile__subtitle{font-size:14px;line-height:17px;max-width:282px;padding-top:8px;text-align:center}}
.profile__edit-button{background:#000 url(a1892ea72cb87c8fc3aa.svg) 50%/100%;border:none;height:24px;vertical-align:middle;width:24px}.profile__edit-button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:680px){.profile__edit-button{height:18px;width:18px}}
.profile__add-button{align-self:center;background:#000 url(6f41966c71dd7895857f.svg);border:none;height:50px;margin-left:auto;width:150px}.profile__add-button:hover{cursor:pointer;opacity:.6}.profile__add-button:focus{outline:none}@media screen and (max-width:680px){.profile__add-button{background:#000 url(6f86ece55e54220c5485.svg) 50% no-repeat;width:100%}}
.cards{-moz-column-gap:17px;column-gap:17px;display:grid;grid-template-columns:repeat(auto-fit,minmax(282px,1fr));row-gap:20px}
.card{position:relative;width:100%}
.card__delete{background-color:transparent;background-image:url(cbc09a894bdd4c956365.svg);border:none;height:19px;position:absolute;right:20px;top:20px;width:18px}.card__delete:hover{cursor:pointer;opacity:.6}
.card__image{aspect-ratio:1/1;border-radius:10px 10px 0 0;display:block;width:100%}
.card__info{align-items:center;background-color:#fff;border-radius:0 0 10px 10px;color:#000;display:grid;grid-template-columns:auto 22px;grid-template-rows:1fr 1fr;padding:25px 20px}
.card__title{font-size:24px;font-weight:900;grid-row-end:3;grid-row-start:1;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card__like{background-color:#fff;background-image:url(fcda147723066681bbc8.svg);border:none;height:19px;min-width:22px}.card__like:hover{cursor:pointer;opacity:.5}
.card__like_active{background-image:url(fe17a515669479b1e649.svg)}
.card__likes-number{font-size:13px;font-weight:400;justify-self:center;line-height:16px;padding-top:3px}

.footer__copyright{color:#545454;font-size:18px;font-weight:400;line-height:22px;margin:0}@media screen and (max-width:680px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;min-width:320px;opacity:0;position:fixed;top:0;transition:opacity .6s,visibility 0s .6s;visibility:hidden;width:100%}
.popup_opened{opacity:1;transition:visibility 0s,opacity .6s;visibility:visible}
.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;max-width:430px;min-width:282px;padding:34px 36px 37px;position:relative;z-index:1}@media screen and (max-width:680px){.popup__container{padding:25px 22px;width:calc(100% - 38px)}}
.popup__form{position:relative}
.popup__close{background:url(ad98de32e342afafa118.svg) 50%/100%;border:none;height:32px;position:absolute;right:-40px;top:-40px;width:32px}.popup__close:hover{cursor:pointer;opacity:.6}@media screen and (max-width:680px){.popup__close{height:20px;right:0;top:-36px;width:20px}}
.popup__title{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;padding:0 0 45px}@media screen and (max-width:680px){.popup__title{font-size:18px;line-height:22px;padding:0 0 70px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inherit;font-size:14px;height:27px;line-height:17px;margin-top:25px;padding:0 0 5px;width:100%}.popup__input:first-of-type{margin-top:0}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input-error{color:red;display:none;font-size:12px;font-weight:400;line-height:14px;padding-top:5px;position:absolute}
.popup__input-error_active{display:block}
.popup__save-button{background-color:#000;border:none;border-radius:2px;color:#fff;font-size:18px;height:50px;line-height:22px;margin-top:48px;padding:0;width:100%}.popup__save-button:hover{cursor:pointer;opacity:.8}@media screen and (max-width:680px){.popup__save-button{font-size:14px;line-height:17px;margin-top:45px}}
.popup__save-button_disabled{background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:2px;color:rgba(0,0,0,.2)}.popup__save-button_disabled:hover{opacity:1}
.popup__image-title{font-size:12px;font-weight:400;line-height:15px;margin:0;padding-top:10px}
.popup_type_image{background-color:rgba(0,0,0,.9)}
.popup__image{max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain;width:100%}
.popup__container_type_image{background-color:transparent;max-width:75vw;padding:0}@media screen and (max-width:680px){.popup__container_type_image{margin:0 40px;width:auto}}

