:root {
    --navy: #062b49;
    --green: #00954c;
    --muted: #5b6c7b;
    --line: #dce5ec
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px
}

body {
    margin: 0;
    color: var(--navy);
    font: 14px/1.65 Arial, Helvetica, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #28b6df;
    outline-offset: 3px
}

.container {
    width: min(1230px, calc(100% - 64px));
    margin: auto
}

.top {
    background: var(--navy);
    color: #fff;
    font-size: 10px
}

.top .container {
    display: flex;
    justify-content: space-between;
    padding: 6px 0
}

header {
    position: sticky;
    top: 0;
    z-index: 25;
    background: #fff;
    box-shadow: 0 2px 8px #062b4910
}

.headmain {
    display: flex;
    align-items: center;
    gap: 45px;
    min-height: 95px
}

.logo {
    display: block;
    width: 230px;
    height: 90px;
    flex-shrink: 0
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.search {
    display: flex;
    flex: 1;
    border: 1px solid #d2dfe8;
    background: #f4f7fa;
    height: 39px;
    position: relative
}

.search input {
    margin: 0;
    padding: 0 13px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 12px;
    width: 100%
}

.search button {
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 25px;
    padding: 0 14px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    background: var(--green);
    color: white;
    padding: 11px 20px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, transform .2s;
    white-space: nowrap
}

.btn:hover {
    background: #007e40;
    border-color: #007e40;
    transform: translateY(-2px)
}

.quote {
    font-size: 11px
}

.menutoggle {
    display: none
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    font-size: 11px;
    font-weight: 700;
    min-height: 44px
}

nav>a {
    padding: 13px 0;
    border-bottom: 2px solid transparent
}

nav>a:hover {
    border-color: var(--green);
    color: var(--green)
}

.dropdown {
    position: relative
}

.dropdown>button {
    background: none;
    border: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    padding: 13px 0;
}

.dropcontent {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    width: 240px;
    box-shadow: 0 12px 30px #062b4925;
    border: 1px solid var(--line);
    padding: 10px;
    background: #fff
}

.dropcontent button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 11px;
    font-size: 11px;
    color: var(--navy)
}

.dropcontent button:hover {
    background: #f0f6f4;
    color: var(--green)
}

.dropdown:hover .dropcontent,
.dropdown:focus-within .dropcontent,
.dropdown.open .dropcontent {
    display: block
}

.hero {
    height: 450px;
    position: relative;
    overflow: hidden;
    background: #e3ebf0
}

.heropic {
    position: absolute;
    inset: 0;
    background: url('assets/banner.webp') 60% center/cover;
    transition: background .6s;
    animation: zoom 17s ease-in-out infinite alternate
}

.hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center
}

.herocopy {
    background: #062b49e8;
    color: #fff;
    padding: 36px;
    width: 445px;
    max-width: 55%;
    backdrop-filter: blur(3px)
}

h1 {
    font-size: 37px;
    line-height: 1.15;
    letter-spacing: -.6px;
    margin: 0 0 20px
}

h2 {
    font-size: 25px;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    letter-spacing: -.5px
}

h3 {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 8px
}

p {
    margin: 0 0 18px
}

.herocopy p {
    font-size: 16px;
    line-height: 1.5
}

.actions {
    display: flex;
    gap: 14px;
    margin-top: 23px
}

.outline {
    background: none;
    border-color: #fff;
    color: #fff
}

.outline:hover {
    background: #ffffff15;
    border-color: #fff
}

.slidercontrols {
    position: absolute;
    bottom: 18px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #062b49c9;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px
}

.slidercontrols button {
    border: 0;
    background: none;
    color: #fff;
    font-size: 20px;
    padding: 0 4px;
    line-height: 1.2
}

.slidercontrols .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff7;
    padding: 0
}

.slidercontrols .dot.active {
    background: #42d19a
}

.slidercontrols #pause {
    font-size: 11px;
    margin-left: 5px
}

.quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

.quick>a,
.quick>button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 20px;
    border: 0;
    border-right: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    text-align: left
}

.quick>a:first-child {
    padding-left: 0
}

.quick>a:last-child {
    border: 0
}

.quick>button {
    font-size: 14px
}

.quick span {
    font-size: 30px;
    line-height: 1
}

.quick strong {
    display: block;
    font-size: 16px
}

.quick small {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px
}

.quick b {
    margin-left: auto;
    font-size: 20px;
    font-weight: 400
}

.section {
    padding-top: 40px;
    padding-bottom: 40px
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px
}

.heading>a {
    color: var(--green);
    font-size: 15px;
    font-weight: 700
}

.heading p,
.heading small {
    font-size: 15px;
    color: var(--muted);
    margin: 0
}

.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.category {
    border: 1px solid var(--line);
    background: #fff;
    transition: box-shadow .25s, transform .25s
}

.category:hover {
    box-shadow: 0 8px 25px #062b4912;
    transform: translateY(-4px)
}

.imagebutton {
    border: 0;
    background: none;
    width: 100%;
    padding: 0;
    display: block
}

.photo {
    display: block;
    background-image: url('assets/motor.png');
    background-size: 200% 300%;
    background-repeat: no-repeat
}
.photo2 {
    display: block;
    background-image: url('assets/industrial-motor-284x190.png');
    background-size: 200% 300%;
    background-repeat: no-repeat
}
.photo3 {
    display: block;
    background-image: url('assets/vertical-motors-284x190.png');
    background-size: 200% 300%;
    background-repeat: no-repeat
}
.photo4 {
    display: block;
    background-image: url('assets/sliprings-284x190.png');
    background-size: 200% 300%;
    background-repeat: no-repeat
}

.motor {
    background-position: 0 0
}

.slip {
    background-position: 100% 0
}

.vertical {
    background-position: 0 50%
}

.cutaway {
    background-position: 100% 50%
}

.technician {
    background-position: 0 100%
}

.warehouse {
    background-position: 100% 100%
}

.accessory,
.pumps,
.fans,
.compressors {
    background-image: url('assets/applications.webp');
    background-size: 100%
}

.accessory {
    background-position: 0 0
}

.pumps {
    background-position: 100% 0
}

.fans {
    background-position: 0 100%
}

.compressors {
    background-position: 100% 100%
}

.category .photo {
    height: 190px
}

.category>div {
    padding: 15px
}

.category h3 {
    font-size: 16px
}

.category p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    min-height: 30px;
    margin-bottom: 10px
}

.link {
    border: 0;
    background: none;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    padding: 0;
    text-align: left
}

.category .link {
    display: flex;
    width: 100%;
    justify-content: space-between
}

.stocksection {
    background: #eef3f7
}

.filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end
}

label {
    display: block;
    font-size: 10px;
    font-weight: 700
}

input,
select,
textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4dfe8;
    background: white;
    color: var(--navy);
    border-radius: 3px;
    margin-top: 6px;
    font-size: 11px
}

.filters .btn {
    height: 39px
}

.filters label {
    font-size: 15px
}

#searchstatus {
    font-size: 10px;
    color: var(--muted);
    margin: 13px 0
}

.listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.listing {
    background: #fff;
    display: grid;
    grid-template-columns: 55% minmax(0, 1fr);
    padding: 17px;
    gap: 10px;
    border-radius: 3px
}

.listing .photo {
    height: 145px;
    align-self: center
}

.listing h3 {
    font-size: 16px;
    margin-bottom: 12px
}

.listing dl {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 4px 8px;
    margin: 0 0 12px;
    font-size: 10px;
    color: var(--muted)
}

dd {
    margin: 0
}

.listing .link {
    font-size: 10px
}

.listing[hidden] {
    display: none
}

#accessoryresult,
#noresults {
    background: #fff;
    padding: 25px;
    border-radius: 3px;
    font-size: 12px
}

[hidden] {
    display: none !important
}

.company {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center
}

.company>.photo {
    height: 310px
}

.companycopy {
    padding-right: 20px
}

.eyebrow {
    display: block;
    color: var(--green);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: .4px
}

.company h2 {
    font-size: 29px;
    margin-bottom: 20px
}

.company p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8
}

.company .btn {
    font-size: 11px
}

.applicationgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.applicationgrid button {
    border: 1px solid var(--line);
    padding: 0;
    background: white;
    text-align: left;
    color: var(--navy)
}

.applicationgrid .photo {
    height: 180px
}

.applicationbody {
    display: block;
    padding: 14px;
    position: relative
}

.applicationbody strong {
    font-size: 13px;
    display: block
}

.applicationbody small {
    font-size: 10px;
    display: block;
    margin: 5px 20px 0 0;
    color: var(--muted)
}

.applicationbody b {
    position: absolute;
    right: 15px;
    top: 20px;
    color: var(--green)
}

.process {
    background: var(--navy);
    color: #fff
}

.process h2 {
    margin-bottom: 25px
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.steps h3 {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px
}

.steps h3 span {
    background: var(--green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.steps p {
    font-size: 10px;
    color: #c6d7e0;
    min-height: 35px;
    margin: 12px 0 16px
}

.steps .photo {
    height: 140px;
    border: 1px solid #ffffff45
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.gallery button {
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden
}

.gallery .photo {
    height: 190px;
    transition: transform .4s
}

.gallery button:hover .photo {
    transform: scale(1.04)
}

.enquirysection {
    background: #edf2f6
}

.enquirysection .heading h2 {
    font-size: 23px
}

.enquirysection .heading p {
    margin-top: 8px
}

.contactgrid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px
}

.formrow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px
}

.message {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 14px
}

.message .btn {
    margin-top: 18px
}

.enquirysection form>small {
    font-size: 9px;
    display: block;
    color: var(--muted);
    margin-top: 12px
}

.contactgrid aside {
    border-left: 1px solid #cbd8e2;
    padding-left: 30px;
    padding-top: 10px
}

.contactphone {
    font-size: 18px;
    font-weight: bold
}

.contactgrid aside p {
    font-size: 10px;
    color: var(--muted);
    margin: 7px 0 22px;
    line-height: 1.7
}

.contactgrid aside strong {
    font-size: 14px
}

footer {
    background: var(--navy);
    color: #fff
}

.footergrid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 45px;
    padding: 35px 0
}

.footerlogo {
    background: #fff;
    display: block;
    width: 220px;
    height: 100px
}

.footerlogo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.footergrid strong {
    font-size: 17px;
    display: block;
    margin-bottom: 12px
}

.footergrid div a,
.footergrid div button {
    display: block;
    color: #ccdbe5;
    font-size: 15px;
    background: none;
    border: 0;
    padding: 0;
    margin: 6px 0;
    text-align: left
}

.footergrid div p {
    font-size: 15px;
    color: #ccdbe5;
    margin: 8px 0
}

.copyright {
    border-top: 1px solid #ffffff25;
    padding: 16px 0;
    font-size: 9px;
    color: #c1d4df;
    display: flex;
    gap: 4px
}

.copyright>span:last-child {
    margin-left: auto
}

.whatsapp {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #008e43;
    border: 2px solid #fff;
    box-shadow: 0 5px 20px #062b4930;
    color: #fff;
    font-size: 10px;
    padding: 9px 17px;
    border-radius: 25px;
    z-index: 20
}

dialog {
    border: 0;
    padding: 30px;
    border-radius: 8px;
    width: min(900px, 92vw);
    color: var(--navy)
}

dialog::backdrop {
    background: #03263dbb;
    backdrop-filter: blur(5px)
}
#mainnav {
    font-size: 20px;
    background: black;
    color: white;
}
.dialoggrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center
}

.dialoggrid>.photo {
    height: 330px
}

.dialoggrid h2 {
    font-size: 25px;
    margin-bottom: 18px
}

.dialoggrid p {
    font-size: 12px;
    color: var(--muted)
}

.dialoggrid dl {
    font-size: 11px;
    line-height: 1.8;
    margin: 20px 0
}

.dialoggrid dt {
    font-weight: bold;
    margin-top: 12px
}

.dialoggrid dd {
    color: var(--muted)
}

.close {
    position: absolute;
    right: 13px;
    top: 10px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    font-size: 25px;
    color: var(--navy);
    width: 30px;
    height: 30px;
    z-index: 3
}

#galleryimage {
    height: min(65vw, 530px)
}

#gallerydialog p {
    font-size: 10px;
    color: var(--muted);
    margin: 12px 0 0
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@keyframes zoom {
    to {
        transform: scale(1.045)
    }
}

@media(max-width:1000px) {
    .container {
        width: calc(100% - 44px)
    }

    .headmain {
        gap: 25px
    }

    .logo {
        width: 180px
    }

    .headmain .quote {
        font-size: 10px;
        padding: 10px 15px
    }

    nav {
        gap: 25px
    }

    .hero {
        height: 400px
    }

    .herocopy {
        padding: 28px;
        width: 390px
    }

    h1 {
        font-size: 32px
    }

    .quick>a,
    .quick>button {
        padding: 5px 13px;
        gap: 10px
    }

    .quick span {
        font-size: 24px
    }

    .quick strong {
        font-size: 11px
    }

    .quick small {
        font-size: 8px
    }

    .categories {
        gap: 12px
    }

    .category .photo {
        height: 155px
    }

    .category>div {
        padding: 13px
    }

    .category h3 {
        font-size: 12px
    }

    .listing {
        grid-template-columns: 1fr;
        padding: 16px
    }

    .listing .photo {
        height: 160px
    }

    .listing h3 {
        font-size: 13px
    }

    .listing dl {
        font-size: 10px
    }

    .filters {
        gap: 12px
    }

    .filters .btn {
        font-size: 10px;
        padding: 10px 12px
    }

    .company {
        gap: 30px
    }

    .company h2 {
        font-size: 25px
    }

    .company>.photo {
        height: 300px
    }

    .steps {
        gap: 16px
    }

    .steps h3 {
        font-size: 10px
    }

    .contactgrid {
        grid-template-columns: 2.5fr 1fr;
        gap: 25px
    }

    .contactphone {
        font-size: 16px
    }

    .footergrid {
        gap: 25px
    }

    .footerlogo {
        width: 180px
    }
}

@media(max-width:700px) {
    html {
        scroll-padding-top: 128px
    }

    .container {
        width: calc(100% - 32px)
    }

    .top {
        font-size: 9px
    }

    .headmain {
        min-height: 106px;
        height: auto;
        gap: 15px;
        flex-wrap: wrap;
        padding-top: 6px;
        padding-bottom: 10px
    }

    .logo {
        width: 135px;
        height: 55px
    }

    .headmain .quote {
        margin-left: auto;
        font-size: 9px;
        padding: 9px 11px
    }

    .menutoggle {
        display: block;
        border: 1px solid var(--line);
        background: #fff;
        color: var(--navy);
        font-size: 18px;
        padding: 1px 8px;
        border-radius: 3px
    }

    .search {
        flex: 1 0 100%;
        height: 34px;
        order: 4
    }

    .search input {
        font-size: 10px
    }

    .search button {
        font-size: 22px
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        width: 100% !important;
        padding: 16px;
        box-shadow: 0 15px 20px #062b4920;
        max-height: 65vh;
        overflow: auto
    }

    nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    nav>a {
        padding: 11px 0
    }

    .dropdown>button {
        padding: 11px 0
    }

    .dropcontent {
        position: static;
        width: 100%;
        box-shadow: none
    }

    .hero {
        height: 400px
    }

    .heropic {
        background-position: 68% center
    }

    .hero .container {
        align-items: end;
        padding-bottom: 65px
    }

    .herocopy {
        max-width: 100%;
        width: 100%;
        padding: 23px;
        background: #062b49e5
    }

    h1 {
        font-size: 28px;
        margin-bottom: 14px
    }

    .herocopy p {
        font-size: 13px
    }

    .actions {
        gap: 10px;
        margin-top: 18px
    }

    .actions .btn {
        font-size: 10px;
        padding: 9px 15px
    }

    .slidercontrols {
        bottom: 15px;
        right: 0;
        font-size: 12px
    }

    .quick {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 10px 0
    }

    .quick>a,
    .quick>button {
        padding: 14px 7px !important;
        border-bottom: 1px solid var(--line);
        gap: 10px
    }

    .quick>a:nth-child(2) {
        border-right: 0
    }

    .quick>button:nth-child(3) {
        border-bottom: 0
    }

    .quick>a:last-child {
        border-bottom: 0
    }

    .quick span {
        font-size: 22px
    }

    .quick strong {
        font-size: 10px
    }

    .quick small {
        font-size: 7px
    }

    .quick b {
        font-size: 17px
    }

    .section {
        padding: 30px 0
    }

    .heading {
        align-items: start;
        gap: 12px;
        margin-bottom: 17px;
        flex-wrap: wrap
    }

    h2 {
        font-size: 21px
    }

    .heading>a {
        font-size: 9px
    }

    .heading p,
    .heading small {
        font-size: 9px
    }

    .categories {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .category .photo {
        height: 150px
    }

    .category>div {
        padding: 12px
    }

    .category h3 {
        font-size: 12px
    }

    .category p {
        font-size: 9px;
        min-height: 40px
    }

    .category .link {
        font-size: 9px
    }

    .filters {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .filters .btn {
        grid-column: 1/-1;
        font-size: 11px
    }

    .filters input,
    .filters select {
        font-size: 10px
    }

    .filters label {
        font-size: 9px
    }

    #searchstatus {
        font-size: 9px;
        margin: 14px 0
    }

    .listings {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .listing {
        grid-template-columns: 35% minmax(0, 1fr);
        padding: 15px;
        gap: 12px
    }

    .listing .photo {
        height: 150px
    }

    .listing h3 {
        font-size: 12px
    }

    .listing dl {
        font-size: 9px
    }

    .company {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .company>.photo {
        height: 240px
    }

    .companycopy {
        padding: 0
    }

    .company h2 {
        font-size: 24px;
        margin-bottom: 16px
    }

    .company p {
        font-size: 11px
    }

    .company .btn {
        font-size: 10px
    }

    .applicationgrid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .applicationgrid .photo {
        height: 200px
    }

    .applicationbody {
        padding: 13px
    }

    .applicationbody strong {
        font-size: 13px
    }

    .applicationbody small {
        font-size: 10px
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 25px 16px
    }

    .process h2 {
        font-size: 22px
    }

    .steps h3 {
        font-size: 11px;
        align-items: start;
        gap: 8px
    }

    .steps h3 span {
        width: 21px;
        height: 21px
    }

    .steps p {
        font-size: 9px;
        min-height: 44px;
        line-height: 1.6;
        margin: 10px 0 12px
    }

    .steps .photo {
        height: 130px
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .gallery .photo {
        height: 240px
    }

    .contactgrid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .enquirysection .heading h2 {
        font-size: 21px
    }

    .formrow {
        grid-template-columns: 1fr;
        gap: 13px
    }

    .message {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .message .btn {
        margin: 0;
        justify-self: start;
        font-size: 11px
    }

    .contactgrid aside {
        border-left: 0;
        border-top: 1px solid #cbd8e2;
        padding: 23px 0 0
    }

    .contactphone {
        font-size: 20px
    }

    .contactgrid aside p {
        font-size: 11px;
        margin-bottom: 18px
    }

    .footergrid {
        grid-template-columns: 1fr 1fr;
        gap: 25px
    }

    .footerlogo {
        width: 200px;
        height: 90px;
        grid-column: 1/-1
    }

    .copyright {
        flex-wrap: wrap;
        padding-bottom: 70px;
        font-size: 8px
    }

    .copyright>span:last-child {
        width: 100%;
        margin-left: 0
    }

    .whatsapp {
        font-size: 9px;
        padding: 8px 14px
    }

    .dialoggrid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .dialoggrid>.photo {
        height: 220px
    }

    .dialoggrid h2 {
        font-size: 23px
    }

    .dialoggrid .btn {
        font-size: 10px
    }

    dialog {
        padding: 30px 22px
    }

    .dialoggrid p {
        font-size: 11px
    }

    #galleryimage {
        height: 60vw
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }
}