/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}

:root{

    --pink:#ffd6ea;
    --purple:#d9c7ff;
    --white:rgba(255,255,255,0.2);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Quicksand', sans-serif;

    color:white;

    background-image:url("https://nayetista.neocities.org/IMG/Inter%C3%A9s%20compuesto.png");

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    padding:20px;
}

/* HEADER */

.main-header{

    display:flex;

    justify-content:center;

    margin-bottom:30px;
}

/* LOGO */

.logo-title img{

    width:500px;

    max-width:90%;

    transition:0.3s;
}

.logo-title img:hover{

    transform:scale(1.03);
}

/* NAVBAR */

.navbar{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;

    padding:10px;

    margin-bottom:30px;
}
/* BOTONES */

.nav-button{

    text-decoration:none;

    color:white;

    display:flex;

    flex-direction:column;

    align-items:center;

  

    transition:0.3s;
}

.nav-button:hover{

   
}

.nav-button img{

    width:70px;
}

/* BANNER */

.main-banner{

    display:flex;

    justify-content:center;

    margin-bottom:30px;
}

.main-banner img{

    width:100%;

    max-width:1000px;

    border-radius:2px;
}

/* MINI BOTONES */

.mini-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-bottom:40px;

    flex-wrap:wrap;
}

.mini-buttons button{

    border:none;

    padding:12px 20px;

    border-radius:30px;

    background:rgba(255,255,255,0.2);

    color:white;

    cursor:pointer;

    transition:0.3s;
}

.mini-buttons button:hover{

    transform:scale(1.05);
}

/* LAYOUT */

.main-layout{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:20px;

    margin-bottom:40px;
}

/* BLOG */

.blog-section{

    background:rgba(255,255,255,0.15);

    padding:25px;

    border-radius:30px;

    backdrop-filter:blur(10px);
}

.blog-posts{

    margin-top:20px;
}

/* POSTS */

.post{

    margin-bottom:20px;

    padding:20px;

    border-radius:20px;

    background:rgba(255,255,255,0.15);
}

/* SIDEBAR */

.sidebar{

    display:flex;

    flex-direction:column;

    gap:20px;
}

.side-box{

    background:rgba(255,255,255,0.15);

    border-radius:25px;

    padding:20px;

    backdrop-filter:blur(10px);
}

.side-box a{

    display:block;

    color:white;

    text-decoration:none;

    margin-top:10px;
}

/* GALERÍA */

.gallery{

    background:rgba(255,255,255,0.15);

    padding:30px;

    border-radius:30px;

    margin-bottom:40px;

    backdrop-filter:blur(10px);
}

.gallery h2{

    text-align:center;

    margin-bottom:20px;
}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:20px;
}

.gallery-grid img{

    width:100%;

    border-radius:20px;

    transition:0.3s;
}

.gallery-grid img:hover{

    transform:scale(1.05);
}

/* FOOTER */

.footer{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;
}

.guestbook,
.footer-decoration{

    background:rgba(255,255,255,0.15);

    padding:25px;

    border-radius:30px;

    backdrop-filter:blur(10px);
}

.footer-decoration{

    text-align:center;
}

.footer-decoration img{

    width:220px;
}

/* RESPONSIVE */

@media(max-width:900px){

    .main-layout{

        grid-template-columns:1fr;
    }

    .footer{

        grid-template-columns:1fr;
    }
}