
*{
    box-sizing: border-box;
    color: #fbc101;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 7px;
    background: #eee;
}
::-webkit-scrollbar-thumb {
    background: #fbc101;
    border-radius: 5px;
}
::-moz-scrollbar {
    width: 7px;
    background: #eee;
}
::-moz-scrollbar-thumb {
    background: #fbc101;
    border-radius: 5px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    /* background-color: #000; */
    background: linear-gradient(-45deg, #1a1a1a, #393838, #1a1a1a, #000000);
    font-family: 'Noto Sans';
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fjalla One';
    letter-spacing: 0.05rem;
    color: #fbc101;
}

a {
    text-decoration: none;
}

label {
    font-family: 'Fjalla One';
    letter-spacing: 0.05rem;
}

/* for section main-slider */
.main-slider {
    text-align: center;
} 

.main-slider img{
    max-width:100%;
    height:auto;
}

section {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

section .container{
    max-width: min(1150px, 75%);
    margin: auto;
}

.contact {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2c1f1c;
    transition: 0.3s ease;
}

.contact i {
    width: 1.75rem;
    text-align: center;
}

.contact a {
    color: #eee;
    transition: 0.3s ease;
}

.contact a:hover {
    color: #25d366;
}

.contact iframe {
    border: 0;
    border-radius: 5px;
    width: 100%;
    height: 160px;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea, input[type=email] {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    outline: none;
    color: black;
    /* font-family: sans-serif; */
    font-size: medium;
    font-family: 'Noto Sans';
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all ease-out .3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #04AA6D;
}

/* Add a background color and some padding around the form */
form {
    border-radius: 5px;
    background-color: #959298ab;  
    padding: 20px;
    max-width: 500px;
    margin-left: auto;
}

/* shadows over labels */
form label{
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

form .pre-btn {
    text-align: right;
}

/* whatsapp btn */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 12px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1111;
    transition: all ease-out .3s;
}

.whatsapp-btn:hover {
    background-color: #04AA6D;
}

/* whatsapp btn i */
.whatsapp-btn i {
    color: white;
}

/* footer */
footer .copyright {
    background-color: #3a3a3a;
    color: white;
    padding: 15px;
}

footer .copyright .copyright-text {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

/* borber shadows */
.bordershadow {
    border-radius: 5px;
    /* box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%); */
    transition: all 200ms ease-out;
}

/* section BRANDS */
section#brands {
    background: white url(../img/logo_puntovial_1c_o20_c_botton.png) fixed no-repeat bottom center;
    background-size: 80vw;
    margin: 8px 0 0 0;
    padding: 0 12px;
}

section#brands .row {
    display: flex;
}

section#brands .column {
    flex: 25%;
    padding: 5px;
    align-self: center;
    margin-bottom: auto;
    margin-top: auto;
}

section#brands .column img {
    width: 100%;
    border-radius: 5px;
}

section#brands h1 {
    text-align: center;
    /* margin-top: 0.5rem; */
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ---------------------- */

/* section contact */
section#contact {
    margin-top: 6rem;
}

section#contact .container {
    display: flex;
}

section#contact .column {
    width: 50%;
}

section#contact .left {
    margin-right: 2rem;
}

section#contact .left picture img{
    width: 100%;
    margin-bottom: 2rem;
}

section#contact .right {
    /* margin-top: 1rem; */
    margin-left: 2rem;
    align-content: center;
}

@media only screen and (max-width: 992px) {
    /* tablet */
    .contact {
        font-size: 1.25rem;
    }
    
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    section#contact .container {
        flex-direction: column;
    }

    section#contact .column {
        width: 100%;
    }

    form{
        max-width: 400px;
        margin: 0 auto;
    }

    .contact {
        font-size: 3vw;
    }

    #contact .right {
        margin-top: 3rem!important;
        margin-left: 0rem!important;
    }
}

@media only screen and (max-width: 576px) {
    /* For small mobile phones: */
    section .container {
        max-width: 87%;
    }

    #contact .left {
        margin: 0;
    }

    .contact {
        font-size: 1rem;
    }

    section#contact .right {
        margin-left: 1rem;
    }
    
    section#brands h1 {
        font-size: 1.3em;
    }

    section#brands .row {
        flex-flow: wrap;
    }

    section#brands .column {
        flex: 50%;
    }

    footer .copyright {
        font-size: 0.75rem;
        padding: 10px;
    }
}

/* ------------------------ */


  section#raffle .row {
    margin: 8px -16px;
  }
  
  /* Add padding BETWEEN each column */
  section#raffle .row,
  .row > .column {
    padding: 8px;
  }
  
  /* Create four equal columns that floats next to each other */
  section#raffle .column {
    float: left;
    width: 50%;
  }

  section#raffle .column.left{
    padding-right: 2rem;
  }

  section#raffle .column.right{
    padding-left: 2rem;
    text-align: center;
  }
  
  /* Clear floats after rows */ 
  section#raffle .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Content */
  section#raffle .content {
    background-color: white;
    padding: 10px;
} 

section#raffle video{
    border-radius: 5px;
}

section#raffle .btn {
    display: contents;
}

/* Content */
section#raffle img {
    border-radius: 5px;
    max-height: 350px;
}

/* Zoom */
section#raffle .zoom {
    transition: width 1s, height 1s, transform 0.5s;
}

section#raffle .zoom:hover {
    transform : scale(1.05);
}

/* button */
section#raffle a { 
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease-out;
    display: block;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}

section#raffle a:hover { 
    background-color: #04AA6D;
}
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 768px) {
    section#raffle .column {
      width: 100%;
      padding-right: 0!important;
      padding-left: 0!important;
    }

    section#raffle .column.right {
        margin-top: 1rem;
    }
  }
  
/* ------------------------ */
/* ------------------------ */
  nav {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: #3a3a3a;
    overflow: hidden;
    font-family: 'Fjalla One';
    display: flex;
    justify-content: center;
  }

  .topnav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
  }
  
  .topnav a {
    float: left;
    /* display: block; */
    color: #fbc101;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    background-color: #3a3a3a;
    font-size: 17px;
    height: 70px;
    transition: all ease-out 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    max-width: 130px;

    display: flex;
    align-items: center;
  }

  .topnav a:first-child {
    max-width: 100%!important;
  }
  
  .topnav a:hover {
    color: white;
  }
  
  .topnav a.active {
    background-color: #25d366;
    color: white;
  }

  .topnav a.oneline {
    padding: 24px 16px;
  }
  
  .topnav .icon {
    display: none;
  }

  .topnav a picture img {
      width: 100px;
  }

  @media screen and (max-width: 1050px) {
    .topnav a:not(:first-child) {
        display: none;
        padding: 24px;
    }
    .topnav a:first-child {
        padding: 14px 24px;
    }
    .topnav a.icon {
        float: right;
        display: block;
        padding: 24px;
    }
  }
  
  @media screen and (max-width: 1050px) {
    .topnav.responsive {
        position: fixed;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        max-height: 70px;
    }
    .topnav.responsive .icon i{
        color: white;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        max-width: 100%;
        /* max-width: 300px;    Verlo pero hay que hacer que aparezca a la derecha ! */
        border-bottom: solid 1px white;
    }
    .topnav{
        display: block;
    }
  }