*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.7em;}
h3{ font-size: 2em;}
p{ font-size: 1.25em;}
ul{ list-style: none;}
li{ font-size: 1.25em;}

button{
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    background-color:rgb(45, 255, 185);
}
button:hover{
    background-color:rgb(0, 133, 88);
}   

.container{
    max-width: 1400px;
    margin: auto;
}

.color-acento{ color:rgb(9, 253, 172);}

header{
    background-color: rgb(245, 245, 245);
}

header .logo{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: rgb(0, 33, 219);
    font-size: 1.6em;
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

header a:hover{
    color: rgb(45, 255, 185);
}

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    )
    ,url("media/img3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    
}

#hero h1{
    color:white;
}

#hero button{
    font-size: 1.75em;
}

#somos-proya .container{
    text-align: center;
    padding: 200px 12px;
}

#nuestros-programas{
    background-color: rgb(30, 30, 30);
    color: white;
    text-align: center;
}

#nuestros-programas .container{
    padding: 150px 12px;
}

#nuestros-programas h2{
    margin-top: 0;
    font-size: 3.2em;

}

#nuestros-programas p{
    display: none;
}

#nuestros-programas .carta{
    background-position: center center;
    background-size: cover;
    padding: 50px 0px;
    margin: 30px;
    border-radius: 15px;

}

        .carta:first-child{
            
            background-image: linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
                )
                ,url("media/onepage.jpg");                
            }

        .carta:nth-child(2){
            background-image: linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
            )
            ,url("media/multipageedit.PNG");
        }

        .carta:nth-child(3){
            background-image: linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
            )
            ,url("media/ecomerce2.png");            
        }
        
        #final{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: rgb(30, 30, 30);
            color: white;
            height: 80vh;
        }

        #final h2{
            font-size: 7vw;
        }

        #final button{
            font-size: 4.5vw;
        }

        footer {
            background-color: rgb(230, 230, 230);
        }

        footer p{
            margin: 0;
            padding: 12px;
            color: rgb(100, 100, 100);
            font-size: 3vw;
         
        }

        footer .container{
            height: 150px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            align-items: flex-end;
        }

        @media (min-width: 900px){



            header{
                position: fixed;
                width: 100%;
            }
            header .container{
                flex-direction: row;
                justify-content: space-between;
            }

            header nav{
                flex-direction: row;
                padding-bottom: 0;
                padding-right: 20px;
            }
            
            #hero h1{
                font-size: 5em;
            }

            #somos-proya .container{
                display: flex;
                justify-content: space-evenly;

            }

            #somos-proya .texto{
                width: 50%;
                max-width: 600px;
                text-align: initial;

                padding: 30px;
                display: flex;
                flex-direction: column;
                justify-content: center;

            }

            #somos-proya h2{
                margin-top: 0px;
            }

            #somos-proya .img-container{
                background-image: url("media/img4.jpg");
                background-size: cover;
                background-position: center center;
                height: 500px;
                width: 400px;

            }

            #nuestros-programas .programas{
                display: flex;
                justify-content: center;
            }

            #nuestros-programas p{
               display: block;
               margin-bottom: 30px;
            }

            #nuestros-programas h2{

                font-size: 4em;
            }
            #nuestro-programas h3{
                margin-top: 0;
            }

            #nuestro-programas .carta{
                padding: 50px;
                background-size: 100% 150px;
                background-repeat: no-repeat;
                background-position-y: 0;
                background-color: rgb(50, 50, 50, 1);
                box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
            }

            .carta:first-child{
            
                background-image: linear-gradient(
                    0deg,
                    rgba(0, 0, 0, 0.5),
                    rgba(0, 0, 0, 0.5)
                    )
                    ,url("media/onepag.PNG");                
                }
    
            .carta:nth-child(2){
                background-image: linear-gradient(
                    0deg,
                    rgba(0, 0, 0, 0.5),
                    rgba(0, 0, 0, 0.5)
                )
                ,url("media/multipageedit.PNG");
            }
    
            .carta:nth-child(3){
                background-image: linear-gradient(
                    0deg,
                    rgba(0, 0, 0, 0.5),
                    rgba(0, 0, 0, 0.5)
                )
                ,url("media/ecomerce.png");            
            }


            #final h2 {
                font-size: 4em;
            }

            #final button{

                font-size: 2em;
            }

            footer .container{
                align-items: flex-end;
            }

            footer p{
                font-size: 1.3em;
            }

        }

        @media (min-width: 1280px){

            #caracteristicas .container .IMG{
              
                background-image: url("media/img3.jpg");
                background-repeat: no-repeat;
                background-size: 380px 600px;
                background-position: calc(100vw - 460px) 50px;
                background-position-x: calc(100vw - 500px);
                margin-left: 20px;
            }

            #caracteristicas .container .x{
              
                max-width: 780px;
                text-align: left;
            }
          
        }

        @media (max-width: 1279px){
            #caracteristicas .container .x{
                
                margin: 0 auto;
                max-width: 900px
            }
        }

        #caracteristicas .container{
            text-align: center;
            padding: 220px 40px;
        }

        .multi-select {
            position: absolute;
            display: inline-block;
            top: 0;
            right: 0;
        }
        
        .accordion-title {
            padding: 5px 10px;
            border-bottom: 1px solid lightgray;
            font-size: 1.7em;
            color: darkgray;
            
        }
        
        .accordion {
            position: relative;
        }
        
        .accordion .title-section {
            border-bottom: 1px solid lightgray;
            cursor: pointer;
            
        }
        
        .accordion .title-section .title {
            display: inline-block;
            padding: 5px 10px;
            font-weight: 600;
            font-size: 1.25em;
        }
        
        .accordion .title-section .expand-icon {
            display: inline-block;
            height: 20px;
            width: 20px;
            background-image: url('./icons/down-icon.png');
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: cover;
            cursor: pointer;
            position: absolute;
            right: 5px;
            top: 5px;
        }
        
        .accordion .title-section .collapse-icon {
            display: inline-block;
            height: 20px;
            width: 20px;
            background-image: url('./icons/up-icon.jpg');
            background-repeat: no-repeat;
            background-position: 50%;
            background-size: cover;
            cursor: pointer;
            position: absolute;
            right: 5px;
            top: 5px;
        }
        
        .accordion .description {
            text-align: left;
            padding: 5px 10px;
            border-bottom: 1px solid lightgray;
        }
        
        .position-relative {
            position: relative;
        }