/*! 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;-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{src:url(fonts/Inter-Regular.2e76ba93b7ec325dfa2d.woff2) format("woff2"),url(fonts/Inter-Regular.0c4d8533b66adf979dae.woff) format("woff"),url(fonts/Inter-Regular.79a51fb4de0e636cd197.ttf) format("truetype"),url(fonts/Inter-Regular.cec5683985aa217042fb.otf) format("opentype");font-family:Inter;font-weight:400}@font-face{src:url(fonts/Inter-Bold.00132b6d77bcfb8edf37.woff2) format("woff2"),url(fonts/Inter-Bold.5484e71af361cb6a2640.woff) format("woff"),url(fonts/Inter-Bold.f92d226d651abf40f992.ttf) format("truetype"),url(fonts/Inter-Bold.4852edfcf88cee219c54.otf) format("opentype");font-family:Inter;font-weight:700}@font-face{src:url(fonts/Inter-Black.ca9c11d68040f25329bc.woff2) format("woff2"),url(fonts/Inter-Black.f1458e94120508eae8ce.woff) format("woff"),url(fonts/Inter-Black.a4da2e8d16354f639e3f.ttf) format("truetype"),url(fonts/Inter-Black.66a6962fcb05a680c4bb.otf) format("opentype");font-family:Inter;font-weight:900}@font-face{src:url(fonts/Inter-Medium.a76c8ae4d7c6753331a8.woff2) format("woff2"),url(fonts/Inter-Medium.b1edb54c38f7aa304c6a.woff) format("woff"),url(fonts/Inter-Medium.098b216acbe014b94134.ttf) format("truetype"),url(fonts/Inter-Medium.ddf01184de7cd1ba5380.otf) format("opentype");font-family:Inter;font-weight:500}
.page{background-color:#000;font-family:Inter,Arial,sans-serif;text-rendering:optimizeLegibility}
.page__content{max-width:882px;margin:0 auto}@media screen and (max-width:768px){.page__content{max-width:768px}}@media screen and (max-width:480px){.page__content{max-width:480px}}
.header{max-width:882px;height:74px;margin:45px auto 0;border-bottom:1px solid #545454}@media screen and (max-width:480px){.header{height:56px;margin:0;padding-top:28px}}
.header__logo{background-image:url(images/header__logo_big.ff16f24b4e5868782cf4.svg);width:142.01px;height:33.4px;background-size:cover}@media screen and (max-width:480px){.header__logo{width:104px;height:24px;margin-left:27px;margin-bottom:30px}}
.main{display:block;margin:0 auto;max-width:882px}
.profile{display:flex;flex-direction:row;justify-content:space-between;max-width:882px;padding:40px 1em 0}@media screen and (max-width:690px){.profile{flex-direction:column;padding:42px 19px 0}}
.profile__card{display:flex}@media screen and (max-width:690px){.profile__card{flex-direction:column;align-items:center;padding-bottom:39px}}
.profile__avatar{width:120px;height:120px;border-radius:50%;-o-object-fit:none;object-fit:none;position:relative;background-size:cover;background-position:50%;flex-shrink:0;cursor:pointer}@media screen and (max-width:480px){.profile__avatar{padding-bottom:14px}}
.profile__avatar-edit-button{border:none;width:100%;height:100%;position:absolute;background-color:#000;background-image:url(images/pen.448e34ec397fc924b972.svg);background-position:50%;background-repeat:no-repeat;background-size:26px;align-self:center;padding:0;opacity:0;transition:opacity .3s ease-in-out}.profile__avatar-edit-button:hover{opacity:.8}.profile__avatar-edit-button:focus{outline:none}
.profile__info{display:grid;gap:16px 17px;margin:0;align-content:center;padding-left:30px}@media screen and (max-width:480px){.profile__info{padding:0;gap:0 5px}}
.profile__name{color:#fff;font-style:normal;font-weight:500;font-size:42px;line-height:56px;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media screen and (max-width:480px){.profile__name{font-size:27px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}
.profile__button-edit{background-image:url(images/Edit_Button.a1892ea72cb87c8fc3aa.svg);width:24px;height:24px;background-color:transparent;border:1px solid #fff;box-sizing:border-box;align-self:center;transition:opacity .3s ease-in-out;cursor:pointer}.profile__button-edit:hover{opacity:.6}.profile__button-edit:focus{outline:none}@media screen and (max-width:480px){.profile__button-edit{background-image:url(images/Edit_Button_small.2f7be95ab48bbff7d88c.svg);width:18px;height:18px}}
.profile__button-add{background-image:url(images/Add_Button.d86bb2edc2f6eadb96b7.svg);background-size:initial;background-repeat:no-repeat;background-position:50%;background-color:transparent;border:2px solid #fff;box-sizing:border-box;border-radius:2px;width:150px;height:50px;align-self:center;transition:opacity .3s ease-in-out;cursor:pointer;flex-shrink:0}.profile__button-add:hover{opacity:.6}.profile__button-add:focus{outline:none}@media screen and (max-width:480px){.profile__button-add{background-image:url(images/Add_Button_s.6f86ece55e54220c5485.svg);width:282px;height:50px}}
.profile__comment{font-style:normal;font-weight:400;font-size:18px;line-height:22px;color:#fff;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;grid-column:1/3}@media screen and (max-width:690px){.profile__comment{font-size:14px;grid-column:1/3;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}
.cards{display:grid;max-width:1200px;grid-template-columns:repeat(3,minmax(auto,460px));gap:20px 18px;margin:0 auto;padding:50px 1em 0;justify-content:center}@media screen and (max-width:768px){.cards{grid-template-columns:repeat(auto-fit,minmax(282px,1fr));margin:0 auto}}@media screen and (max-width:480px){.cards{grid-template-columns:minmax(282px,1fr);gap:20px;padding:50px 19px 0}}
.card{display:flex;flex-direction:column;background-color:#fff;border-radius:10px;overflow:hidden;position:relative}
.card__photo{max-width:100%;width:100%;height:282px;-o-object-fit:cover;object-fit:cover}
.card__text{display:flex;justify-content:space-between;padding:25px 15px 21px 21px}
.card__title{font-style:normal;font-weight:900;font-size:24px;line-height:1.2;color:#000;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.card__like{background-image:url(images/heart.49570bcb1d637fdb38e5.svg);background-size:cover;background-repeat:no-repeat;background-color:transparent;border:none;height:19px;width:22px;align-self:center;transition:opacity .3s ease-in-out;cursor:pointer;flex:none}.card__like:hover{opacity:.6}.card__like:focus{outline:none}
.card__like_active{background-image:url(images/heart_black.75438e944a43e4c0b404.svg)}.card__like_active:hover{opacity:.6}.card__like_active:focus{outline:none}
.card__delete{position:absolute;background-image:url(images/trash.cbc09a894bdd4c956365.svg);top:18px;right:15px;background-size:cover;background-repeat:no-repeat;background-color:transparent;width:18px;height:19.3px;border:none;transition:opacity .3s ease-in-out;cursor:pointer}.card__delete:hover{opacity:.6}.card__delete:focus{outline:none}
.footer{display:flex;flex-direction:row;justify-content:start;margin:0 auto;max-width:882px;padding:0 1em}@media screen and (max-width:480px){.footer{padding:0 19px}}
.footer__copyright{font-family:Inter,Arial,sans-serif;font-style:normal;font-weight:400;font-size:18px;line-height:1.2;color:#545454;padding:66px 0 60px;margin:0}@media screen and (max-width:480px){.footer__copyright{font-size:14px;padding:48px 0 36px}}
.modal{display:flex;position:fixed;top:0;left:0;width:100%;height:100%;justify-content:center;align-items:center;visibility:hidden;opacity:0;z-index:10;transition:opacity .8s linear,visibility .8s linear}
.modal_profile{background:rgba(0,0,0,.5)}
.modal_card{background:rgba(0,0,0,.5)}
.modal_viewer{background:rgba(0,0,0,.9);padding:0}
.modal__content{position:relative;max-width:430px;background:#fff;box-sizing:border-box;box-shadow:0 0 25px rgba(0,0,0,.15);border-radius:10px;padding:34px 36px 36px}@media screen and (max-width:480px){.modal__content{max-width:240px;padding:30px 20px}}
.modal__content_viewer{background:none;padding:0;max-width:75vw;max-height:75vh}
.modal__button-close{background-image:url(images/Close_icon.1a679de26c3fc33603ff.svg);background-color:transparent;border:none;width:40px;height:40px;background-size:cover;position:absolute;top:-40px;right:-40px;padding:0;transition:opacity .3s ease-in-out;cursor:pointer}.modal__button-close:hover{opacity:.7}.modal__button-close:focus{outline:none}@media screen and (max-width:480px){.modal__button-close{width:30px;height:30px;top:-30px;right:-30px}}
.modal_open{visibility:visible;opacity:1}
.modal__photo{max-width:75vw;max-height:75vh;z-index:100}
.modal__title{font-size:12px;font-weight:400;font-style:normal;line-height:1.2;color:#fff}
.modal__heading{font-style:normal;font-weight:900;font-size:24px;line-height:1.2;color:#000;padding:0 0 54px;margin:0}@media screen and (max-width:480px){.modal__heading{font-size:18px;padding:0 0 36px}}
.form{padding:0;margin:0}
.form__input{max-width:358px;border:0;padding:0;margin:0}
.form__input-error{font-style:normal;font-weight:400;line-height:1.25;font-size:12px;color:red;opacity:0;margin-top:5px}
.form__input-error_active{opacity:1}
.form__label{display:flex;margin-bottom:30px;flex-direction:column}.form__label:last-of-type{margin-bottom:48px}@media screen and (max-width:480px){.form__label:last-of-type{margin-bottom:36px}}
.form__item{font-style:normal;font-weight:400;font-size:14px;line-height:1.2;color:#000;padding-bottom:13px;border:0;width:358px;height:27px;box-sizing:border-box;border-bottom:1px solid rgba(0,0,0,.2);background-color:transparent}.form__item:focus{outline:none}.form__item::-moz-placeholder{color:#c4c4c4}.form__item:-ms-input-placeholder{color:#c4c4c4}.form__item::placeholder{color:#c4c4c4}.form__item_type_error{border-bottom:1px solid red}@media screen and (max-width:480px){.form__item{margin-bottom:20px;width:200px}}
.form__button{width:358px;min-height:50px;font-style:normal;font-weight:400;font-size:18px;line-height:1.2;text-align:center;padding:16px 1em;border:0;cursor:pointer;color:#fff;background-color:#000;border-radius:2px}.form__button:hover{opacity:.8}.form__button:focus{outline:none}@media screen and (max-width:480px){.form__button{width:100%;font-size:14px}}
.form__button_disabled{border:1px solid #000;background-color:transparent;cursor:default;opacity:1;color:#000}
.card__like-container{display:flex;flex-direction:column;justify-content:center}
.card__like-data{margin:3px 24px;min-width:9px;font-family:Inter,Arial,sans-serif;font-style:normal;font-weight:400;font-size:13px;line-height:16px;text-align:center}

