@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 

.kanit-thin {
  font-family: "Kanit", sans-serif;
}

*/

:root {
    --white: #f8f9fa;
}

* {
    box-sizing: border-box;
    text-decoration: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: "Kanit", sans-serif;
  overflow-x: hidden;
}

/* el fondo fijo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../assets/background/bg-2.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1; /* queda detrás de todo */
}


.main-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.459);
}

.main-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "Kanit", sans-serif;
    gap: 3rem;
}

.main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.main-logo img {
    height: 9rem;
    margin-bottom: 7rem;
}

.date-time {
    font-weight: 400;
    font-size: 1.2rem;
    color: #f8f9fa94;
    text-align: center;
    font-family: "Kanit", sans-serif;
    margin-top: -10rem;
}

.main-links-container {
    margin-top: 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: .7rem;
}

.main-link a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.main-link a:hover {
    transform: scale(1.1);
    color: #f8f9fada;
    transition: all .2s ease-in-out;
}

.main-icons-container {
    display: flex;
    justify-content: center;
    align-self: center;
    gap: 2rem;
}

.main-icons-container a {
    color:#f8f9fada;
    transition: all .2s ease-in-out;
}

.main-icons-container a:hover {
    transform: scale(1.2);
    color: #ffffff;
    transition: all .2s ease-in-out;
}






/* ANIMACIONES */


@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


.main-logo {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards, floatBounce 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.date-time {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.main-links-container .main-link {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.main-icons-container {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: .99s;
}

/* DELAY */
.main-links-container .main-link:nth-child(1) {
    animation-delay: 0.6s;
}

.main-links-container .main-link:nth-child(2) {
    animation-delay: 0.8s;
}

.main-links-container .main-link:nth-child(3) {
    animation-delay: 1s;
}

.main-links-container .main-link:nth-child(4) {
    animation-delay: 1.2s;
}