/*styling.css*/
/*Add a cover background picture for the featured part with a fixed height*/
.jumbotron{
/*    background: url(http://freenaturestock.s3.amazonaws.com/166.jpg);*/
    background: url('images/landingpage.jpg') center center;
    background-size: 100% 100%;
    height: 600px;
}

/*set the size of the logo*/
.logo {
    width: 65px;       /* ancho máximo deseado */
    height: 65px;      /* alto máximo deseado */
    max-width: 100%;   /* nunca exceder el ancho del contenedor */
    height: auto;      /* mantiene proporción si el contenedor es más pequeño */
    display: block;    /* elimina espacio debajo de la imagen */
}

/*set the size of the logo*/
/*
.logo{
    width: 80px;
    height: 65px;
}
*/
.jumbotron {
  position: relative; /* Needed for absolute positioning of the link */
}

.home-link {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #39ff14;        /* Bright neon green */
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  z-index: 1000;
}

.jumbotron {
  position: relative;    /* So the absolute positioning of .home-link works */
}

/*set text color of featured content*/
.featured{
    color: #fff;   
}

/*create space between the title and the logo*/
.featured h1{
    padding-top: 60px;   
}

/*style links*/
.featured .btn-default{
    font-weight: bold;
    color: white;
    background-color: rgba(145, 82, 58, 0.5);
    border-radius: 10px;
    margin-top: 20px;
    width: 160px;
    margin-right: 15px;
}


.featured .btn-default:hover{
    background-color: rgb(145, 82, 58);   
}

/*center align elements in the trial section and add padding*/
.trial{
    text-align: center;
    padding: 20px 0 40px 0;
    color: black;
}

/*set size of images and add space between them*/
.trial img{
    width: 200px;
    height: 70px;
    margin: 20px;
}

/*style footer*/
.footer{
    background-color: #eee;
    font-size: 15px;
    padding: 10px 0;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.jumbotron, .trial, .container {
  flex: 1 0 auto; /* Allow content to grow */
}

.footer {
  flex-shrink: 0; /* Footer stays at the bottom */
  background-color: #f8f9fa; /* optional: light background */
  text-align: center;
}


/*Add styling for devices between 480px and 768px*/
@media (min-width: 480px) and (max-width: 768px){
    .jumbotron{
        height: 410px;
        margin: 0;
    }
    .logo{
        width: 50px;
        height: 50px;
    }
    .featured h1{
        padding-top:  30px;  
    }
    .featured p{
        font-size: 17px;   
    }
    .featured{
        text-align: center;
    }
}

/*Add styling for devices under 480px*/
@media (max-width: 480px){
    .jumbotron{
        height: 410px;
        margin: 0;
    }
    .logo{
        width: 40px;
        height: 10px;
    }
    .featured h1{
        padding-top:  10px;  
    }
    .featured p, .featured a{
        font-size: 13px;   
    }
    .featured{
        text-align: center;
    }
    .trial img{
        width: 100px;
        height: 35px;
        margin: 10px;
    }
}