@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    font-size: 2.3rem;
    font-weight: lighter;
    background-color: #000;
    color: #fff;
    font-family: "Roboto", sans-serif;
}
.header {
    background-color: #223e71;
}
.main {
    padding: 0 7.3rem;
}

.section img {
    width: 100%;
}
.heading-top {
    font-size: 2.8rem;
    text-align: center;
    margin: 1rem auto;
    font-weight: 500;
    width: 80%;
}
.header nav {
    display: flex;
    min-height: 11rem;
    width: 90%;
    margin: 0 auto;

    align-items: center;
}

.logo-box img {
    height: 5rem;
    width: auto;
}
.header-title {
    flex: 1;
    color: #fff;
    margin-top: -0.6rem;
    font-size: 4rem;
    text-transform: uppercase;
}
.header-btn {
    background-color: rgb(1, 122, 1);
    padding: 1.6rem 7.2rem;
    color: #fff;
    font-size: 2rem;
    border: none;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 1rem;
}
.header-btn:hover {
    transform: scale(1.1);
}
.section__1 h2 {
    font-size: 4.8rem;
    text-decoration: underline;
    text-align: center;
    margin: 0.8rem 0;
}
.section--list {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 2rem;
    margin: 1.2rem 0;
    flex-direction: column;
}
.flex {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}
.flex img {
    width: 60rem;

    height: auto;
}
.heading-btw {
    margin: 1rem 0;
    text-align: center;
    text-decoration: underline;
    font-size: 4rem;
}
.section--list p {
    text-decoration: underline;
}
.cards--wrapper {
    margin: 3rem 0;
    text-align: center;
}
.cards--wrapper h3 {
    margin-bottom: 1rem;
}
.cards {
    display: grid;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 27rem));
    grid-column-gap: 4rem;
    grid-row-gap: 2rem;
    justify-content: center;
    list-style: none;
}
.card img {
    width: 100%;
}
.section--flex--cards {
    display: flex;
    padding-top: 1rem;
    width: 99%;
    margin: 0 auto;
    justify-content: space-between;
}
.section__1 {
    position: relative;
}
.flex--card {
    width: 40rem;
}
.flex--card img {
    width: 100%;
}
.btn--wrapper {
    display: flex;
    align-items: center;
}
.btn--log--in {
    background-color: rgb(1, 122, 1);
    padding: 1.6rem 0;
    color: #fff;
    display: block;
    width: 100%;
    margin-top: 6rem;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    margin-bottom: 12rem;
    border: none;
    font-weight: 600;
    border-radius: 1rem;
    transition: all 0.3s ease;
}
.btn--log--in:hover {
    background-color: #136baf;
}
.footer {
    background-color: #dcddeb;
    padding: 1rem 0 4rem 0;
    text-align: center;
    color: #000;
}
.inner--footer {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer p {
    font-size: 1.8rem;
}
.af-body {
    position: absolute;
    bottom: 10%;
    left: 3%;
    height: 16%;
    gap: 0.8rem;
    scroll-margin-top: 20rem;
    display: flex;
    align-items: flex-start;
}
.af-textWrap {
    display: block;
    height: 7rem;
    width: 46rem;
    position: relative;
}
.af-textWrap input {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    padding-left: 1rem;
    border-radius: 1rem;
    transition: all 0.4s ease;
}
.af-textWrap input:focus {
    outline: none;
}
.buttonContainer {
    /* min-height: 100%; */
    height: 7rem;
    width: 16rem;
    position: relative;
}
.submit {
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    border: none;
    font-size: 1.8rem;
    line-height: 0;
    position: absolute;
    background-color: rgb(169, 3, 3);
    color: #fff;
}
.scale-once {
    transform: scale(1.04);
}
.anim img,
.anim {
    transition: all 0.2s ease;
}
.anim img:hover {
    transform: scale(1.0000004);
}
.anim:hover {
    transform: scale(1.04);
}
.form input:picture-in-picture {
    transform: scale(1.1);
}
.btn-cta {
    background-color: rgb(28, 105, 199);
    color: #fff;
    font-size: 2rem;
    border: none;
    font-weight: 600;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 1rem 3.9rem;
}
.btn-cta:hover {
    transform: scale(1.1);
}

/* //blog */

.blog-main {
    /* text-align: center; */
    margin: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-blog {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.content-blog h1 {
    text-align: center;
    font-size: 4rem;
}
.content-blog h3 {
    font-size: 2.6rem;
    text-align: center;
}
.content-blog h6 {
    font-size: 2.6rem;
}
.content-blog p {
    text-align: left;
    line-height: 28px;
    font-size: 2rem;
    font-weight: 400;
}
.content-blog ul li {
    margin: 1rem 0;
    font-size: 2rem;
    font-weight: 400;
}
.content-blog img {
    border-radius: 2rem;
    height: 50rem;
    width: auto;
    object-fit: cover;
}

/*  */

@media (max-width: 72em) {
    .af-textWrap {
        height: 5.6rem;
        width: 38rem;
    }
    .buttonContainer {
        height: 5.6rem;
    }
}
@media (max-width: 54.625em) {
    .main {
        padding: 0 3rem;
    }
    .af-textWrap {
        /* height: 16%; */
        width: 30rem;
        height: 4.4rem;
    }
    .af-textWrap input {
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    .buttonContainer {
        height: 4.4rem;
    }
    .section--flex--cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}
@media (max-width: 45.4375em) {
    .form {
        height: 16%;
        width: 60%;
    }
    .btn-cta {
        font-size: 1.3rem;
        padding: 1rem 1.8rem;
        line-height: 0;
    }
    .af-textWrap input {
        font-size: 1rem;
        padding-left: 1rem;
    }
}
@media (max-width: 42.125em) {
    .header-title {
        font-size: 2.3rem;
    }
    .header-btn {
        padding: 1.6rem 3.2rem;
        font-size: 1.4rem;
    }
    .logo-box img {
        height: 3rem;
    }
    .af-textWrap {
        width: 25rem;
        height: 4rem;
    }
    .buttonContainer {
        height: 4rem;
    }
    .submit {
        font-size: 1.4rem;
        width: 70%;
        height: 100%;
    }
    .header nav {
        display: flex;
        min-height: 8rem;
    }
}

@media (max-width: 39.625em) {
    .af-textWrap {
        width: 22rem;
        height: 3rem;
    }
    .buttonContainer {
        height: 3rem;
    }
    .submit {
        font-size: 1.4rem;
        width: 70%;
        height: 100%;
    }
}
@media (max-width: 30.75em) {
    /* .btn-cta {
      padding: 1.4rem 2rem;
      transform: translateY(-0.2rem);
    } */
    .section--list {
        text-align: center;
    }
    .flex {
        gap: 0.3rem;
        justify-content: center;
    }
    .heading-top {
        font-size: 2rem;
    }
    .section__1 h2 {
        font-size: 2rem;
    }
    .section--list {
        font-size: 1.6rem;
    }
    .flex img {
        width: 30rem;

        height: auto;
    }
    .af-body {
        bottom: 12%;
    }
    .af-textWrap {
        width: 18rem;
        height: 2.8rem;
    }
    .af-textWrap input {
        border-radius: 2px;
        border: none;
        font-size: 0.8rem;
        padding-left: 0.4rem;
    }
    .af-textWrap input:active {
        border: none;
        outline: none;
    }
    .buttonContainer {
        height: 2.8rem;
        margin-left: -0.3rem;
    }
    .submit {
        font-size: 1rem;
        border-radius: 3px;

        width: 40%;
        height: 100%;
    }
}

@media (max-width: 27.625em) {
    .main {
        padding: 0 1rem;
    }
    .header-title {
        font-size: 1.5rem;
    }
    .flex--card {
        width: 32rem;
    }
    .logo-box img {
        height: 2rem;
    }
    .header-btn {
        padding: 1rem 2.2rem;
        font-size: 1.2rem;
    }
    .inner--footer {
        width: 90%;
    }
    .footer p {
        font-size: 1.6rem;
    }
    .btn--log--in {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    .af-body {
        bottom: 10%;
    }
    .af-textWrap {
        width: 16rem;
        height: 2.5rem;
    }
    .af-textWrap input {
        border-radius: 2px;
        border: none;
    }
    .buttonContainer {
        height: 2.5rem;
        margin-left: -0.3rem;
    }
    .submit {
        font-size: 1rem;
        width: 40%;
        height: 100%;
    }
}
@media (max-width: 25.0625em) {
    .content-blog {
        width: 90%;
    }
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(32rem, 32rem));
    }
    .af-body {
        bottom: 10%;
    }
    .af-textWrap {
        width: 16rem;
        height: 2rem;
    }
    .af-textWrap input {
        border-radius: 2px;
        border: none;
    }
    .buttonContainer {
        height: 2rem;
        margin-left: -0.3rem;
    }
    .submit {
        font-size: 1rem;
        width: 40%;
        height: 100%;
    }
}
@media (max-width: 24.375em) {
    .form {
        bottom: 13%;
    }
    .btn-cta {
        font-size: 1rem;
        padding: 0.6rem 1.6rem;
    }
}

@media (min-width: 109.375em) {
    .af-body {
        bottom: 8%;
    }
    .af-textWrap {
        display: block;
        height: 7rem;
        width: 58rem;
    }
}

img.try:hover {
    transform: unset;
}

.mtx-btn {
    cursor: pointer;
}
