@charset "utf-8";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9F8F2;
    border-top: 16px solid #D4A5A5; 
    color: #2C3E50;
    font-family: 'Raleway', sans-serif;
    line-height: 1.8;
    padding: 20px;
    overflow-x: hidden;
}

h1 {
    color: #2C3E50;
    font-family: "Secular One", sans-serif;
    font-size: clamp(50px, 10vw, 150px);
    margin-left: 85px;
    margin-top: 145px;
}

h2 {
    color: #2C3E50;
    font-family: "Bellota Text", sans-serif;
    font-size: clamp(30px, 5vw, 55px);
    margin-bottom: 30px;
}


#destacado {
    color: rosybrown;
    font-style: italic;
    font-size: 15px;
    text-align: justify;
    padding: 15px;
}


#favicon {
    border-radius: 10px;
    max-width: 150px;
}

.mosaic-grid img {
    width: 200px; 
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

#div1 {
    width: 100%;
    max-width: 700px; 
    background-color: rosybrown;
    margin: 20px 0 10px 25px;
    padding: 50px;
    border-radius: 40px;
    color: white;
}

#div2 {
    font-size: 20px;
    text-align: justify;
    padding: 15px;
}


.dropdown-menu {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


#destacado ul {
    list-style-type: disc;
    padding-left: 20px;
}

#destacado li {
    margin-bottom: 10px;
    color: #2C3E50;
}

.chat-fixed-container {
    position: fixed;
    top: 35px;
    right: 60px;
    z-index: 1000;
}

.btn-chat {
    background-color: #2C3E50;
    color: white;
    border-radius: 10px;
    padding: 12px 25px;
    border: none;
}

.btn-chat:hover {
    background-color: rosybrown;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-fixed-container .dropdown:hover .dropdown-menu {
    display: block;
    animation: slideUp 0.3s ease forwards;
}

/* MEDIA QUERY */
@media (max-width: 768px) {
    h1 { margin-left: 0; text-align: center; }
    h2 { text-align: center; }
    #div1 { margin-left: 0; padding: 25px; }
    .chat-fixed-container { top: auto; bottom: 20px; right: 20px; }
    .mosaic-grid img { width: 140px; height: 140px; }
}