/*! 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.woff2) format("woff2"),url(fonts/Inter-Regular.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(fonts/Inter-Medium.woff2) format("woff2"),url(fonts/Inter-Medium.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(fonts/Inter-Black.woff2) format("woff2"),url(fonts/Inter-Black.woff) format("woff")}
.page{-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;background-color:#000;font-family:Inter,arial,sans-serif;min-height:100vh;width:100%}
.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;flex-direction:column;justify-content:flex-start;margin:0 auto;max-width:880px;padding:45px 0 0}@media screen and (max-width:939px){.header{width:100%}}@media screen and (max-width:425px){.header{margin:0;padding-top:28px}}
.header__logo{margin-bottom:41px;max-width:142px}@media screen and (max-width:939px){.header__logo{margin:0 0 31px 27px}}@media screen and (max-width:425px){.header__logo{max-width:104px}}
.profile{display:grid;justify-content:space-between;margin:0 auto;max-width:880px;padding:40px 0 0}@media screen and (max-width:904px){.profile{gap:30px;width:88.124vw}}@media screen and (max-width:720px){.profile{display:flex;flex-direction:column;justify-content:center;padding-top:42px;width:88.125vw}}
.profile__container{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;display:flex;margin:0;margin-block-end:0;margin-block-start:0;margin-inline-end:0;margin-inline-start:0}@media screen and (max-width:656px){.profile__container{flex-direction:column;justify-content:center;margin:auto;width:88%}}
.profile__image{border-radius:50%;height:120px;margin:0;max-width:120px;padding-right:0}@media screen and (max-width:904px){.profile__image{margin:0 auto}}.profile__image:hover{background-color:rgba(0,0,0,.8);cursor:url(images/Cursor.svg),auto;opacity:.8;transition:all .3s linear}
.profile__info{cursor:default;display:grid;max-width:336px;padding-bottom:25px;padding-left:30px;padding-top:22px}@media screen and (max-width:805px){.profile__info{padding-left:20px}}@media screen and (max-width:768px){.profile__info{display:flex;justify-content:flex-start;margin:0 auto;padding-bottom:0;width:95%}}@media screen and (max-width:720px){.profile__info{padding-left:0;width:100%}}@media screen and (max-width:656px){.profile__info{justify-content:center}}@media screen and (max-width:338px){.profile__info{justify-content:end}}
.profile__text{display:flex;flex-direction:column}@media screen and (max-width:768px){.profile__text{justify-content:start;width:85%}}@media screen and (max-width:720px){.profile__text{width:80%}}@media screen and (max-width:656px){.profile__text{justify-content:center;width:189px}}
.section-title{-webkit-margin-before:0;-webkit-margin-after:0;color:#fff;display:block;font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin-block-end:0;margin-block-start:0;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:743px){.section-title{font-size:30px;line-height:34px;margin:0 auto;text-align:center}}@media screen and (max-width:720px){.section-title{margin:0;text-align:start}}@media screen and (max-width:656px){.section-title{font-size:27px;line-height:33px;text-align:center}}
.section-subtitle{-webkit-margin-before:0;-webkit-margin-after:0;color:#fff;display:block;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin-block-end:0;margin-block-start:0;margin:16px 0 0;max-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:743px){.section-subtitle{font-size:16px;line-height:19px;margin-top:14px;text-align:start}}@media screen and (max-width:720px){.section-subtitle{font-size:14px;line-height:17px;width:100%}}@media screen and (max-width:656px){.section-subtitle{text-align:center}}
.button{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:0;transition:opacity .6s ease}
.profile__button{background-color:transparent;background-position:50%;background-repeat:no-repeat}
.profile__button_action_edit{background-image:url(images/Edit-Button.svg);border:1px solid #fff;grid-column:2;height:24px;margin:15px 0 0 18px;width:24px}.profile__button_action_edit:focus,.profile__button_action_edit:hover{cursor:pointer;opacity:.6}@media screen and (max-width:656px){.profile__button_action_edit{display:flex;height:18px;margin-left:10px;margin-top:8px;width:18px}}
.profile__button_action_add{align-self:center;background-image:url(images/Add-button.svg);border:2px solid #fff;border-radius:2px;box-sizing:border-box;grid-column:2;height:50px;margin:0;width:150px}.profile__button_action_add:focus,.profile__button_action_add:hover{cursor:pointer;opacity:.6}@media screen and (max-width:720px){.profile__button_action_add{background-image:url(images/Vector-plus.svg);width:100%}}
.cards{display:grid;gap:20px 17px;grid-template:repeat(auto-fill,minmax(-webkit-max-content,361px)) /repeat(auto-fill,minmax(-webkit-min-content,282px));grid-template:repeat(auto-fill,minmax(max-content,361px)) /repeat(auto-fill,minmax(min-content,282px));margin:0 auto;max-width:880px;padding:51px 0 0}@media screen and (max-width:901px){.cards{gap:18px;grid-template-columns:repeat(2,1fr);width:90vw}}@media screen and (max-width:768px){.cards{gap:16px;grid-template-columns:repeat(2,1fr);width:87.5vw}}@media screen and (max-width:499px){.cards{gap:20px;grid-template-columns:repeat(1,1fr);width:87vw}}@media screen and (max-width:348px){.cards{padding-top:36px;width:88.125vw}}
.cards__element{background-color:#fff;border-radius:10px;color:#000;display:grid;grid-template:282px -webkit-min-content/1fr;grid-template:282px min-content/1fr;overflow:hidden;padding-bottom:25%;position:relative}
.cards__photo{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:all .3s ease-out;width:100%}.cards__photo:hover{transform:scale(1.1)}
.cards__caption{align-self:end;cursor:default;display:flex;justify-content:space-between;margin-bottom:18px;padding-left:21px;position:absolute;width:87.3%}@media screen and (max-width:900px){.cards__caption{margin-bottom:12px}}@media screen and (max-width:768px){.cards__caption{margin-bottom:11px;padding-left:15px}}@media screen and (max-width:499px){.cards__caption{margin-bottom:17px;padding-left:21px}}@media screen and (max-width:416px){.cards__caption{margin-bottom:18px}}
.cards__title{-webkit-margin-before:0;-webkit-margin-after:0;color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:23px;margin:0;margin-block-end:0;margin-block-start:0;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:613px){.cards__title{max-width:150px}}
.cards__like{align-self:center;background-color:#fff;background-image:url(images/Like.svg);background-repeat:no-repeat;background-size:contain;border:none;display:flex;height:19px;padding:0;width:22px}.cards__like:hover{cursor:pointer;opacity:.5;transform:scale(1.2);transition:all .3s ease-out}
.cards__like_active{background-image:url(images/Union.svg)}
.cards__delete{background-color:hsla(0,0%,100%,0);background-image:url(images/Delete.svg);background-repeat:no-repeat;background-size:contain;border:none;cursor:pointer;height:19px;position:absolute;right:20px;top:20px;width:18px;z-index:2}.cards__delete:hover{opacity:.6}
.footer{display:flex;margin:0 auto;max-width:880px;padding-bottom:60px;padding-top:67px}@media screen and (max-width:901px){.footer{width:90vw}}@media screen and (max-width:768px){.footer{width:85vw}}@media screen and (max-width:499px){.footer{width:87vw}}@media screen and (max-width:425px){.footer{padding-bottom:36px;padding-top:48px;width:85vw}}@media screen and (max-width:320px){.footer{width:88.125vw}}
.footer__copyright{-webkit-margin-before:0;-webkit-margin-after:0;color:#545454;font-size:18px;font-style:normal;font-weight:400;justify-content:flex-start;line-height:22px;margin-block-end:0;margin-block-start:0;max-width:318px}@media screen and (max-width:425px){.footer__copyright{font-size:14px;line-height:17px}}
.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:.6s;visibility:hidden;width:100%;z-index:5}
.popup_type_image{background-color:rgba(0,0,0,.9);pointer-events:all}
.popup__image-container{display:flex;position:fixed}@media screen and (max-width:480px){.popup__img-container{max-width:282px}}
.popup__figure{margin:0;padding:0}
.popup__image{max-height:75vh;max-width:75vw;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;vertical-align:middle}
.popup__caption{color:#fff;font-size:12px;font-weight:400;line-height:15px;min-height:12px;padding-top:10px}
.popup_opened{opacity:1;transition:.6s;visibility:visible}
.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;color:#000;line-height:1;max-height:330px;max-width:430px;padding:34px 0 37px;position:relative;width:100%}@media screen and (max-width:470px){.popup__container{max-width:282px;padding:25px 0}}
.popup__input-container{border:none;display:flex;flex-direction:column;justify-content:space-between;margin:0 auto;max-width:358px;min-height:182px;padding:0}@media screen and (max-width:470px){.popup__input-container{width:84.5%}}
.popup__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0}@media screen and (max-width:500px){.popup__title{font-size:18px;line-height:22px}}
.popup__button{background-color:#000;border:none;border-radius:2px;color:#fff;display:block;font-size:1.125rem;font-weight:400;height:50px;margin:0 auto;width:100%}.popup__button:hover{cursor:pointer;opacity:.8}.popup__button:disabled{background-color:#fff;border:1px solid rgba(0,0,0,.2);color:rgba(0,0,0,.2);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media screen and (max-width:470px){.popup__button{font-size:.875rem;height:46px}}
.popup__button_disabled{border:1px solid #000;color:#000;opacity:.7}.popup__button_disabled:hover{opacity:.3}
.popup__close{background-color:rgba(0,0,0,.6);background-image:url(images/Close-Icon.svg);background-repeat:no-repeat;background-size:32px 32px;border:none;cursor:pointer;height:32px;margin:0;position:absolute;right:-35px;top:-35px;transition:.6s;width:32px}.popup__close:hover{opacity:.6}@media screen and (max-width:656px){.popup__close{background-size:20px 20px;height:20px;right:2px;top:-28px;width:20px}}
.popup__input{border:none;border-bottom:1px solid rgba(0,0,0,.2);color:#000;cursor:text;font-size:14px;font-style:normal;font-weight:400;line-height:17px;margin-bottom:5px;overflow:hidden;padding-bottom:11px;padding-top:0;text-overflow:ellipsis;white-space:nowrap;width:100%}.popup__input:first-of-type{margin-top:54px}.popup__input:last-of-type{margin-top:5px}.popup__input::-moz-placeholder{font-size:14px;font-weight:400;line-height:17px}.popup__input::placeholder{font-size:14px;font-weight:400;line-height:17px}@media screen and (max-width:470px){.popup__input:first-of-type{margin-top:75px}}
.popup__input-error{color:red;display:block;font-size:12px;font-style:normal;font-weight:400;line-height:12px;min-height:24px;padding:0;visibility:hidden;width:100%}.popup__input-error:last-of-type{margin-bottom:19px}@media screen and (max-width:470px){.popup__input-error:last-of-type{margin-bottom:13px}}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input-error_type_visible{visibility:visible}
.popup__delete-container{background-color:#fff;border-radius:10px;box-sizing:border-box;color:#000;line-height:1;max-height:181px;max-width:430px;padding:34px 0 36px;position:relative;width:100%}@media screen and (max-width:470px){.popup__delete-container{max-width:282px;padding:25px 0}}
.popup__card-delete{border:none;display:flex;flex-direction:column;justify-content:space-between;margin:0 auto;max-width:358px;min-height:110px;padding:0}@media screen and (max-width:470px){.popup__card-delete{width:84.5%}}
.popup__container_avatar{background-color:#fff;border-radius:10px;box-sizing:border-box;color:#000;line-height:1;max-height:272px;max-width:430px;padding:34px 0 36px;position:relative;width:100%}@media screen and (max-width:470px){.popup__container_avatar{max-width:282px;padding:25px 0}}
.popup__input_field_link-avatar:last-of-type{margin-top:54px}
.cards__like-counter{display:flex;flex-direction:column;justify-content:center}
.cards__counter{align-content:center;align-self:center;display:block;font-size:13px;font-weight:400;justify-content:center;max-width:10px;min-height:13px;padding-top:2px}

