:root {
    --main-color-red: #8e2900;
    --main-color-orange: #da9700;
    --light-background-color: #e7e6df;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", serif;
}

body.cookie-lookout {
    overflow: hidden;
}
nav.menu {
    display: flex;
    align-items: center;
    background-color: var( --light-background-color);
    color: #000;
    padding: 0px 10px;
    justify-content: space-between;
    flex-flow: row;
    

    .logo {
        width: 180px;
        max-width: 40%;
        text-align: left;
        img {
            max-width: 100%;
            display: block;
            margin-left: 0;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
    .icon{
        svg{
            height: 18px;
            fill:#fff;
            transform: translateY(2px);
        }
    }
    
    .header-location{
        text-align: center;
        @media screen and (max-width: 768px) {
            display: none;
        }
    }
    a {
        color: #000;
        text-decoration: none;
        padding: 10px;
        text-transform: uppercase;
        font-weight: 600;
        display: inline-block;
        &:hover {
            color: var(--main-color-red);
        }
        &.featured {
            display: block;
            background-color: var(--main-color-red);
            color: #fff;
            padding: 10px;
            border-radius: 5px;
            &:hover {
                background-color: var(--main-color-orange);
                color: #fff;
            }

            @media screen and (max-width: 768px) {
                transform: translateY(0);
            }
        }
    }

    
    #menu-toggle {
        display: none;

        @media screen and (max-width: 768px) {
            display: block;
            cursor: pointer;
            position: absolute;
            right: 20px;
            top: 40px;
        }

        span {
            display: block;
            width: 20px;
            height: 2px;
            background-color: #000;
            margin: 3px 0;
        }
    }

    ul {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            a {
                color: #000;
                text-decoration: none;
                padding: 10px;
                text-transform: uppercase;
                font-weight: 600;
                &:hover {
                    color: var(--main-color-red);
                }
            }

            &.featured {
                /* transform: translateY(-10px); */
                a {
                    display: block;
                    background-color: var(--main-color-red);
                    color: #fff;
                    padding: 10px;
                    border-radius: 5px;
                    &:hover {
                        background-color: var(--main-color-orange);
                        color: #fff;
                    }
                }

                @media screen and (max-width: 768px) {
                    transform: translateY(0);
                }
            }

            @media screen and (max-width: 768px) {
                padding: 5px;
            }
        }

        @media screen and (max-width: 768px) {
            display: block;
            height: 0px;
            overflow: hidden;
            transition: .3s;
            &.open {
                height: 200px;
                box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            }
        }
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    .col{
        padding: 10px;
    }
    &.full-row{
        max-width: none;
        width: 100%;
        .col{
            padding: 0px !important;
        }
    }
    .col-3 {
        width: 25%;
        @media screen and (max-width: 768px) {
            width: 50%;
        }
    }
    .col-6 {
        width: 50%;
        
        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
    .col-8 {
        width: 66.666%;
        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
    .col-4 {
        width: 33.333%;
        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
}

.hero {
    background-image: url("../images/curso_bck.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding-top: 5vh;
    padding-bottom: 5vh;
    color: #fff;
    position: relative;
    z-index: 1;
    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    @media screen and (max-width: 768px) {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    h2{
        color: var(--main-color-orange);
        font-size: 2em;
    }
    h1{
        font-size: 2.5em;
        line-height: 1em;
    }
    ul{
        font-size: 18px;
        line-height: 1.2em;
        padding-left: 0 !important;
        margin-left: 0;
        list-style: none;
        li{
            padding-top: 15px;
        }
        
    }
   
    
}
form{
    max-width: 400px;
    margin: auto;
    h3.form-title{
        font-size: 1.5em;
        strong{
            color: var(--main-color-orange);
        }
    }
    input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"],textarea{
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid var( --light-background-color);
        background: var( --light-background-color);
        border-radius: 5px;
        resize: none;
        font-family: 'Latp', sans-serif;
    }
    textarea{
        height: 100px;
    }
    input[type="checkbox"]{
       
        margin-right: 5px;
    }
    .terms-check{
        margin-bottom: 20px;
        line-height: 1.2em;
        a{
            color: var(--main-color-orange);
            text-decoration: none;
            &:hover{
                text-decoration: underline;
            }
        }
    }
    button[type="submit"]{
        background-color: var(--main-color-orange);
        color: #fff;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
        font-size: 1.2em;
        transition: .3s;
        &:hover{
            background-color: #fff;
            color: var(--main-color-red);
        }
    }
}
.content{
    max-width: 1200px;
    padding: 10px;
    margin:auto;
}
.banner{
    padding: 50px 20px;
    background: var(--main-color-red);
    color: #fff;
    text-align: center;
    h2{
        font-size: 1.8em;
    }
    h3{
        font-size: 1.4em;
        padding-bottom: 20px;
        color: var(--main-color-orange);
    }
    p{
        font-weight: 300;
        font-size: 18px;
        padding-bottom: 20px;
    }
    button{
        border:0px;
        padding:10px;
        font-size: 18px;
        border-radius: 5px;
        transition:.3s;
        cursor:pointer;
        &:hover{
            background-color: var(--main-color-orange);
        }
    }
    &.banner-left{
        text-align: left;
        background: #444;
        button{
            background-color: var(--main-color-red);
            color: #fff;
            &:hover{
                background-color: var(--main-color-orange);
            }
        }
        h3{
            font-size: 1.8em;
            padding-bottom: 0px;
            color: var(--main-color-orange);
            @media screen and (max-width: 768px) {
                font-size: 1.4em;
            }
        }
        h2{
            font-size: 2.5em;
            padding-bottom: 20px;
            @media screen and (max-width: 768px) {
                font-size: 1.8em;
            }
            
        }
    }
    
}
.sponsors{
    background-color: var( --light-background-color);
    padding: 50px 20px;
    text-align: center;
    h2{
        font-size: 2em;
    }
    img{
        max-width: 100%;
        width: 100%;
    }
}

.info{
    background: var(--main-color-orange);
    position: relative;
    overflow: hidden;
    padding-bottom: 5vh;
    @media screen and (min-width: 769px) {
        padding-top: 10vh;
        padding-bottom: 10vh;
    }
    
    .row{
        align-items: stretch;
    }
    .image-bg{
        @media screen and (min-width: 769px) {
            position: absolute;
            left: 0;
            width: 50%;
            height: 100%;
            top: 0;
        }
        img{
            width: 100%;
            min-height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
    .info-content{
        @media screen and (min-width: 769px) {
            padding-left: 50px;
        }
        h2{
            font-size: 2.5em;
            color:#fff;
            margin-bottom: 10px;;
            @media screen and (max-width: 768px) {
                font-size: 2em;
            }
        }
        h4{
            font-size: 1.5em;
            color:var(--main-color-red);
            line-height: 1.2em;
            margin-bottom: 20px;
            text-shadow: -1px 0px 1px #fff;
            @media screen and (max-width: 768px) {
                font-size: 1.5em;
            }
        }
        p{
            font-size: 18px;
            color: #fff;
            line-height: 1.4em;
            padding-bottom: 10px;
            font-weight: 600;
            @media screen and (max-width: 768px) {
                font-size: 16px;
            }
            .red{
                color: var(--main-color-red);
            }
        }
    }
}


.steps{
    background: var( --light-background-color);
    padding-top: 50px ;
    padding-bottom: 50px ;
    h2{
        text-align: left;
        color: var(--main-color-red);
        font-size: 2.5em;
        @media screen and (max-width: 768px) {
            font-size: 2em;
        }
    }
    h3{
        color: var(--main-color-red);
        font-size: 1.8em;
        font-weight: 400;
        @media screen and (max-width: 768px) {
            font-size: 1.4em;
        }
    }
    p{
        line-height: 1.2em;
        font-size: 18px;
        @media screen and (max-width: 768px) {
            font-size: 16px;
        }
    }
    ul{
        padding-left: 18px;
        padding-top: 10px;
        li{
            padding-bottom: 5px;
            font-size: 18px;
            @media screen and (max-width: 768px) {
                font-size: 16px;
            }
        }
    }
    .step{
        position: relative;
        margin-top: 20px;
        img{
            width: 100%;
            @media screen and (min-width: 769px) {
                padding-left: 100px;
            }
        }
        &::after{
            
            position: absolute;
            left: 15px;
            top: 15px;
            height: 80px;
            width: 80px;
            border-radius: 100%;
            background: #fff;
            z-index: 10000;
            color: var(--main-color-red);
            border: 1px solid var(--main-color-red);
            font-size: 50px;
            text-align: center;
            line-height: 75px;
            padding: 0;
            font-family: "Oswald", serif;
            font-optical-sizing: auto;
            font-style: normal;
        }
        &.step-1::after{
            content: "1";
        }
        &.step-2::after{
            content: "2";
        }
        &.step-3::after{
            content: "3";
        }
        &.step-4::after{
            content: "4";
        }
        @media screen and (min-width: 769px) {
            &::before{
                content: '';
                height: 100%;
                width:2px;
                background: var(--main-color-red);
                position: absolute;
                top: 40px;
                left: 55px;
                z-index: 1000;
            }
            &.step-4::before{
                content: "";
                height: 0px;
            }
            
        }
        
    }
}

.galery {
    img{
        width: 100%;
        display: block;
    }

}

.contact{
    background: var(--main-color-red);
    padding-top: 40px;
    padding-bottom: 50px;
    
    h3.form-title{
        color:#fff;
        font-size: 2em;
        margin-bottom: 20px;
        @media screen and (max-width: 768px) {
            font-size: 1.5em;
            text-align: center;
        }
    }
    label{
        color:#fff;
    }
    form{
        max-width: 400px;
        margin:auto;
        button[type="submit"]{
            
            &:hover{
                background-color: #fff;
                color: var(--main-color-red);
            }
        }
    }

    .card{
        padding:20px;
        position: relative;
        a{
            color:#fff;
            text-decoration: none;
            font-size: 32px;
            padding-left: 50px;
            display: inline-block;
            @media screen and (min-width:769px) and (max-width: 1200px) {
                padding-left: 35px;
            }
            @media screen and (max-width: 1200px) {
                font-size: 20px;
            }
            @media screen and (max-width: 768px) {
                font-size: 18px;
                display: block;
                text-align: center;
                padding-left: 0px;
            }
            
            i.icon {
                position: absolute;
                left: 5px;
                top: 15px;
                width: 50px;
                height: 50px;
                background-color: var(--main-color-orange);
                text-align: center;
                border-radius: 100%;
                display: inline-block;
                margin-right: 10px;
                @media screen and (min-width:769px) and (max-width: 1200px) {
                    width: 40px;
                    height: 40px;
                }
                @media screen and (max-width: 768px) {
                    display: block;
                    margin: auto;
                    margin-bottom: 10px;
                    position: relative;
                    left: auto;
                    top: auto;
                }
                svg{
                    fill:#fff;
                    height: 36px;
                    width: 36px;
                    transform: translateY(7px);
                    margin: auto;
                    padding:5px;
                    text-align: center;
                    @media screen and (min-width:769px) and (max-width: 1200px) {
                        height: 32px;
                        width: 32px;
                        transform: translateY(5px);
                    }
                }
                
            }
            &:hover{
                color:var(--main-color-orange);
                i.icon {
                    background-color: #fff;
                    svg{
                        fill:var(--main-color-orange);
                    }
                }
                
            }
        }
        &.location-card a{
            font-size: 20px;
            @media screen and (max-width: 768px) {
                font-size: 16px;
            }
        }
    }
}


footer{
    padding: 50px;
    text-align: center;
    background: var( --light-background-color);
    img{
        max-width: 200px;
        margin-top: 20px;;
    }
}


.msg-area{
    color: #fff;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    &.error{
        background: rgb(232, 5, 5);
    }
    &.success{
        background: rgb(2, 159, 2);
    }
}


.wfix-btn {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    right: 25px;
    height: 60px;
    width: 60px;
    border-radius: 100%;
    text-align: center;
    line-height: 60px;
    background: #00bb2d;
    color: white;
    font-size: 35px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .3);
    transition: .3s;
}

.wfix-btn:hover {
    background: #057e22;
}
.thank-u{
    background: var( --light-background-color);
}
.thank-u-area{
    display: flex;
    height: 60vh;
    width: 100%;
    flex-flow: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    
}
.thank-u-area h1{
    font-weight: 800;
    font-size: 4em;
}
@media screen and (max-width: 768px) {
    .thank-u-area h1{
        font-size: 2.5em;
    }
    
}

/* COOKIES */
body.cookie-lookout #cookie-banner-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  #cookie-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    width: 90%;
    background-color: #2d2d2d;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  #cookie-banner p {
    margin: 0 0 10px;
    font-size: 14px;
  }

  #cookie-banner button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin: 5px;
  }

  #accept-all {
    background-color: #227925;
    color: #fff;
  }

  #configure {
    background-color: #7e7e7e;
    color: #fff;
  }

  #reject-all {
    background-color: #ac2d23;
    color: #fff;
  }

  #cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
  }
  .hidden{
      display: none;
  }
  #cookie-modal h2 {
    margin: 0 0 10px;
  }

  #cookie-modal label {
    display: block;
    margin-bottom: 10px;
  }

  #cookie-modal button {
    margin-top: 15px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  #save-preferences {
    background-color: #227925;
    color: #fff;
  }

  #close-modal {
    background-color: #ac2d23;
    color: #fff;
  }

  #cookie-banner.hidden, #cookie-modal.hidden {
    display: none;
  }