* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url(./fondo.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.container {
    margin: 0 auto;
    width: 100%;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    
    background-color: rgba(0, 0, 0, 0.582);
    /* Ajustar a la altura de la ventana del navegador */
}



header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

header img {
    width: 250px;
    height: auto;
    mix-blend-mode: multiply;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 30px;
    margin-top: 20px;
    text-transform: uppercase;
}

section {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

p {
    font-family: 'Montserrat', sans-serif;
}

section p:first-of-type {
    margin: 0;
}

.social-icons {
    display: flex;
    position: relative;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 20px;
    transition: all 0.3s ease-in;
    position: relative;
}

.social-icons a:hover {
    transform: translateY(-10px);
}

/*Color para primer ícono (facebook)*/
.social-icons a:hover:first-child {
    color: rgb(0, 102, 255);
}

.social-icons a:hover:nth-child(2) {
    color: rgb(234, 0, 255);
}

.social-icons a:hover:last-child {
    color: rgb(132, 0, 255);
}

footer {
    position: relative;
}

/*Segunda página*/
.pageTwo {
    width: 100%;
    position: relative;
    height: 100vh;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}
.ralla{
    position: relative;
    height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 200px;
}
.ralla > div{
    width: 3px;
    background-color: black;
    height: 200px;
    border-radius: 2px;
}
.ralla img{
    position: absolute;
    rotate: 90deg;
    filter: brightness(0);
    top: 340px;
    width: 250px;
}
.image1,.image2{
    position: relative;
    width: 30%;
}
.image1 img,.image2 img{
    height: 80vh;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}
.image1 p{
    font-size: 1.2rem;
    color: rgb(102, 102, 102);
    margin: 0 10px;
    margin-top: 20px;
}
.more{
    width: auto;
    list-style: none;
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
    cursor: pointer;
}
.more:hover > li{
    margin-left: 0;
}
.more li{
    width: 30px;
    height: 30px;
    margin-left: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: black;
    transition: all 0.4s ease;
}
.more li:first-child{
    margin-left: 0;
    margin-right: 20px;
    font-size: 2rem;
    color: gray;
}
.more li:nth-child(2){
    background-image: url(https://tensioncreativa.com/wp-content/uploads/2021/01/Miss-Cosmetics-5.jpg);
    background-size: cover;
}
.more li:nth-child(3){
    background-image: url(https://tensioncreativa.com/wp-content/uploads/2021/01/Tortas-Del-Gordo.jpg);
    background-size: cover;
}
.more li:nth-child(4){
    background-image: url(https://tensioncreativa.com/wp-content/uploads/2021/02/Arfrazv-fotografia.jpg);
    background-size: cover;
}
.pageThree{
    width: 100%;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-direction: column;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.582);
    color: white;
}
.pageThree h1{
    text-transform: none;
}
.pageThree h2{
    font-weight: 400;
}
button{
    padding: 10px 3em;
    border: none;
    background-color: blueviolet;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}
@media only screen and (max-width: 765px){
    .ralla{
        position: relative;
        height: 100vh;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        width: 100px;
    }
    .pageTwo {
        height: auto;
        box-sizing: border-box;
        padding: 0 10px;
    }
    .image1,.image2{
        position: relative;
        width: 40%;
    }
    .image1 img,.image2 img{
        height: 30vh;
        object-fit: cover;
        width: 100%;
        border-radius: 10px;
    }
    .pageThree{
       padding: 10px;
       box-sizing: border-box;
    }
    body{
        background-attachment:none;
    }
}
