/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #f6bb31;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #f6bb31;
}

.carousel {
    z-index: -1;
}

/* navbar styling */
nav {

    width: 100%;
    padding: 13px 0;
    z-index: 999;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

nav.sticky {
    position: fixed;
    background: #F0F8FF;
    padding: 13px 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 5px 0 rgba(0, 0, 0, 0.19);
}

nav .navbar {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: auto;
}

nav .navbar .logo img {
    width: 40%;
    color: #f6bb31;
}

nav.sticky .navbar .logo a {
    color: #fff;
}

nav .navbar .menu {
    display: flex;
    position: relative;
    vertical-align: middle;
    z-index: 999;
}

nav .navbar .menu li {
    list-style: none;
    vertical-align: text-bottom;
    margin: 5px 8px 0px 8px;
    margin-bottom: 0px;
}

nav .navbar ul {
    margin-bottom: 0;
}

.navbar .menu a {
    font-size: 18px;
    font-weight: 500;
    color: #0E2431;
    padding: 8px 0;
    transition: all 0.4s ease;
    vertical-align: text-bottom;
}

.navbar .menu a:hover {
    color: #f6bb31;
}

nav.sticky .menu a {
    color: #0E2431;
}

nav.sticky .menu a:hover {
    color: #0E2431;
}

.navbar .media-icons a {
    color: #0E2431;
    font-size: 18px;
    margin: 0 6px;
}

nav.sticky .media-icons a {
    color: #0E2431;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
    position: absolute;
    color: #fff;
    right: 30px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

nav .menu-btn {
    color: #4070f4;
}

nav.sticky .menu-btn {
    color: #0E2431;
}

.navbar .menu .menu-btn {
    color: #fff;
}

/* home section styling */
.home {
    height: 100vh;
    width: 100%;
    background: url("../img/background.png") no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}


.home .home-content {
    width: 90%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home .text-one {
    font-size: 25px;
    color: #0E2431;
}

.home .text-two {
    color: #0E2431;
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .text-three {
    font-size: 40px;
    margin: 5px 0;
    color: #f6bb31;
}

.home .text-four {
    font-size: 23px;
    margin: 5px 0;
    color: #0E2431;
}

.button {
    margin: 14px 0;
}

.button button {
    outline: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 25px;
    font-weight: 400;
    background: #f6bb31;
    color: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.button button:hover {
    border-color: #f6bb31;
    background-color: #fff;
    color: #f6bb31;
}


.buttonaula {
    margin: 0px 0px 0px 20px;
}

.buttonaula button {
    outline: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    background: #f6bb31;
    color: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.buttonaula button:hover {
    border-color: #f6bb31;
    background-color: #fff;
    color: #f6bb31;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 25px 20px;
}

.container .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.container .box-container .box {
    background-color: #fff;
    padding: 6px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    display: none;
}

.container .box-container .box .image {

    overflow: hidden;
    width: 100%;
    border-radius: 5px;
}

.container .box-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.container .box-container .box:hover .image img {
    transform: scale(1.05);
    transition: all 200ms ease-out;
}

.container .box-container .box .content h3 {
    font-size: 20px;
    color: #334;
}

.container .box-container .box .content p {
    font-size: 15px;
    color: #777;
    line-height: 2;
    padding: 15px 0;
}

.container .box-container .box .content .btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #334;
    color: #334;
    font-size: 16px;
}

.container .box-container .box .content .btn:hover {
    background-color: crimson;
    border-color: crimson;
    color: #fff;
}

.container .box-container .box .content .icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #334;
}

.container .box-container .box .content .icons span {
    font-size: 14px;
    color: #777;
}

.container .box-container .box .content .icons span i {
    color: crimson;
    padding-right: 5px;
}



@media (max-width:450px) {

    .container .heading {
        font-size: 25px;
    }

    .container .box-container {
        grid-template-columns: 1fr;
    }

    .container .box-container .box .image {
        height: 200px;
    }

    .container .box-container .box .content p {
        font-size: 12px;
    }

    .container .box-container .box .content .icons span {
        font-size: 12px;
    }

}


/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section {
    padding-top: 40px;
}

section .content {
    width: 80%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}

.about .about-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section .title {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

section .title span {
    color: #0E2431;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

section .title span::before,
section .title span::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #f6bb31;
    left: 0;
    bottom: 0;
}

section .title span::after {
    bottom: -7px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

.about .about-details .left {
    width: 45%;
}

.about .left img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.about-details .right {
    width: 55%;
}

section .topic {
    color: #0E2431;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-details .right p {
    text-align: justify;
    color: #0E2431;
}

section .button {
    margin: 16px 0;
}

section .button button {
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 25px;
    font-weight: 400;
    background: #f6bb31;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

section .button button:hover {
    border-color: #f6bb31;
    background-color: #fff;
    color: #f6bb31;
}

/* My Skills CSS */
.skills {
    background: #F0F8FF;
}


.skills figure {

    position: relative;
    display: flex;
    justify-content: center;
    width: 420px;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    cursor: pointer;
}

.skills figure .img-sede {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;

}

.skills figure .capa {

    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(169, 204, 16, 0.4);
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;

}

.skills .direccion {
    text-align: center;
    margin-bottom: 25px;
}

.skills .elementos {
    display: flex;
    justify-content: center;

}

.skills figure:hover>.capa {
    opacity: 1;
    visibility: visible;
}

.skills figure:hover>.capa h3 {
    margin-top: 110px;
    margin-bottom: 15;
}


.skills figure .capa h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}


/* My Services CSS */
.ingresantes .boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ingresantes .boxes .box {
    margin: 20px 0;

    text-align: center;
    border-radius: 12px;
    padding: 30px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    cursor: default;
    transition: all 0.4s ease;
}

.ingresantes .boxes .box:hover {
    background: #f6bb31;
    color: #fff;
}

.ingresantes .boxes .box .icon {
    height: 50px;
    width: 50px;
    background: #f6bb31;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    color: #fff;
    margin: 0 auto 10px auto;
    transition: all 0.4s ease;
}

.boxes .box:hover .icon {
    background-color: #fff;
    color: #f6bb31;
}

.ingresantes .boxes .box:hover .topic,
.ingresantes .boxes .box:hover p {
    color: #0E2431;
    transition: all 0.4s ease;
}

.ingresantes .boxes .box:hover .topic,
.ingresantes .boxes .box:hover p {
    color: #fff;
}


/* Footer CSS */
footer {
    background: #f6bb31;
    padding: 15px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

footer .text span {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
}

footer .text span a {
    font-weight: 500;
    color: #FFF;
}

footer .text span a:hover {
    text-decoration: underline;
}

/* Scroll TO Top Button CSS */
.scroll-button a {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background: #f6bb31;
    padding: 7px 12px;
    ;
    font-size: 18px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.15);
    display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
    section .content {
        width: 85%;
    }
}

@media (max-width: 1000px) {
    .about .about-details {
        justify-content: center;
        flex-direction: column;
    }

    .about .about-details .left {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .about-details .right {
        width: 90%;
        margin: 40px 0;
    }

    .services .boxes .box {
        margin: 20px 0;
        width: calc(100% / 2 - 20px);
    }
}

@media (max-width: 900px) {
    .about .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 750px) {
    nav .navbar {
        width: 90%;
    }

    nav .navbar .menu {
        position: fixed;
        left: -100%;
        top: 0;
        background: #0E2431;
        height: 100vh;
        max-width: 400px;
        width: 100%;
        padding-top: 60px;
        flex-direction: column;
        align-items: center;
        transition: all 0.5s ease;
    }

    .navbar.active .menu {
        left: 0;
    }

    nav .navbar .menu a {
        font-size: 23px;
        display: block;
        color: #fff;
        margin: 10px 0;
    }

    nav.sticky .menu a:hover {
        color: #f6bb31;
    }

    nav .navbar .media-icons {
        display: none;
    }

    nav .menu-btn,
    .navbar .menu .cancel-btn {
        display: block;
    }

    .home .text-two {
        font-size: 65px;
    }

    .home .text-three {
        font-size: 35px;
    }

    .skills .skills-details {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .skills-details .text {
        width: 100%;
        margin-bottom: 50px;
    }

    .skills-details .boxes {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .services .boxes .box {
        margin: 20px 0;
        width: 100%;
    }

    .contact .text {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .text-two {
        font-size: 55px;
    }

    .home .text-three {
        font-size: 33px;
    }

    .skills-details .boxes .per {
        font-size: 50px;
        color: #f6bb31;
    }
}

.navbar .menu #elemento-animado {
    color: #f6bb31;

}