@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #081b29;
    --secongbg-color: #112e42;
    --text-color:#ededed;
    --main-color: #00abf0;
    --thirdbg-color:#206796;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background:url(fondo3.png);
    
}

.sticky-header {
    position: fixed; /* Change from sticky to fixed */
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: #212f3c;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.top-bar {
    background-color: #b57a2a;
    z-index: 1035;
}

.social-media-icons a {
    font-size: 18px;
    text-decoration: none;
}

.main-nav {
    background-color: #212f3c;
}

.logo-img {
    height: 100px;
}

.nav-link {
    font-size: 16px;
    font-weight: bold;
    margin: 0 15px;
}

.menu-toggle {
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #212f3c;
    transition: left 0.3s;
    padding-top: 60px;
    z-index: 1040;
}

.sidebar .nav-link {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

.sidebar .nav-link:hover {
    background-color: #3b414d;
}

.sidebar .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--secongbg-color);
}

.footer-text p {
    font-size: 1.3rem;
    color: white;
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
}

.footer-iconTop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secongbg-color);
    z-index: -1;
    transition: .5s;
    
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }

    .sidebar {
        font-size: 10rem;
    }
}
::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--secongbg-color);
}

.footer-text p {
    font-size: 1.3rem;
    color: white;
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secongbg-color);
    z-index: -1;
    transition: .5s;
    
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-color);
    transition: .5s;
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }

    .sidebar {
        font-size: 10rem;
    }
}
::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}

.container1 {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.thumbnail-img {
    width: 500px;
    height: 300px;
    background: var(--secongbg-color);
    border: 20px;
    position: relative;
}

.thumbnail-img img {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thumbnail-img i {
    width: 60px;
    height: 60px;
    background: #0f62df;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
    line-height: 60px;
    color: #fff;
    cursor: pointer;
}

.thumbnail-img i:hover {
    background: rgba(9, 96, 226, .8);
}

.popup-modal {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #080808;
    transform: scaleX(0);
    transition: .10s;
}

.popup-modal iframe {
    width: 75%;
    height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 10rem;
}

.btncerrar {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    padding-top: 10rem;
}

.btncerrar span {
    display: block;
    width: 40px;
    height: 3px;
    background: #ffffff;
    margin-top: 7px;
}

.btncerrar span:first-child {
    margin-top: 0px;
}

.l1 {
    transform: translateY(10px) rotate(45deg);
}
.l2 {
    transform: translateY(0px) rotate(-45deg);
}