/*! 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}template{display:none}[hidden]{display:none}
@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url(26a30a5f1103393aac70.woff2) format("woff2"),url(fc49d131f795b4d48f26.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url(d0a58d956cf2f4cf078f.woff2) format("woff2"),url(cc6a88688869161eb836.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:url(768169b1912340d378ac.woff2) format("woff2"),url(16792010d318c2904562.woff) format("woff")}
.page{width:100%;color:#fff;background:#000;font-family:Inter,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-rendering:optimizeLegibility}
.header{margin:0 auto;max-width:882px;min-width:320px;position:relative;border-bottom:1px solid rgba(84,84,84,.7)}
.header__logo{max-width:142px;padding:45px 0 40px}@media screen and (max-width:904px){.header__logo{margin-left:27px}}@media screen and (max-width:425px){.header__logo{max-width:103px;padding-top:28px;padding-bottom:31px;padding-left:27px;margin-left:0}}
.content{margin:0 auto;max-width:882px;min-width:320px}
.profile{max-width:882px;margin:40px auto 0;display:flex;flex-direction:row}@media screen and (max-width:1100px){.profile{max-width:700px;margin:40px auto 0}}@media screen and (max-width:767px){.profile{max-width:320px;flex-direction:column;align-items:center}}
.profile__avatar-container{position:relative;margin-right:30px;border-radius:50%;cursor:pointer}.profile__avatar-container:hover:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background:rgba(0,0,0,.8);background-image:url(ae1a976ddb506239e9f0.svg);background-repeat:no-repeat;background-position:50%}@media screen and (max-width:767px){.profile__avatar-container{margin-right:0}}
.profile__avatar{width:120px;height:120px;border-radius:50%;-o-object-fit:cover;object-fit:cover}@media screen and (max-width:1279px){.profile__avatar{margin:0}}
.profile__title{display:flex;flex-direction:row;margin:18px 0 0 30px;max-width:500px}@media screen and (max-width:1100px){.profile__title{max-width:350px}}@media screen and (max-width:767px){.profile__title{margin:15px auto 0;max-width:282px}}
.profile__name{font-size:42px;line-height:1.3;font-weight:500;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 0 16px}@media screen and (max-width:1100px){.profile__name{font-size:36px}}@media screen and (max-width:767px){.profile__name{font-size:27px;line-height:2;margin:0 auto;padding:0}}
.profile__edit-button{width:24px;height:24px;outline:none;background-image:url(af236f6cf67005f1d7aa.svg);padding:10px;border:1px solid #fff;margin:18px 0 auto 20px;background-color:#000;background-position:50% 50%;background-repeat:no-repeat;transition:opacity .2s ease-in-out .2s}.profile__edit-button:hover{opacity:.6;cursor:pointer}@media screen and (max-width:688px){.profile__edit-button{width:6px;height:6px;padding:8px;margin:19px 0 0 7px}}
.profile__profession{font-size:18px;line-height:1.2;font-weight:400;margin:0 0 0 30px;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:500px}@media screen and (max-width:1100px){.profile__profession{max-width:350px;font-size:16px}}@media screen and (max-width:767px){.profile__profession{margin:0 auto;font-size:14px;text-align:center;max-width:282px}}
.profile__add-button{width:22px;height:22px;outline:none;background-image:url(bed8c136e13907f5eefb.svg);padding:22px 74px;border:2px solid #fff;background-repeat:no-repeat;background-position:50% 50%;margin:33px 0 auto auto;background-color:#000;transition:opacity .2s ease-in-out .2s}.profile__add-button:hover{opacity:.6;cursor:pointer}@media screen and (max-width:767px){.profile__add-button{width:10px;height:10px;padding:22px 138px;margin:30px auto 0}}
.cards{margin-top:51px;max-width:882px;list-style:none;display:grid;grid-template-columns:repeat(3,282px);gap:20px 18px;padding:0;background-color:#000}@media screen and (max-width:920px){.cards{grid-template-columns:repeat(2,282px);justify-content:center}}@media screen and (max-width:600px){.cards{grid-template-columns:repeat(1,282px);margin-top:40px}}
.cards__item{position:relative}
.cards__image{width:282px;height:282px;background-color:#fff;vertical-align:bottom;border-top-left-radius:10px;border-top-right-radius:10px;-o-object-fit:cover;object-fit:cover;opacity:1;transition:.5s ease}.cards__image:hover{opacity:.5;transition:.5s ease;cursor:pointer}
.cards__remove-button{width:18px;height:19.3px;display:none;position:absolute;top:18px;right:15px;background:transparent;background-image:url(e3c42771bff3aaa52f76.svg);background-position:50%;background-size:contain;background-repeat:no-repeat;border:none;transition:opacity .3s}.cards__remove-button:focus{outline:none}.cards__remove-button:hover{opacity:.6;cursor:pointer}
.cards__description{color:#000;background-color:#fff;min-height:79px;display:flex;align-items:center;justify-content:space-between;padding-right:21px;padding-left:21px;border-radius:0 0 10px 10px}
.cards__title{font-weight:900;font-size:24px;line-height:29px;margin:0;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.cards__like-container{display:flex;flex-direction:column;align-items:center;gap:3px}
.cards__like-button{border:none;padding:0;width:21px;height:18px;background-color:#fff;align-self:center}.cards__like-button:focus{outline:none}.cards__like-button:hover{opacity:.6;cursor:pointer}
.cards__like-number{font-weight:400;font-size:13px;line-height:16px}
.cards__like-button_active{background-image:url(a7ffe37dcb927ba0c46c.svg)}
.footer{margin:66px auto 60px;max-width:882px;display:flex}@media screen and (max-width:1100px){.footer{max-width:700px}}@media screen and (max-width:767px){.footer{max-width:282px;margin:48px auto 36px}}
.footer__copyright{text-align:left;margin:0;padding:0;color:#545454;font-size:18px;line-height:1.2}@media screen and (max-width:425px){.footer__copyright{font-size:14px}}
.popup{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);visibility:hidden;opacity:0;transition:visibility .5s,opacity .5s ease-in-out}
.popup_type_lightbox{background-color:rgba(0,0,0,.9)}
.popup_opened{visibility:visible;opacity:1}
.popup__container{width:100%;max-width:430px;background-color:#fff;padding:34px 36px 36px;box-sizing:border-box;margin:0 auto;position:relative;border-radius:10px;box-shadow:0 0 25px rgba(0,0,0,.15)}@media screen and (max-width:600px){.popup__container{max-width:282px;padding:25px 22px}}@media screen and (max-width:350px){.popup__container{max-width:240px}}
.popup__close-button{background-image:url(b9c42c3d39897f658ef5.svg);position:absolute;top:-50px;right:-50px;width:60px;height:60px;border:none;outline:none;background-color:transparent;background-size:contain;padding:0;margin:0;transition:opacity .2s ease-in-out .2s}.popup__close-button:hover{cursor:pointer;opacity:.6}@media screen and (max-width:592px){.popup__close-button{width:46px;height:46px;margin-top:5%;margin-right:5%}}
.popup__title{color:#000;font-weight:900;font-size:24px;line-height:29px;padding-bottom:54px;width:100%;margin:0}@media screen and (max-width:592px){.popup__title{font-size:18px;line-height:1.16;padding-bottom:25px}}
.popup__form{display:flex;flex-direction:column}
.popup__input{width:100%;align-self:center;margin-bottom:29px;padding:0 0 13px;outline:rgba(0,0,0,.2);border:none;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-weight:400;line-height:17px}.popup__input:last-of-type{margin-bottom:47px}@media screen and (max-width:510px){.popup__input{font-size:12px;line-height:1.25;padding-bottom:9px}}@media screen and (max-width:510px){.popup__input:last-of-type{margin-bottom:25px}}
.popup__input-error{font-weight:400;font-size:12px;color:red;line-height:1.25;position:absolute;top:150px}.popup__input-error:nth-of-type(2n){top:210px}@media screen and (max-width:510px){.popup__input-error{top:95px}}@media screen and (max-width:510px){.popup__input-error:nth-of-type(2n){line-height:1;top:150px}}
.popup__input-error_visible{display:inline}
.popup__input_type_error{border-bottom:1px solid red}
.popup__submit{border:none;outline:none;background-color:#000;border-radius:2px;width:100%;transition:opacity .2s ease-in-out .2s;color:#fff;padding:13px 0 18px;cursor:pointer;font-size:18px;font-weight:400;line-height:22px}.popup__submit:hover{opacity:.8}@media screen and (max-width:510px){.popup__submit{padding-top:14px;padding-bottom:14px;font-size:16px}}
.popup__submit_disabled{opacity:.2;color:#000;background-color:#fff;border:1px solid #000}
.lightbox{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0 auto}
.lightbox__image{max-height:75vh;max-width:75vw}@media screen and (max-width:600px){.lightbox__image{max-width:282px}}@media screen and (max-width:390px){.lightbox__image{max-width:240px}}
.lightbox__image-title{font-style:normal;font-weight:400;font-size:12px;line-height:1.25;margin:0;position:absolute;bottom:-25px}

