@import url('https://fonts.googleapis.com/css2?family=Margarine&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    -webkit-overflow-scrolling: touch;
}

h1,
h2,
textPath {
    font-family: Margarine;
}

#formulario input,
textarea {
    font-family: Margarine;
}

h3 {
    font-family: "Sour Gummy", sans-serif;
    font-weight: 800;
    color: #ec4899;
}

#contact1 h3 {
    font-family: "Sour Gummy", sans-serif;
    font-weight: 800;
    color: #fde047;
}

p {
    font-family: "Playpen Sans", cursive;
    font-weight: 500;
}

.options:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;

}

a {
    text-decoration: none;
    font-family: "Sour Gummy", sans-serif;
}

.crayolay,
.crayolag {
    display: none;
}

.sub-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    padding: 0.4rem 0;
    z-index: 20;
}

.matriculas:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.sub-menu li {
    width: 100%;
    margin: 0;
}

.sub-menu li button {
    width: 100%;
    border: none;
    background: transparent;
    color: #111827;
    font-family: inherit;
    font-size: 0.95rem;
    text-align: left;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.sub-menu li:hover {
    background: rgba(236, 72, 153, 0.1);
}

.drop-down {
    position: relative;
}

.drop-down > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.drop-down > .nav-link::after {
    content: "▾";
    font-size: 0.8rem;
    opacity: 0.85;
}

.drop-down:hover .sub-menu {
    display: block;
}

.hero img.movil {
    display: none !important;
}

.nav #menu-open-button,
.nav #menu-close-button {
    display: none;
}


@media only screen and (max-width: 768px) {
    .nav :where(#menu-close-button, #menu-open-button) {
        font-size: 28px;
        cursor: pointer;
    }

    .nav #menu-open-button {
        color: #ec4899;
        display: block;
        margin-left: auto;
    }

    .nav #menu-close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #a21c5f;
        display: block;
        z-index: 110;
    }

    .nav .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        width: 280px;
        height: 100vh;
        background-color: #f6f6f6;
        z-index: 100;
        box-shadow: 10px 0 20px rgba(0,0,0,0.1);
        gap: 20px;
    }

    .nav .nav-menu.open {
        display: flex;
    }

    .nav .nav-menu.open .nav-item {
        background: #ec4899;
        width: 85%;
        height: 50px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .nav .nav-menu.open .nav-item:nth-child(even) {
        background: #16a34a;
    }

    .nav .nav-menu.open .nav-link {
        color: white !important;
        font-weight: 600;
        font-size: 16px;
        text-align: center;
        font-family: "Margarine", cursive;
        margin-top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav .nav-link {
        text-transform: uppercase;
    }

    html,
    body {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #top {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        height: auto;
        gap: 10px;
        padding: 0 10px;
        justify-content: flex-start;
        
    }

    .logo{
        gap: 15px;
        flex-direction: row;
        align-items: center;
    }


    .logo h1 {
        font-size: 20px;
        text-align: center;
        width: 100%;
    }

    .logo img {
        height: 60px;
        width: auto;
    }

    #top > a {
        display: none !important;
    }

    .logo a {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    svg.cloud {
        width: 100vw !important;
        margin-top: -3px;
    }

    /*hero*/
    .hero {
        max-height: auto;
        width: auto;
        min-width: 0;
        max-width: 100vw;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-top: -1px;
    }

    .hero img.cLogo {
        display: none !important;
    }

    .hero .Cedam_name {
        width: 80%;
        margin-left: auto;
        margin-top: -35%;
    }

    .hero .Cedam_slogan {
        display: none !important;
    }

    .hero img.camilo_flying {
        display: none !important;
    }

    .hero img.camila_flying {
        display: none !important;
    }

    .hero img.clouds-group {
        display: none !important;
    }

    .hero img.cloud2 {
        display: none !important;
    }

    .hero img.crayonss {
        display: none !important;
    }

    .hero img.planet {
        display: none !important;
    }

    .hero img.movil {
        display: block !important;
        margin-top: 10%;
    }

    /*about us*/
    #About {
        margin-top: -20px;
        z-index: 4;
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        padding: 0 10px;
        padding-top: 80px;
        box-sizing: border-box;
    }

    #About h2 {
        font-size: 27px;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }

    #About p {
        font-size: 15px;
        width: 70vw;
        text-align: justify;
        margin-right: auto;
        margin-left: auto;
    }

    #div1 {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    #About svg {
        display: none !important;
    }

    #About a {
        height: 150px;
        width: 150px;
        position: static;
        margin-left: -150px;
        margin-top: 0px;
        border-radius: 50%;
        background-color: #ec4899;
    }

    #About a img {
        height: 140px;
        width: auto;
        margin-bottom: 20px;
    }

    #About a h2 {
        font-size: 18px;
        margin-top: -120px;
        margin-left: 250px;
    }

    #myv {
        gap: 200px;
        height: auto;
        padding: 0 10px;
        width: auto;
        box-sizing: border-box;
    }

    #mision {
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        height: auto;
    }

    #mision svg {
        display: none !important;
    }

    .crayolay {
        rotate: 90deg;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        width: 100px;
        height: auto;
        margin-left: 25px;
        margin-top: -150px;
        z-index: 2;
        position: static;
    }


    #mision p {
        font-size: 12px;
        font-weight: 600;
        margin-left: 20px;
        margin-top: -200px;
        padding-inline: 35px;
        position: static;
        width: auto;
        text-align: justify;
        color: oklch(79.5% 0.184 86.047);
        z-index: 1;
    }

    #mision h2 {
        font-size: 25px;
        font-weight: 700;
        margin-left: 40px;
        margin-top: -330px;
        z-index: 2;
        position: static;
        color: #28292f;
    }

    /*vision*/

    #vision {
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        height: auto;
    }

    #vision p {
        font-size: 12px;
        font-weight: 600;
        margin-right: auto;
        margin-left: auto;
        padding-inline: 35px;
        margin-top: 30px;
        position: static;
        width: auto;
        color: oklch(72.3% 0.219 149.579);
        z-index: 1;
    }

    #vision h2 {
        font-size: 25px;
        font-weight: 700;
        margin-left: 180px;
        margin-top: -280px;
        position: static;
        color: #28292f;
        z-index: 2;
    }

    #vision svg {
        display: none !important;
    }

    .crayolag {
        rotate: -90deg;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        width: 100px;
        height: auto;
        margin-left: 170px;
        margin-top: -150px;
        z-index: 1;
        position: static;
    }

    /*extras*/

    #extras {
        height: auto !important;
        padding-bottom: 1rem;
    }

    #extras h2 {
        font-size: 30px;
    }

    .extras-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .extras-item {
        position: relative;
        height: 350px;
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }


    img.palette {
        position: absolute;
        margin-left: -200px;
        margin-top: -5px;
        height: 150px;
        width: auto;
    }

    img.bb {
        position: absolute;
        margin-left: 600px;
        height: 100px;
        width: auto;
    }

    img.pp {
        position: absolute;
        margin-top: 600px;
        margin-right: -200px;
    }

    img.yy {
        position: absolute;
        margin-left: 250px;
        margin-top: 100px;
        height: 50px;
        width: auto;
    }

    /*contact us*/
    #contacto {
        height: 210vh;
        width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }

    #contacto img {
        display: none;
    }

    #contacto h2 {
        margin-top: 0px;
        text-align: center;
    }

    #contact1 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 180px
    }

    #formulario {
        width: 250px;
    }

    .form-1 {
        flex-direction: column;
        gap: 10px;
    }

    #formulario h3 {
        font-size: 20px;
    }

    #formulario .ff {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    button h3 {
        display: none;
    }

    .ff input,
    textarea {
        padding: 10px;
        width: 200px;
    }

    .vid h3 {
        font-size: 15px;
    }

    #contact1 .vid {
        width: 280px;
        height: 400px;
        position: relative;
    }

    .vid iframe {
        width: 250px;
        height: 150px;
    }

    .contact2 {
        margin-top: 150px;
        padding: 10px;
        gap: 20px;
    }

    .contact2 #info {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #card {
        width: 280px;
        gap: 10px;
    }

    #map iframe {
        width: 270px;
        border-radius: 15px;
        height: 200px;
        margin: 0px 10px 20px 10px;
    }

    /*footer*/

    footer svg.cloud-bottom {
        width: 100vw;
        margin-top: 140px;
        padding-top: 5px;
    }


    footer a {
        margin-top: 30px;
        height: 25px;
        width: 25px;
    }

    #social {
        gap: 10px;
        margin-top: 40px;
    }

    .logof {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
        margin-top: -100px;
    }

    .logof img {
        width: 30px;
        height: auto;
    }

    .logof p {
        margin-top: 90px;
        font-size: 8px;
        width: 150px;
    }

    .phrase {
        display: none;
    }

    #icfes img{
        width: 100%;
        height: auto;
    }
}