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

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23540606' fill-opacity='0.2'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: #ffffff;
    font-size: 16px;
}

.container {
    width: 90%;
    margin: auto;
}

/* ESTILOS NAVEGACION */
.nav-main {
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 20px 0;
}

.nav-brand {
    width: 50px;
}

/* ESTILOS NAVEGACION IZQUIERDA */
.nav-main ul {
    display: flex;
}

.nav-main ul li {
    padding: 5px;
}

.nav-main li a {
    padding: 6px;
    transition: 0.3s;
}

.nav-main li a:hover{
    border-bottom: 2px solid #ffffff;
}

.nav-main ul.nav-menu {
    flex: 1;
    margin-left: 20px;
}

.menu-btn {
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 30px;
    z-index: 2;
    font-size: 1.5rem;
    display: none;
}



/* ESTILOS PARA EL SHOWCASE */
hr {
    margin: 10px 0;
}
.showcase {
    width: 100%;
    height: 550px;
    background: url(img/showcase2.jpg) no-repeat center center/cover;
    padding: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.showcase h1, .showcase p {
    margin-bottom: 10px;
    text-align: center;
}

.showcase p {
    font-size: 20px;
}

.btn {
    margin: 10px 0;
    padding: 10px 0;
    color: #f2f2f2;
    text-transform: capitalize;
    display: inline-block;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.btn::before {
    content: "";
    background-color: #b40d0a; 
    position: absolute;
    left: 0.5rem;
    bottom: 5px;
    width: 100%;
    height: 8px;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}

.btn:hover::before {
    left: -5px;
    bottom: 0;
    height: 100%;
    width: calc(100% + 10px);
}

/* ESTILOS NEWS CARDS */

.news-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 10px 0;
}

.news-cards img {
    width: 100%;
    height: 180px;
    border-radius: 10px 10px 0 0;
}

.news-cards h3 {
    font-size: 20px;
    margin: 10px 0;
}

/* CARDS BANNERS ONE */

.cards-banner-one {
    width: 100%;
    height: 350px;
    background: url(img/tech-red.jpg)  no-repeat center center/cover;
    margin-bottom: 40px;
}

.cards-banner-one .content {
    width: 40%;
    padding: 90px 0 0 30px;
    color: #fff;
}

.cards-banner-one p, .cards-banner-one h2 {
    margin: 10px 0 20px 0;
}

/* CARDS BANNER TWO */
.cards-banner-two {
    background: url(img/image-five.jpg) no-repeat center center/cover;
    width: 100%;
    height: 350px;
    margin-bottom: 40px;
}

.cards-banner-two .content {
    width: 50%;
    padding: 100px 0 0 30px;
    color: #fff;
}

.cards-banner-two p, .cards-banner-two h2 {
    margin: 10px 0 20px 0;
}

/* SOCIALS SECTION */
.social {
    margin: 50px;
}

.social p {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

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

.links a {
    margin: 0 30px;
}

.links a i{
    font-size: 2.5rem;
    transition: all 0.3s;
}

.links a i:hover{
    color: #b40d0a;
}

/* STYLES FOOTER LINKS */
.footer-links {
    background: #2f3640;
    color: #616161;
    font-size: 12px;
    padding: 35px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}

.footer-container ul {
    margin: 0 auto;
}

.footer-container ul li {
    line-height: 2.5;
}

.footer {
    background: #2f3640;
    text-align: center;
    color: #616161;
    font-size: 12px;
    padding: 20px 0;
    padding-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 940px) {
    .news-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 845px) {
    .menu-btn {
        display: block;
        margin-right: 10px;
    }

    .nav-main ul.nav-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        background: #2f3640;
        height: 300px;
        width: 100%;
        padding: 20px;
        transform: translateY(-800px);
        opacity: 2;
        z-index: 1;
        transition: 0.5s ease-in-out;
        text-align: center;
    }

    .nav-main ul.nav-menu.show {
        transform: translateY(-10px);
    }

    .nav-main ul li {
        text-align: center;
        padding: 9px;
        font-size: 16px;
    }

    .nav-main ul.nav-menu-right {
        margin-right: 40px;
    }
}


@media (max-width: 700px) {

    .menu-btn {
        display: block;
    }

    .showcase p {
        text-align: center;
    }

    .news-cards p {
        text-align: justify;
    }

    .nav-main ul.nav-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        background: #2f3640;
        height: 300px;
        width: 100%;
        padding: 20px;
        transform: translateY(-800px);
        opacity: 0.9;
        transition: 0.5s ease-in-out;
    }

    .nav-main ul.nav-menu.show {
        transform: translateY(-10px);
    }

    .nav-main ul li {
        text-align: center;
        padding: 9px;
        font-size: 16px;
    }

    .nav-main ul.nav-menu-right {
        margin-right: 40px;
    }

    .news-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-banner-one .content,
    .cards-banner-two .content
    {
        width: 80%;
    }

    .footer-links .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px) {

    .nav-main ul.nav-menu {
        opacity: 2;
    }

    .news-cards {
        grid-template-columns: 1fr;
    }

    .news-cards img {
        height: 270px;
    }

    .cards-banner-one .content, .cards-banner-two .content {
        width: 100%;
        padding: 60px 20px;
    }

    .footer-links .footer-container {
        grid-template-columns: 1fr;
    }
}