/*=========IMPORTING FONTS========== */

@font-face {
    font-family: gentona-bold;
    src: url("/assets/fonts/Gentona\ Bold.otf");
}

@font-face {
    font-family: gentona-medium;
    src: url("/assets/fonts/Gentona\ Medium.otf");
}

@font-face {
    font-family: gentona-book;
    src: url("/assets/fonts/Gentona\ Book.otf");
}

@font-face {
    font-family: avenir-bold;
    src: url("/assets/fonts/AvenirNextLTPro-Bold.otf");
}

@font-face {
    font-family: avenir-italic;
    src: url("/assets/fonts/AvenirNextLTPro-It.otf");
}

@font-face {
    font-family: avenir-regular;
    src: url("/assets/fonts/AvenirNextLTPro-Regular.otf");
}


/*============GENERAL============= */

h1,
h2,
h3,
p {
    margin: 0;
    /**/
}

ul {
    margin: 0;
    list-style: none;
    /**/
}

a {
    /**/
    text-decoration: none;
}


/*============BASE============= */

html {
    font-size: 14.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    width: 100%;
    padding: 0.5rem 3rem;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    width: 140px;
}

.navbar .navbar-nav .nav-item {
    margin-right: 1rem;
}

.navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-item .nav-link {
    font: 1.2rem gentona-bold;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    width: 0;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.2s ease;
    background: #ed2024;
}

.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav {
    margin-left: auto;
}

.navbar .navbar-toggler {
    font-size: 2.6rem;
    color: #fff;
    border: none;
    padding: 0;
}

.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    box-shadow: none;
}


/*=======HERO SECTION STYLING STARTS======== */

.hero {
    position: relative;
}

.hero-section-img {
    height: 45vh;
}

.hero-section-img img {
    width: 100%;
    height: 100%;
}

.hero-section-title {
    position: absolute;
    left: 5rem;
    bottom: 2rem;
    z-index: 10;
    /* padding: 0 0 2rem 5rem; */
}

.hero-section-title h1 {
    font: 3.5rem gentona-bold;
    position: relative;
    padding-bottom: 0.375rem;
    color: #fff;
}

.hero-section-title h1::after,
.future-gigafactory-title h2::after,
.first-gigafactory-title h2::after {
    content: "";
    display: inline-block;
    width: 11.5rem;
    height: 0.21875rem;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0.1rem;
    background-color: #ed2024;
}


/*=======HERO SECTION STYLING ENDS======== */


/*=======DESCRIPTION SECTION STYLING STARTS======== */

.description {
    margin-top: 5rem;
}

.description.second {
    margin-top: 6.5rem;
}

.description-content {
    padding-left: 1.8rem;
}

.description-content h2 {
    font: 1.5rem gentona-bold;
}

.description-content p {
    font: 1.3rem gentona-book;
    margin-top: 0.5rem;
}

.factory-title {
    text-align: center;
    margin-top: 0.6rem;
}

.factory-title p {
    font: 1.3rem gentona-medium;
}


/* .description.first .description-content h2:nth-child(1) {
    font: 2.1rem gentona-bold;
    margin-bottom: 0.375rem;
    position: relative;
    padding-bottom: 0.375rem;
} */


/*=======DESCRIPTION SECTION STYLING ENDS======== */


/*=======CLOCK SECTION STYLING STARTS======== */

.clock {
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.clock-section-row {
    padding: 0 4.5rem;
}


/* .clock-battery-img img {
  max-width: 100%;
} */

.clock-battery-img img {
    width: 85%;
}

.clock-battery-img-content p {
    font: 1.4rem gentona-book;
}

.statistics-content h2 {
    font: 3.96rem gentona-book;
    margin-top: .9375rem;
}

.statistics-content p {
    font: 1.4rem gentona-book;
}

.statistics-content img {
    width: 30%;
}

.statistics-content .second-img {
    width: 80%;
}

.statistics-content .third-img {
    width: 54%;
}

.future-gigafactory-section {
    margin-top: 5rem;
}

.first-gigafactory-title {
    margin-bottom: 3rem;
}

.future-gigafactory-title h2,
.first-gigafactory-title h2 {
    font: 2.5rem gentona-bold;
    position: relative;
    padding-bottom: 0.6rem;
}

.future-gigafactory-title h2::after {
    width: 11rem;
}

.future-gigafactory-img {
    margin-top: 4rem;
    text-align: center;
}

.future-gigafactory-img img {
    width: 100%;
}

.future-gigafactory-text p {
    font: 1.3rem gentona-book;
    margin-top: 2.2rem;
}

.football-pitch-section {
    margin-top: 3rem;
}

.football-pitch-heading {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.football-pitch-heading h2 {
    font: 5rem gentona-bold;
}

.football-pitch-heading p {
    font: 1.8rem gentona-book;
    color: #ed2024;
}

.football-pitch-heading p:nth-child(3) {
    font-size: 1.4rem;
    margin-top: 0.725rem;
}

.statistics-content .first-img {
    width: 50px;
}

.statistics-content .second-img {
    width: 50px;
}

.statistics-content .third-img {
    width: 50px;
}

.football-fields-subheading {
    margin-top: 2rem;
}

.football-fields-subheading h2 {
    font: 1.5rem gentona-bold;
}

.football-fields-text p {
    font: 1.3rem gentona-book;
    margin-top: .5rem;
}


/* .clock-img h2,
.cell-img h2 {
  font: 3rem gentona-bold;
  text-transform: lowercase;
} */


/*=======CLOCK SECTION STYLING ENDS======== */


/*========FOOTER STYLING STARTS========= */

footer {
    margin-top: 6.25rem;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("/assets/images/footer.webp");
    background-size: cover;
    background-position: center;
    padding: 5rem 2.5rem 5rem 2.5rem;
}

.footer-logo img {
    width: 110px;
}

footer .footer-icons a {
    margin-right: 1.5rem;
    color: #000;
    text-decoration: none;
}

footer .footer-icons a:nth-child(4) {
    margin-right: 0;
}

footer .footer-icons i {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    line-height: 2.625rem;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

footer .footer-content {
    margin-top: 3.375rem;
}

footer ul {
    margin: 0;
}

footer ul li {
    list-style: none;
    padding: 0;
}

footer ul li a {
    text-decoration: none;
}

footer .footer-contact {
    padding: 0;
}

footer .footer-contact li,
footer .footer-contact li a {
    color: #fff;
    font: 1.2rem gentona-book;
}

footer .footer-contact-info li {
    line-height: 1.25rem;
}

footer .footer-contact li:nth-child(2) {
    margin: 0.8rem 0 0.3rem 0;
}

footer .footer-contact li:nth-child(2) a,
footer .footer-contact li:nth-child(3) a {
    color: #ed2024;
}

footer .footer-links li:nth-child(2),
footer .footer-links li:nth-child(3),
footer .footer-links li:nth-child(4) {
    margin-top: 1.1rem;
}

footer .footer-links li a,
footer .footer-mailbox li:nth-child(1) {
    font: 1.2rem gentona-medium;
    color: #fff;
}

footer .footer-mailbox li:nth-child(2) {
    display: flex;
    margin-top: 0.375rem;
}

footer .footer-mailbox li:nth-child(2) button[type="submit"] {
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    overflow: hidden;
}

footer .footer-mailbox li:nth-child(2) input[type="email"] {
    width: 12.4rem;
    border: none;
    outline: none;
    border-radius: 0.25rem 0 0 0.25rem;
    height: 2.8125rem;
    padding: 0 1rem;
}

footer .footer-mailbox li:nth-child(2) i {
    color: #fff;
    width: 3.125rem;
    height: 2.8125rem;
    background-color: #f87375;
    line-height: 2.8125rem;
    text-align: center;
    cursor: pointer;
}


/*=========FOOTER STYLING ENDS========== */


/*=========MEDIA QUERY FOR TABLET IPADS PROTRAT MODE==========*/

@media (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 13px;
    }
    .navbar .navbar-brand img {
        width: 130px;
    }
    .navbar .navbar-nav .nav-item {
        margin-right: 0.3rem;
    }
    .hero-section-img {
        height: unset;
    }
    .description-content {
        padding-left: 0rem;
    }
    .clock-section-row {
        padding: 0 0.8rem;
    }
    .statistics-content .first-img {
        width: 50px;
    }
    .statistics-content .second-img {
        width: 55px;
    }
    .statistics-content .third-img {
        width: 50px;
    }
    /* .football-pitch-heading {
    display: unset;
    text-align: center;
  } */
    .football-pitch-heading h2 {
        font-size: 3rem;
    }
    .football-pitch-heading p:nth-child(2) {
        font-size: 1.5rem;
    }
    .statistics-content h2 {
        font: 3rem gentona-book;
    }
    .footer-icons {
        margin-left: 1.5rem;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.3rem;
    }
}


/*=========MEDIA QUERY FOR SMALL DEVICES LANDSCAPE MODE==========*/

@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 10px;
    }
    .navbar .navbar-brand img {
        width: 110px;
    }
    .hero-section-img {
        height: unset;
    }
    .description-content {
        padding-left: 0rem;
    }
    .clock-section-row {
        padding: 0 3.1875rem;
    }
    .football-pitch-heading {
        display: unset;
        text-align: center;
    }
    .football-pitch-heading h2 {
        font-size: 3rem;
    }
    .football-pitch-heading p:nth-child(2) {
        font-size: 1.5rem;
    }
    .statistics-content h2 {
        font: 3rem gentona-book;
    }
    .statistics-content .first-img {
        width: 50px;
    }
    .statistics-content .second-img {
        width: 55px;
    }
    .statistics-content .third-img {
        width: 48px;
    }
    .statistics-content h2 {
        font: 3rem gentona-book;
    }
    footer .footer-logo img {
        width: 90px;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.1rem;
    }
    footer .footer-links li a,
    footer .footer-mailbox li:nth-child(1),
    footer .footer-contact li,
    footer .footer-contact li a {
        font-size: 1.3rem;
    }
    footer .footer-icons {
        margin-left: 2rem;
    }
}


/*========MEDIA QUERY FOR SMALL DEVICES (MOBILE DEVICES)========== */

@media (max-width: 575px) {
    html {
        font-size: 11px;
    }
    .navbar {
        padding: 0.2rem 1rem;
    }
    .navbar .navbar-brand img {
        width: 100px;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        font-family: gentona-medium;
        font-size: 1.5rem;
        display: inline-block;
    }
    .navbar .navbar-nav .nav-item {
        margin-top: 0.6rem;
        margin-right: 0;
    }
    .hero-section-title {
        left: 3rem;
        bottom: .5rem;
        /* padding: 0 0 1rem 2rem; */
    }
    .hero-section-title h1 {
        font-size: 2rem;
    }
    .hero-section-title h1::after {
        width: 7rem;
    }
    .hero-section-img {
        height: unset;
    }
    /* .description,
    .description.second {
        margin-top: 3rem;
    } */
    .statistics-content .first-img {
        width: 50px;
    }
    .statistics-content .second-img {
        width: 55px;
    }
    .statistics-content .third-img {
        width: 44px;
    }
    .statistics-content h2 {
        font: 3rem gentona-book;
    }
    .statistics-content.middle {
        margin: 2.375rem 0;
    }
    .statistics-section {
        margin-top: 4rem;
    }
    .clock {
        margin-top: 3rem;
    }
    .clock-battery-img img {
        max-width: 70%;
    }
    .football-pitch-section,
    .future-gigafactory-section {
        padding: 0 1.875rem;
    }
    .football-pitch-section .football-pitch-heading {
        margin-top: 1.5rem;
    }
    /* .description-img {
        display: none;
    } */
    .future-gigafactory-img img {
        max-width: 100%;
    }
    .description-content {
        padding: 0;
        margin-top: 20px;
    }
    .description {
        padding: 0 1.875rem;
    }
    .description.second {
        margin-top: 6.3rem;
    }
    .description-row {
        flex-direction: column-reverse;
    }
    /* .first-gigafactory-title {
        padding: 0 1.875rem;
    } */
    .clock-left-section {
        padding: 0 30px;
    }
    .clock-section-content {
        padding: 0 16px;
    }
    .clock {
        margin-top: 10rem;
        margin-bottom: 0;
    }
    footer {
        padding: 3.5rem 2.8rem 3.5rem 2.8rem;
    }
    .footer-links-wrapper {
        margin: 2.6rem 0 1.4rem 0;
    }
    footer .footer-icons {
        margin-top: 1.5rem;
    }
    footer .footer-icons a {
        margin-right: 1rem;
    }
    footer .footer-content {
        margin-top: 2.375rem;
    }
}