/*! 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:900;src:url(15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(c6938660eec019fefd68.woff) format("woff")}@font-face{font-display:swap;font-family:inter;font-style:medium;font-weight:400;src:url(293fd13dbca5a3e450ef.woff2) format("woff2"),url(9053572c46aeb4b16caa.woff) format("woff")}
.root{background-color:#000}
.page{margin:0 auto;max-width:1280px}@media screen and (min-width:1024px) and (max-width:1279px){.page{max-width:1024px}}@media screen and (min-width:768px) and (max-width:1023px){.page{max-width:768px}}@media screen and (max-width:767px){.page{max-width:320px}}
.header{align-items:flex-start;border-bottom:1px solid rgba(84,84,84,.7);display:flex;margin:45px 200px 0;max-height:74px;max-width:880px}@media screen and (min-width:1024px) and (max-width:1279px){.header{margin:45px 72px 0}}@media screen and (min-width:768px) and (max-width:1023px){.header{margin:45px 72px 0}}@media screen and (max-width:767px){.header{margin:28px 0 0;max-height:54px;max-width:320px}}
.header__logo{height:33px;width:142px}@media screen and (max-width:767px){.header__logo{height:24px;margin-left:24px;width:103px}}
.profile{display:flex;flex-direction:row;margin:40px 200px 0;max-height:120px;max-width:880px}@media screen and (min-width:1024px) and (max-width:1279px){.profile{margin:40px 72px 0}}@media screen and (min-width:768px) and (max-width:1023px){.profile{align-items:center;justify-content:center;margin:40px 0 0}}@media screen and (max-width:767px){.profile{flex-direction:column;margin:42px 19px 36px;max-width:282px;min-height:286px}}
.profile__avatar{border-radius:50%;height:100%;position:absolute;width:100%}@media screen and (max-width:767px){.profile__avatar{margin:0 80px 0 82px}}
.profile__info{display:grid;grid-template-columns:2;grid-template-rows:2;margin:22px 0 25px 30px;width:336px}@media screen and (max-width:767px){.profile__info{margin:22px 0 0;width:282px}}
.profile__edit-button{fill:solid;background-color:#000;background-image:url(8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;box-sizing:border-box;cursor:pointer;grid-column-start:2;grid-row-start:1;height:24px;margin:15px 0 0 18px;padding:0;width:24px}.profile__edit-button:hover{opacity:.5}@media screen and (max-width:767px){.profile__edit-button{height:18px;margin:8px 19px 28px 0;width:18px}}
.profile__title{color:#fff;font-family:inter,Arial,sans-serif;font-size:42px;font-style:medium;font-weight:500;line-height:48px;margin:0;min-width:294px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__title{font-size:27px;line-height:33px;margin:0 10px 0 46px;min-width:189px}}
.profile__subtitle{color:#fff;font-family:inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;max-width:336px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:767px){.profile__subtitle{font-size:14px;line-height:17px;max-width:282px;text-align:center}}
.profile__add-button{background-color:#000;background-image:url(d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;box-sizing:border-box;cursor:pointer;height:50px;margin:35px 0 35px 244px;padding:0;width:150px}.profile__add-button:hover{opacity:.6}@media screen and (min-width:768px) and (max-width:1023px){.profile__add-button{margin:35px 0 35px 66px}}@media screen and (max-width:767px){.profile__add-button{height:50px;margin:36px 0 0;width:282px}}
.elemants{display:grid;justify-content:center;margin:51px 200px 0;max-width:880px}@media screen and (min-width:1024px) and (max-width:1279px){.elemants{margin:51px 72px 0}}@media screen and (min-width:768px) and (max-width:1023px){.elemants{margin:51px 72px 0}}@media screen and (max-width:767px){.elemants{margin:0 19px;max-width:282px;min-height:2268px;padding-top:36px}}
.card{display:grid;gap:20px 17px;grid-template-columns:repeat(3,282px);grid-template-rows:361px;margin:0;padding:0}@media screen and (min-width:768px) and (max-width:1023px){.card{grid-template-columns:repeat(2,282px);grid-template-rows:repeat(3,361px)}}@media screen and (max-width:767px){.card{gap:20px 0;grid-template-columns:282px;grid-template-rows:repeat(6,361px)}}
.element{background:#fff;border-radius:10px;display:grid}
.element__image{border-radius:10px 10px 0 0;cursor:pointer;grid-column-start:1;grid-row-start:1;height:282px;-o-object-fit:cover;object-fit:cover;width:282px}.element__image:hover{opacity:.6}
.element__title{display:flex;flex-direction:row;justify-content:space-between;margin:25px 15px 31px 21px;max-width:246px}
.element__text{align-self:center;font-family:inter,Arial,sans-serif;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;max-width:210px;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}
.element__like{display:flex;flex-direction:column}
.element__like_number{align-self:center;color:#000;font-family:inter,Arial,sans-serif;font-size:13px;font-style:normal;font-weight:400;height:13px;line-height:16px;margin-top:3px;text-align:center;width:10px}
.element__like_button{background-color:#fff;background-image:url(87ed371465c7a6a1cd01.svg);border:none;cursor:pointer;height:19px;margin:5px 0;padding:0;width:22px}.element__like_button:hover{opacity:.5}
.element__like_active{background-image:url(fe17a515669479b1e649.svg)}
.element__delete{background:transparent;background-image:url(823b0cf1b0b7e9cb7cad.svg);border:none;color:#fff;cursor:pointer;grid-column-start:1;grid-row-start:1;height:19px;margin:20px 20px 0 244px;padding:0;width:18px;z-index:1}.element__delete:hover,.element__like:hover{opacity:.6}
.element__delete_none{display:none}
.popup{background-color:rgba(0,0,0,.9);display:grid;height:100%;justify-content:center;left:0;margin:0 auto;opacity:0;position:fixed;top:0;transition:.5s linear 0s;visibility:hidden;width:100%;z-index:4}
.popup__form{align-items:center;align-self:start;background-color:#fff;border-radius:10px;box-shadow:0 0 25px rgb(0,0,0,.15);grid-column-start:1;grid-row-start:2;margin:0 0 0 32px;padding:0;position:relative}@media screen and (max-width:767px){.popup__form{margin:0;max-height:322px;max-width:282px}}
.popup__form_avatar{height:272px;width:430px}@media screen and (max-width:767px){.popup__form{margin:0;max-height:322px;max-width:282px}}
.popup__form_card{height:330px;width:430px}@media screen and (max-width:767px){.popup__form{margin:0;max-height:322px;max-width:282px}}
.popup__form_delete{height:181px;width:430px}@media screen and (max-width:767px){.popup__form_delete{margin:0;max-height:322px;max-width:282px}}
.popup__form_profile{height:330px;width:430px}@media screen and (max-width:767px){.popup__form{margin:0;max-height:322px;max-width:282px}}
.profile-popup{align-items:center;justify-content:center;margin:0;padding:0}
.card-popup{align-items:center;flex-direction:column;justify-content:center;margin:0;padding:0}
.photo-popup{align-content:center;justify-content:center;justify-self:center;margin:0 0 0 32px}@media screen and (max-width:767px){.photo-popup{margin:0}}
.delete-popup{align-items:center;flex-direction:column;justify-content:center;margin:0;padding:0}
.avatar-popup{align-items:center;justify-content:center;margin:0;padding:0}
.profile__button{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;border:none;border-radius:50%;cursor:pointer;height:100%;opacity:0;position:relative;width:100%}.profile__button:hover{opacity:1}@media screen and (max-width:767px){.profile__button{margin:0 80px 0 82px}}
.profile__container{border-radius:50%;height:120px;position:relative;width:120px}
.popup__image{align-self:start;grid-column-start:1;grid-row-start:2;margin:0;max-height:75vh;max-width:75vw;-o-object-fit:cover;object-fit:cover}
.popup__text{align-self:start;color:#fff;font-family:inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;grid-column-start:1;grid-row-start:3;line-height:15px;margin:10px 0 0;padding:0}
.popup__info{border:none;display:flex;flex-direction:column;margin:0;padding:44px 36px 0}@media screen and (max-width:767px){.popup__info{padding:75px 22px 0}}
.popup__input{border:none;margin:0;padding:0}
.popup__input_type_name{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;padding:0 0 13px}
.popup__input_type_job{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;padding:0 0 13px}
.popup__input_type_title{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;padding:0 0 13px}
.popup__input_type_link{border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inter,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin:0;padding:0 0 13px}
.popup__input_type_error{border-bottom-color:red;color:red}
.popup__title{font-family:inter,Arial,sans-serif;font-size:24px;font-weight:900;line-height:29px;margin:34px 64px 0 36px}@media screen and (max-width:767px){.popup__title{font-size:18px;line-height:22px;margin:25px 22px 0;max-height:238px}}
.popup__button{border:none;margin:0;padding:0}
.popup__button_type_save{background-color:#000;border-radius:2px;bottom:0;color:#fff;font-family:inter,Arial,sans-serif;font-size:18px;font-style:normal;font-weight:400;height:50px;line-height:22px;margin:0 36px 36px;padding:0;position:absolute;text-align:center;width:358px}.popup__button_type_save:hover{opacity:.8}@media screen and (max-width:767px){.popup__button_type_save{bottom:0;font-size:14px;line-height:17px;margin:0 22px 22px;max-height:46px;max-width:238px}}
.popup__button_type_close{align-self:end;background-color:transparent;background-image:url(2ceb783afbab75916ddc.svg);border:none;cursor:pointer;grid-column-start:2;grid-row-start:1;height:32px;margin:0 0 8px 8px;padding:0;width:32px}.popup__button_type_close:hover{opacity:.6}@media screen and (max-width:767px){.popup__button_type_close{background-image:url(b793e07c3f4c19e26c11.svg);grid-column-start:1;height:20px;justify-self:end;margin:0 0 16px;padding:0;width:20px}}
.popup__button_disabled{background-color:#fff;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);cursor:default}
.popup_open{display:grid;opacity:1;visibility:visible}
.footer{margin:67px 762px 60px 200px;max-width:318px}@media screen and (min-width:1024px) and (max-width:1279px){.footer{margin:67px 0 60px 72px}}@media screen and (min-width:768px) and (max-width:1023px){.footer{margin:67px 0 60px 72px}}@media screen and (max-width:767px){.footer{margin:48px 19px 36px;max-width:282px}}
.footer__autor{color:#545454;font-family:inter,Arial,sans-serif;font-size:18px;font-style:normal;line-height:22px;margin:0}@media screen and (max-width:767px){.footer__autor{font-size:14px;line-height:17px}}
.popup__error{color:red;font-family:inter,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:0;min-height:30px;opacity:0;padding:0}
.popup__error_active{opacity:1}

