/*Responsive 0px - 767px -> Phone*/
@media screen AND (max-width: 1144px) {
    
    main .profesional {
        overflow-x: hidden;
    }


     main .profesional .containerboder {
        position: relative;
     }

    main .profesional .containerboder .borde1 {
        position: absolute;
        left: -750px;
        top: -80px;
        width: 1154px;
        height: 720px;
        animation: fadeInLeft;
        animation-duration: 1s;
    }

    main .profesional .containerboder .borde2 {
        position: absolute;
        animation: fadeInRight;
        animation-duration: 1s;
        right: -120ch;
        top: -80px;
        width: 1154px;
        height: 720px;
        
    }

    main .profesional .containerinicio {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        background: linear-gradient(180deg, rgba(161, 193, 165, 0) 0%,rgba(161, 193, 165, 1) 50%,rgba(161, 193, 165, 0) 100%);
        overflow-x: hidden;
        padding: 3rem;
        gap: 5rem;
        position: relative;
        margin: auto;
    }

    .projectuni .containerprojecuni .containerunigrid .unigrid {
        grid-template-columns: 50% 50%;
    }

    .projectuni .containerprojecuni .containerunigrid .unigrid .pagina a {
    filter: blur(0px);
    }
}



@media screen AND (max-width: 997px) {
    .educacion .educacioncontainer .detalleeducacion{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    body {
        overflow-x: hidden;
    }
}

@media screen AND (max-width: 966px) {
    .know .containerknows .containergrid {
        display: flex;
        flex-direction: column;  
        width: 70%;
    }

    .know .containerknows .containergrid .gridizquierda {
        display: flex;
        flex-direction: column;
        padding-bottom: 0px;
    }

    
}

@media screen AND (max-width: 944px) {
    body {
            overflow-x: hidden;
    }

    header nav .navegacion .dropbtn {
        visibility: visible;
        display: initial;
    }

    .dropbtn {
        background-color:#2e6f57;
        color: white;
        font-family: "Jersey 10", sans-serif;
        padding: 16px;
        font-size: 2.5rem;
        border: none;
        cursor: pointer;
        }

        /* Dropdown button on hover & focus */
    .dropbtn:hover, .dropbtn:focus {
        background-color: #1e3a22;
        }

        /* The container <div> - needed to position the dropdown content */
    .navegacion {
        position: relative;
        display: inline-block;
        }

        /* Dropdown Content (Hidden by Default) */
    .directorio  {
        display: none;
        position: absolute;
        background-color: #1f9655;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        right: -1rem;
        top: 5ch;
        }

        /* Links inside the dropdown */
    .directorio  a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        }

        /* Change color of dropdown links on hover */
    .directorio a:hover {background-color: #ddd;}

        /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
    .show {display:block;}

    
}

@media screen AND (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    header nav .navegacion .logo {
         font-size: 3rem;
        

    }

    main .profesional .containerinicio .descripcionderecha {
        display: flex;
        justify-content: center;
        width: 80vw;
        height: 80vw;
        max-width: 450px;
        max-height: 450px;
        
    }
    main .profesional .containerinicio .descripcionderecha img {
        width: 80vw;
        height: 80vw;
        max-width: 450px;
        max-height: 450px;
    }

    main .profesional .containerinicio .descripcionizquierda {
        padding: 0.5rem;
        width: 70vw;
    }

    main .profesional .containerinicio .descripcionizquierda .rectangulo {
        width: 2rem;
        height: 80%;
        max-height: 400px;
        position: absolute;
        left: -2rem;
        top: 2rem;
        z-index: 0;
        background-color: #f0dfee;
        box-shadow: 0px 8px 0px 0px black;
    }

    main .profesional .containerinicio .descripcionizquierda .rectangulo2 {
        width: 2rem;
        height: 80%;
        position: absolute;
        right: -2rem;
        top: 2rem;
        z-index: 1;
        background-color: #f0dfee;
        box-shadow: 5px 8px 0px 0px black;
    }

    main .profesional .containerinicio .descripcionizquierda .nombreinicio .nombreicon p {
        font-size: 2.5rem;
        font-weight: normal;
    }
    
    main .profesional .containerinicio .descripcionizquierda .nombreinicio .nombreicon {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        position: absolute;
        align-items: center;
        width: 50vw;
        line-height: 0;
        max-width: 500px; 
        top: 2.5rem;
        left: 10vw;
    }

    main .profesional .containerinicio .descripcionizquierda .nombreinicio h2 {
        text-align: center;
        font-size: 6rem;
        font-weight: normal;
        line-height: 0.6;
        color: #0f6409;
        text-shadow: 4px 4px black;
        padding-top: 7rem;
        overflow-x: hidden;
        padding-bottom: 2rem;
    }

    main .profesional .containerinicio .descripcionizquierda .descirpcioninicio p{
        font-size: 2.5rem;
        line-height: 0.8;
        text-align: center;
    }

    .know .containerknows .containergrid .gridizquierda .edicionimagen h2 {
        font-size: 2rem;
    }

    .know .containerknows .containergrid .gridderecha .programacion h2 {
        font-size: 2rem;
    }

    .contactoend .containercon .forma {
        text-align: center ;
        justify-content: center;
    }

    .contactoend .containercon .forma #name {
        align-items: center;
        padding: 10px 10px 10px 10px;
        border-radius: 10px;
        border-style: solid;
        border-width: 1px;
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: rgb(107, 107, 107);
        width: 90vw;
        max-width: 25rem;
    }

    .contactoend .containercon .forma #mail {
        padding: 10px 10px 10px 10px;
        border-radius: 10px;
        border-style: solid;
        border-width: 1px;
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: rgb(107, 107, 107);
        width: 90vw;
        max-width: 25rem;
    }

    .contactoend .containercon .forma #text {
        padding: 10px 50px 10px 10px;
        border-radius: 10px;
        border-style: solid;
        border-width: 1px;
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: rgb(107, 107, 107);
        width: 90vw;
        max-width: 25rem;
        height: 15rem;
    }

    footer .footercontainer {
        text-align: center;
        padding-bottom: 10px;
        padding-top: 10px;
    }

}