@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --url-image: url(https://plus.unsplash.com/premium_photo-1661382019197-94d5edb38186?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=872);
    --color-btn: #21345cff;
    --columns: repeat(3,1fr);
    --rows: 1fr; 
}    

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: rgb(255, 255, 255);
    color: #21345cff;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0 auto; 
    display: grid;
    grid-template-columns: var(--columns);
    grid-template-rows: var(--rows);
    gap: 40px;

} 

.card {
    box-shadow: 0 0 8px rgb(30, 30, 78);
    border-radius: 10px;
}

.card:nth-of-type(2){
    --url-image: url(https://plus.unsplash.com/premium_photo-1664300465559-8ca45fea9c76?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=870);
}

.card:nth-of-type(3){
    --url-image: url(https://plus.unsplash.com/premium_photo-1661281299306-38c2d70467ea?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=871)
}

.card::before {
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    background-image: var(--url-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px 10px 0 0;
}

.card_texts {
    width: 100%;
    padding: 20px 20px;
}

.title{
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.paragraph {
    margin-bottom: 20px;
}

.download {
    line-height: 24px;
    padding-left: 20px;
}
.download a {
    text-decoration: none;
    color:#21345cff; 
}

.cta {
    display: block;
    width: 300px;
    margin: 0 auto;
    background: var(--color-btn);
    padding: 15px 0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.navbar {
    background-color: #272a4e;
    padding: 5px 10px;
    width: 100%;
    display: flex;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.nav_logo img {
    height: 60px;
}

.nav_links {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  display: flex; /* Para alinear elementos en horizontal */
}

.nav_links li {
  margin-right: 20px;
}

.nav_Barra {
  text-decoration: none;
  color: #ffffff;
  padding: 5px 10px;
  transition: background-color 0.3s ease;
}

.nav_Barra:hover {
  background-color: #fff;
  color: #272a4e;
  border-radius: 5px;
  padding: 10px;
}

.nav_toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media screen and (max-width:1500px){
    .container {
        grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    }
    .cta {
        width: 100%;
    }
}

@media screen and (max-width:820px) {
    .nav_toggle{
        display: block;
    }

    .nav_links{
        display: none;
        flex-direction: column;
        background-color: #272a4e;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        padding: 10px 0;
    }

    .nav_links.active {
        display: flex;
    }

    .nav_links li {
        text-align: center;
        margin: 10px 0;
    }
    
}