@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;
    font-family: 'Ubuntu', sans-serif;
}

/* -- NAVBAR -- */
nav {
    background-color: #AD1457;
    width: 100%;
	z-index: 999;
	padding: 12px 0;
    position: fixed;
}

.max-width {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.social-link {
    font-size: 1.8rem;
    color: #fff;    
    margin-right: 1.5rem;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.social-link:hover {
    background-color: rgb(46,163,209);
    transform: rotate(350deg);
    border-radius: 50px;
}

@media only screen and (max-width: 425px) {
nav {
    padding: 8px 0;
}

.social-link {
    font-size: 1.6rem;
}
}

@media only screen and (max-width: 320px) {
nav {
    padding: 7px 0;
}
    
.social-link {
    font-size: 1.5rem;
}
}

/* -- HERO -- */
.hero {
    width: 100%;
    max-height: 100vh;
    background-image: url(./img/bg.jpg);
    background-size: cover;
	background-attachment: fixed;
}

.hero img {
    width: 100%;
    max-height: 73vh;
    margin-top: 1rem;
}

.title {
    text-align: center;
    font-size:2rem;
    margin: 2.5rem;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
.hero img {
    margin-top: 2.5rem;
}
}

/* -- ENTRADAS -- */
.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

/* -- TARJETAS -- */
.gallery {
    margin: 10px 50px;
}

.container .card {
    width: 330px;
    height: 255px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
    background-color: #fff;
}

.container .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0,0,0, 0.2);
} 

.container .card img {
    width: 330px;
    height: 190px;
}

.container .card a {
    text-decoration: none;
}

.container .card p {
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    margin: 0.2rem 1rem;
    text-decoration: none;
    color: #222;
}

footer {
    background-color: #AD1457;
    padding: .4rem;
    margin-top: 3rem;
}

footer p {
    text-align: center; 
    color:white;
}