h1,h2,h3,h4,h5,h6,p{margin:0}p:last-child{margin-bottom:0}ul{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none;display:inline-block}button{cursor:pointer;border:none;outline:none}input{outline:none;padding:0;margin:0}img{display:block;width:100%;object-fit:cover;height:100%}fieldset{margin:0;padding:0;outline:none}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:16px;line-height:1.5;font-weight:400;color:#242424;background-color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{display:flex;flex-direction:column;min-width:100vw;min-height:100vh;margin:0}main{flex-grow:1}main:has(.back-link){text-align:center}.form{display:flex;flex-direction:row;gap:8px;align-items:center;min-width:288px;max-width:100%;margin:32px auto}.form label{height:100%;width:100%}.form input{border:1px solid #808080;border-radius:4px;width:100%;height:40px;padding-left:4px}.form button{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:10px;border-radius:8px;padding:8px 16px;min-width:60px;width:auto;min-height:20px;background-color:#4e75ff;font-weight:500;font-size:16px;line-height:1.5;letter-spacing:.04em;color:#fff;transition:background-color .25s ease-in-out}.form button:hover,.form button:focus{background-color:#879ff5}@media only screen and (min-width: 768px){.form{width:371px}.form label{width:auto}.form input{width:272px}}.gallery{display:flex;flex-wrap:wrap;gap:24px}.img-card{flex-basis:100%;margin:0 auto;box-shadow:0 2px 1px #2e2f4214,0 1px 1px #2e2f4229,0 1px 6px #2e2f4214;transition:transform .25s ease-in-out}.img-card:hover,.img-card:focus{transform:scale(1.015)}.img-card a{width:100%;height:200px}.card-text{display:flex;flex-direction:row;justify-content:space-between;padding:4px 12px;font-weight:400;font-size:12px;line-height:1.33333;letter-spacing:.04em;color:#2e2f42}.card-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-content-title{font-weight:600}@media only screen and (min-width: 768px){.img-card{flex-basis:calc((100% - 24px)/2)}}@media only screen and (min-width: 1200px){.img-card{flex-basis:calc((100% - 24px * 2) / 3)}}.loader-container{margin:0 auto;width:100px;height:100px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;white-space:nowrap;clip-path:inset(100%);clip:rect(0 0 0 0);overflow:hidden}.loader{width:48px;height:48px;border-width:3px;border-style:dashed solid solid dotted;border-color:#FF3D00 #FF3D00 transparent #FF3D00;border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.loader:after{content:"";box-sizing:border-box;position:absolute;left:20px;top:31px;border:10px solid transparent;border-right-color:#ff3d00;transform:rotate(-40deg)}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container{min-width:320px;max-width:375px;margin:0 auto;padding:0 16px}@media only screen and (min-width: 768px){.container{max-width:768px}}@media only screen and (min-width: 1200px){.container{max-width:1200px}}@keyframes slide{0%{transform:translate(-140%) translateY(-50%)}to{transform:translate(-104%) translateY(-50%)}}@keyframes stretch{0%{opacity:0;transform:translate(-50%) translateY(100%) scale(.2)}to{opacity:1;transform:translate(-50%) translateY(100%) scale(1)}}
