/*! 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(26a30a5f1103393aac70.woff2) format("woff2"),url(e148c4a1158f8cee8285.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(768169b1912340d378ac.woff2) format("woff2"),url(7bb6234314ccc72c942a.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(ba68c34a21c5751a2838.woff2) format("woff2"),url(44e343ff76a98508d309.woff) format("woff")}
.page{background-color:#000;margin:0 auto;max-width:1280px}
.wrapper{margin-left:19px;margin-right:19px}@media (min-width:768px){.wrapper{margin-left:50px;margin-right:50px}}@media (min-width:1024px){.wrapper{margin-left:auto;margin-right:auto;max-width:880px}}
.header{border-bottom:1px solid rgba(84,84,84,.7);margin-top:30px}@media (min-width:768px) and (max-width:1023px){.header{margin-left:50px;margin-right:50px;margin-top:45px}}@media (min-width:1024px){.header{margin-left:auto;margin-right:auto;margin-top:45px;max-width:880px}}
.header__logo{height:24.4px;margin-bottom:31.6px;margin-left:18px;width:103.74px}@media (min-width:768px){.header__logo{height:33px;margin-bottom:41px;width:142px}}
.profile{color:#fff;display:flex;flex-direction:column;font-family:Inter,Arial,sans-serif;margin-bottom:36px;margin-top:38.25px}@media (min-width:768px){.profile{display:grid;grid-template-columns:1fr 150px;margin-bottom:47.25px;margin-top:36.25px;width:100%}}
.profile__container-avatar{height:120px;margin:0;position:relative;width:120px}
.profile__general{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}@media (min-width:768px){.profile__general{flex-direction:row;flex-wrap:nowrap;justify-content:flex-start}}
.profile__photo{border-radius:60px;height:100%;margin-bottom:22.25px;-o-object-fit:cover;object-fit:cover;width:100%}@media(min-width:768px){.profile__photo{margin:0}}
.profile__photo-edit-button{background:none;border:0;cursor:pointer;height:100%;left:0;padding:0;position:absolute;top:0;transition:background-color .3s ease-in-out;width:100%}.profile__photo-edit-button:focus,.profile__photo-edit-button:hover{background-color:rgba(0,0,0,.8);background-image:url(a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;opacity:.6}
.profile__info{display:grid;grid-template-columns:auto auto;margin-right:10px}@media (min-width:768px){.profile__info{margin-left:30px}}
.profile__name{font-size:27px;font-weight:500;line-height:33px;margin:0;overflow:hidden;text-align:center;white-space:nowrap;width:-webkit-max-content;width:-moz-max-content;width:max-content}@media (min-width:768px){.profile__name{text-align:start}}@media (min-width:1024px){.profile__name{font-size:42px;line-height:48px;max-width:294px;text-align:start}}
.profile__edit{align-self:center;background:url(f66e917d7fb212913c9e.svg) 50% no-repeat;background-size:contain;border:none;cursor:pointer;height:18px;margin-left:10px;transition:opacity .3s ease-in-out;width:18px}.profile__edit:hover{opacity:.6}@media (min-width:1024px){.profile__edit{height:24px;margin-left:18px;padding:0;width:24px}}
.profile__description{font-size:14px;font-weight:400;grid-column:1/3;line-height:17px;margin:14px 0 36px;max-width:282px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}@media (min-width:768px){.profile__description{font-size:18px;grid-column-end:3;grid-column-start:1;line-height:22px;margin-bottom:0;max-width:336px;text-align:start}}
.profile__add-button{align-self:center;background:url(8e041299935e2fbbe15e.svg) no-repeat;background-size:contain;border-radius:2px;border-style:none;cursor:pointer;height:50px;transition:opacity .3s ease-in-out;width:282px}.profile__add-button:hover{opacity:.6}@media (min-width:768px){.profile__add-button{align-self:center;background:url(13997fdf54b4cb323817.svg) no-repeat;background-size:100% 100%;width:150px}}
.elements{display:grid;font-family:Inter,Arial,sans-serif;grid-template-columns:100%;margin:0 auto 48px;max-width:282px;row-gap:20px}@media (min-width:540px){.elements{margin:0 auto 67px}}@media (min-width:768px){.elements{grid-template-columns:repeat(2,1fr);margin:0;max-width:768px}}@media (min-width:1024px){.elements{grid-template-columns:repeat(3,1fr);margin-bottom:67px;max-width:880px}}
.elements__trash{background:url(2af49b82d305a6ea3442.svg) 50% no-repeat;border-style:none;cursor:pointer;height:19.3px;position:absolute;right:15px;top:18px;transition:opacity .2s ease-in-out;width:18px}.elements__trash:hover{opacity:.6}
.elements__element{background-color:#fff;border-radius:10px;max-width:282px;position:relative}@media (min-width:768px){.elements__element{width:100%}}
.elements__img-wrapper{height:282px;margin-bottom:25px;width:282px}
.elements__img{border-radius:10px 10px 0 0;cursor:pointer;height:282px;margin-bottom:25px;-o-object-fit:cover;object-fit:cover;width:100%}
.elements__overlay{display:flex;justify-content:space-between;padding:0 30px 31px 21px}
.elements__title{font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.elements__like-container{align-items:center;display:flex;flex-direction:column;justify-content:flex-start}
.elements__like{align-self:center;background:url(cbed5331d270056562b2.svg) no-repeat 50%;border-style:none;cursor:pointer;height:19px;transition:opacity .2s ease-in-out;width:22px}.elements__like:hover{opacity:.5}
.elements__like_active{align-self:center;background:url(35948469632d0421d697.svg) no-repeat 50%;border-style:none;cursor:pointer;height:19px;transition:opacity .2s ease-in-out;width:22px}.elements__like:hover{opacity:.5}
.footer{margin-bottom:36px;margin-left:19px}@media (min-width:768px){.footer{margin-left:50px}}@media (min-width:1024px) and (max-width:1279px){.footer{margin-bottom:60px;margin-left:72px;margin-right:72px}}@media (min-width:1280px){.footer{margin:0 auto 60px;max-width:880px}}
.footer__copyright{color:#545454;font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:400;line-height:17px}@media (min-width:1024px){.footer__copyright{font-size:18px;line-height:22px}}
.popup{background-color:rgba(0,0,0,.5);bottom:0;font-family:Inter,Arial,sans-serif;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility 0s,opacity .5s linear;visibility:hidden;z-index:2}
.popup__add-card{background-color:rgba(0,0,0,.5);bottom:0;font-family:Inter,Arial,sans-serif;left:0;opacity:0;position:fixed;right:0;top:0;transition:visibility 0s,opacity .5s linear;visibility:hidden;z-index:2}
.popup__form{background-color:#fff;display:flex;flex-direction:column;padding-left:20px;padding-right:20px}
.popup__close{background:transparent url(657d62c78152312c802d.svg) 50% no-repeat;background-size:contain;border:none;cursor:pointer;height:40px;margin:0;padding:0;position:absolute;right:-2px;top:-50px;transform:opacity .2s ease-in-out;width:40px}.popup__close:hover{opacity:.6}@media(min-width:768px){.popup__close{height:58px;right:-49px;top:-49px;width:58px}}
.popup__container{align-items:center;background-color:#fff;border-radius:10px;display:flex;flex-direction:column;margin:123px auto 0;max-width:282px;position:relative}@media(min-width:768px){.popup__container{margin:0 auto;max-width:430px;min-width:430px;position:relative;top:50%;transform:translateY(-50%)}}
.popup__input{border-style:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inherit;font-size:14px;line-height:17px;margin-top:30px;outline:none;padding-bottom:9px;width:238px}@media(min-width:768px){.popup__input{margin-top:29px;width:358px}}
.popup__input_type_error{border-bottom:1px solid red}
.popup__input-error{color:red;display:none;font-size:12px;font-weight:400;line-height:15px}
.popup__input-error_active{display:block}
.popup__title{font-size:18px;font-weight:900;line-height:22px;margin:27px auto 45px 20px}@media(min-width:1024px){.popup__title{font-size:24px;line-height:29px;margin-bottom:48px;margin-left:34px;margin-top:34px}}
.popup__btn{background:#000;border:0;border-radius:2px;color:#fff;cursor:pointer;font-family:inherit;font-size:14px;font-weight:400;height:46px;line-height:16.94px;margin:45px auto 25px;transition:opacity .2s ease-in-out;width:238px}.popup__btn:hover{opacity:.8}@media(min-width:1024px){.popup__btn{font-size:18px;height:54.5px;line-height:21.78px;margin-left:auto;margin-right:auto;width:358px}}.popup__btn:disabled{background:#fff;border:1px solid rgba(0,0,0,.2);color:#c4c4c4;cursor:not-allowed}
.popup__btn_type_delete-card{margin:0 0 36px}
.popup__photo-container{margin:0 auto;position:relative;top:50%;transform:translateY(-50%);width:-webkit-max-content;width:-moz-max-content;width:max-content}
.popup__photo{max-height:75vh;max-width:75vw;padding-bottom:10px}
.popup__photo-description{align-self:flex-start;color:#fff;font-size:12px;font-weight:400;line-height:15px;margin:0}
.popup__close-photo-button{position:absolute;right:0;top:-52px}@media(min-width:1024px){.popup__close-photo-button{right:-45px}}
.popup_opened{opacity:1;transition:visibility 0s,opacity .5s linear;visibility:visible}


/*# sourceMappingURL=main.css.map*/