/* Other css files import */
@import url(sections/header.css);
@import url(sections/navbar.css);
@import url(sections/hero.css);
@import url(sections/feature.css);
@import url(sections/product.css);
@import url(sections/slider.css);
@import url(sections/footer.css);

/* Inner */
@import url(inner/about.css);
@import url(inner/contact.css);
@import url(inner/features.css);

/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS variables */
:root {
    --color-primary: #224A89;
    --color-secondary: #30A04D;
    --color-headings: #1b0760;
    --color-body: #918ca4;
    --color-body-darker: #5c5577;
    --border-radius: 24px;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

/* Typography */
::selection {
    background: var(--color-primary);
    color: #fff;
}

img {
    width: 100%;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    line-height: 1.4;
    background: #fff;
    color: var(--color-body);
}

h1,
h2,
h3 {
    color: var(--color-headings);
    margin-bottom: 1rem;
    line-height: 1.1;
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-top: 0;
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 8rem;
    }

    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 2.4rem;
    }
}

/* Link */
a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Lists */
.list {
    list-style: none;
    padding-left: 0;
}

.list--inline .list__item {
    display: inline-block;
    margin-right: 2rem;
}

.list--tick {
    list-style-image: url(../assets/tick.svg);
    padding-left: 3rem;
    color: var(--color-primary);
}

.list--tick .list__item {
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

@media screen and (min-width: 1024px) {
    .list--tick .list__item {
        padding-left: 0;
    }
}

/* Button */
.btn {
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 400;
    outline: 0;
    padding: 1.2rem 3rem;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    color: #fff;
    letter-spacing: 1px;
    background: var(--color-primary);
}

/* Block */
.block {
    --padding-vertical: 5rem;
    padding: var(--padding-vertical) 2rem;
}

.block__header {
    text-align: center;
    margin: 4rem auto;

}

.block__heading {
    margin-top: 0;
    color: var(--color-headings);

}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Grid */
.grid {
    display: grid;
}

@media screen and (min-width:768px) {
    .grid--1x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width:1024px) {
    .grid--1x3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Social Media */
.socialmedia {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

}

.socialmedia li {
    transition: all .3s ease;

}

.socialmedia li:hover {
    color: royalblue;
    transform: scale(1.14);

}

.socialmedia i {
    color: #fff;
    font-size: 2.5rem;
    margin-left: 0;
    cursor: pointer;


}

/* Input Form */
input,
textarea {
    border-radius: 5px;
    overflow: hidden;
    border-width: 1px;
    border-color: #dfe4f3;
    color: #999;
    font-size: 1.6rem;
    letter-spacing: 1px;
    padding: 1.6rem;
    background-color: #f8fafe;
    border: 1px solid #22498973;
    width: 100%;
    margin: 1.5rem auto;
    outline: 0;
}

textarea {
    resize: vertical;
}

::placeholder {
    font-size: 1.6rem;
}

textarea::placeholder {
    font-size: 1.6rem;
}

/* Inner hero page */
.inner {
    margin-bottom: 7rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.inner__content {
    text-align: center;
    position: absolute;
    top: 52.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
        0px 8px 13px rgba(0, 0, 0, 0.1),
        0px 16px 23px rgba(0, 0, 0, 0.1);

}

.inner__heading {
    color: #fff;
}