*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #dedede;
}

::-webkit-scrollbar-track {
    border-radius: 4px;
    background-color: #2b2b2b;
}

@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth
    }
}

/* font-face */

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Regular.ttf')
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url('../assets/fonts/Poppins-Bold.ttf')
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    color: #252525;
    font-size: 12px;
}

body div.container {
    width: 100%;
    height: 100vh;
}

a {
    color: #fff;
    text-decoration: none;
}

header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(145deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url(../assets/images/hero.jpg);
}

header.products {
    height: 60vh;
}

header.products div.hero-text {
    margin-top: 15vh;
}

nav {
    padding: 24px 32px;
}

nav>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a.web-logo {
    font-size: 18px;
    font-weight: bold;
}

nav div.links a {
    margin: 0 18px;
    color: #fff;
}

header div.hero-text {
    margin-top: 40vh;
    color: #fff;
    text-align: center;
}

header div.hero-text>* {
    margin: 12px 0;
}

header div.hero-text h1 {
    font-size: 42px;
}

header div.hero-text button {
    margin: 20px 0;
    padding: 10px 32px;
    color: #fff;
    border: 0.5px solid rgba(255, 255, 255, 0.397);
    background-color: transparent;
}

/* section */

section {
    padding: 15px;
    min-height: 400px;
}

section>div.header {
    text-align: center;
    margin: 10px 0 60px;
}

section div.header h1 {
    font-family: 'Poppins-Bold';
    font-size: 28px;
}

section>div.header hr {
    width: 100px;
    margin: auto;
    color: rgba(0, 0, 0, 0.103);
}

section div.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

section div.content>div {
    margin: 10px 28px 20px;
}

/* wrapper */

section.section {
    display: flex;
    align-items: center;
    justify-content: center;
}

section div.wrapper {
    width: 55%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

div.wrapper>div {
    padding: 4px 12px;
}

div.wrapper>div img {
    width: 360px;
    height: 200px;
}

div.header hr {
    width: 90px;
}


section button {
    margin: 20px 0;
    padding: 10px 32px;
    color: rgb(0, 0, 0);
    border: 0.5px solid rgba(0, 0, 0, 0.397);
    background-color: transparent;
}

/* card */

div.card {
    width: 260px;
    margin: 12px 28px;
}

div.card img {
    width: 260px;
    height: 230px;
    cursor: pointer;
    border-radius: 4px;
}

div.card div.desc {
    text-align: left;
    padding: 8px 8px 0;
    font-size: 18px;
}

div.desc p.text {
    padding: 0px;
    font-family: 'Poppins';
    font-size: 12px;
}

div.desc button {
    cursor: pointer;
}

/* card */

div.product img {
    width: 150px;
    height: 230px;
    margin: 12px 0;
    object-fit: contain;
    border: 1px solid #2c2c2c42;
    box-shadow: 0px 2px 1px 0px rgb(0 0 0 / 7%);
}

div.product {
    margin: 12px 18px;
    display: flex;
    width: 500px;
    font-family: 'Poppins-Bold';
    text-align: center;
}

div.testimony-card {
    margin: 0 46px;
    display: flex;
    grid-gap: 12px;
    width: 360px;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    box-shadow: -1px 1px 1px 0px rgb(42 42 42 / 8%);
}

div.testimony-card img {
    margin: 0 8px;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 100%;
}

/* result */

div.result {
    padding: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

div.result>div {
    margin: 0 8px;
    width: 360px;
}

div.result img {
    width: inherit;
}

div.pp {
    font-size: 14px;
}

/* modal */

div.overlay {
    z-index: 1;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 60px 10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

div.overlay div.modal {
    border-radius: 4px;
    margin: 0 auto;
    width: 680px;
    height: 500px;
	overflow-y: auto;
    background-color: #ffffff;
}

div.modal h1 {
    padding: 12px 15px;
}

div.modal-card {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px;
}

div.modal-card>* {
    width: 50%;
    text-align: center;
    padding: 20px 0;
}

div.modal-card img {
    width: inherit;
    object-fit: contain;
    border: 1px solid #2c2c2c42;
    box-shadow: 0px 2px 1px 0px rgb(0 0 0 / 7%);
}

div.modal-card div.desc {
    text-align: left;
    padding: 10px 8px 0;
    font-size: 18px;
    line-height: 23px;
    font-weight: bold;
}

div.desc {
    padding: 60px 0;
}

div.desc p.text {
    padding: 6px 0;
    font-family: 'Poppins';
    font-weight: 300 !important;
    font-size: 12px;
}

div.card-img button {
    margin: 15px 0;
    padding: 9px 36px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-family: inherit;
    font-weight: bold;
    background-color: #0e0e0e;
}

@keyframes fade-in-modal {
    0% {
        opacity: 0;
        transform: translateY(-500px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-modal {
    animation: fade-in-modal 1s ease;
}


.none {
    display: none !important;
}

/* footer */
footer {
    width: 100%;
    color: #000;
    background-color: #f8f8f8;
}

footer a.footer-logo {
    color: #000;
    font-size: 22px;
    font-weight: bold;
}

footer div.wrapper {
    padding: 40px 160px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.4);
}

footer div.copyright-text {
    padding: 2px 160px 30px;
}

footer div.wrapper,
footer div.copyright-text {
    display: flex;
    justify-content: space-between;
}

footer div.wrapper p {
    width: 60%;
    text-align: center;
}

/* icons */

*[class*='icon'] {
    margin: 0 8px;
    padding: 16px;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

i[class*='icon'] {
    padding: 10px;
}

/* nav */

.icon-facebook {
    background-image: url('../assets/icons/facebook.png');
}

.icon-telegram {
    background-image: url('../assets/icons/telegram.png');
}

.icon-twitter {
    background-image: url('../assets/icons/twitterx.png');
}

.icon-instagram {
    background-image: url('../assets/icons/instagram.png');
}

.icon-tiktok {
    background-image: url('../assets/icons/tiktok.png');
}


/* mobile device */

@media only screen and (max-width: 820px) {

    /* section img */
    section div.wrapper {
        margin: auto;
        width: auto;
    }

    div.wrapper>div img {
        width: 100%;
    }

    /* section */

    div.card {
        margin: 10px 16px;
    }

    /* footer */

    footer>div {
        height: auto !important;
        flex-direction: column;
        padding: 28px 80px !important;
    }
}

@media only screen and (max-width: 600px) {

    /* header */
    header nav {
        padding: 16px 12px;
    }

    header nav div.links a {
        margin: 0 10px;
    }

    header div.hero-text h1 {
        font-size: 36px;
    }

    header div.hero-text p {
        font-size: 12px;
    }

    /* modal */

    div.overlay div.modal {
		padding: 2px;
        height: auto;
        width: auto;
    }

    div.modal-card>* {
        width: 100%;
    }

    div.modal-card {
        height: 500px;
        overflow: auto;
        flex-direction: row-reverse;
    }

    div.modal-card img {
        width: 100%;
    }

    /* section */

    div.card {
        margin: 16px 0px;
    }

    section div.content>div {
        margin: 8px;
    }

    div.testimony-card {
        margin: 18px 0;
    }

	div.product {
		width: 330px;
	}

	div.product img {
		height: min-content;
	}

	div.card div.desc {
		padding: 4px;
	}

	div.card div.desc p  {
		font-size: 14px;
	}

	div.card div.desc p.text  {
		font-size: 11px;
	}

	div.card div.desc button {
		margin: 8px 0;
	}

    /* footer */
    footer {
        height: auto;
    }

    footer>div {
        height: auto !important;
        padding: 16px 22px !important;
        flex-direction: column;
    }
}