:root {

    --color-background-white: #ffffff;
    --color-background-blue: #1b202e;
    --color-background-gray: #d8d8d8;
    --letters-white: #ffffff;
    --letters-blue: #1b202e;
    --letters-black: #000;
    --letters-bluesky: #72d4ff;
    --letters-CT: #fb5a86;
    --letters-plazas: #0096ff;
    --letters-colab: #ff9f23;
    --letters-subtitle-gray: #424242;
    --color-background-blueOP: rgba(27, 32, 46, 0.3);
    --color-background-gray: rgb(236, 236, 236);
    --color-background-gray2: rgba(236, 236, 236, 0.3);
    --first-color: hsl(82, 60%, 28%);
    --title-color: hsl(0, 0%, 95%);
    --text-color: hsl(0, 0%, 95%);
    --body-color: hsl(0, 0%, 95%);
    --container-color: hsl(0, 0%, 100%);

    --body-font: "Poppins", sans-serif;
    --h2-font-size: 1.25rem;
    --small-font-size: .813rem;
}

#banner{
    background: url(/img-Timeline/catedralviejo.webp);
    background-size: cover;
    position: center;
    height: 60vh;
    padding-top: 55px;
}
.banner-text{
    text-align: center;
    color: #fff;
    padding-top: 13%;

}
.banner-text h1{
    font-size: 100px;
    font-style: normal;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    text-shadow: 0 3px 6px rgb(0,0,0,0.4);
}
.about{
    display: inline-block;
    margin: 5%;
    margin-top: 5%;
    padding: 10px 20px;
}
.about .details{
    float: left;
    display: table;
    padding: 15px 90px;
    font-size: 20px;
    height: 200px;
    width: 50%;
    letter-spacing: 3px;
    background-color: var(--color-background-white);
}
.details h1{
    font-size: 50px;
    letter-spacing: 5px;
    font-weight: bold;
    margin-bottom: 10%;
}
.details p{
    margin: 3%;
    letter-spacing: 2px;
}
.details .icons:hover{
    opacity: 0.7;
}
.details h3{
    margin: 20px;
}
.about .image{
    float: right;
    height: 500px;
    width: 50%;

}
.image img{

    margin-left: 10%;
    margin-top: 15%;
    width: 600px;
    height: 400px;

}

.buttons-network{
    position: fixed;
    top: 25%;
    left: 10px;
    z-index: 2;
}
.buttons-network__button{
    width: 35px;
    height: 35px;
    display: block;
    box-shadow: 0 3px 6px rgba(245, 245, 245, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    color: white;
    margin: 35px 0;
    transition: all 0.3s ease;
}
.buttons-network__button p{
    display: none;
}
.buttons-network__button:hover > p{
    display: block;
}
.buttons-network__button:hover{
    width: 100%;
    padding: 0 10px;
}
.buttons-network__button:nth-child(1):hover{
    color: white;
}
.buttons-network__button:nth-child(2):hover{
    color: white;

}
.buttons-network__button:nth-child(3):hover{
    color: white;
}
.buttons-network__button:nth-child(4):hover{
    color: white;
}
.buttons-network__button:nth-child(5):hover{
    color: white;
}



.timeline{
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
}
.timeline::after{
    content: "";
    position: absolute;
    width: 6px;
    background-color: var(--color-background-blue);
    top: 50px;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
}
.container{
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.container::after{
    content: '';
    position: absolute;
    width: 43px;
    height: 43px;
    right: -22px;
    background-color: #20A7DF;
    top: 10px;
    border-radius: 50%;
}
.content{
    display: grid;
    padding: 20px;
    background-color: var(--color-background-gray2);
    position: relative;
    border-radius: 25px;
}
.content:after{
    content: '';
    position: absolute;
    width: 205px;
    height: 205px;
    right: -40px;
    background-color: rgba(32, 167, 223, 0.2);
    top: 0;
    border-radius: 50%;
    z-index: -2;
}

.content h2{
    font-family: 'Futura', Helvetica, sans-serif;
    text-align: center;
    font-size: 40px;
    letter-spacing: 2px;
    margin-bottom: 3%;
}
.content p{

    text-align: justify;
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Open Sans', Calibri, Helvetica, sans-serif;;
}
.divicion{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.timeline img{
    object-fit: cover;
    width: 180px;
    height: 180px;
    border-radius: 15px;
}
.left{
    left: 0;
}
.right{
    left: 50%;
}
.left::before{
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 0;
    right: 30px;
    border: medium solid #1b202e;
    border-width: 10px 10px 10px 0;
    border-color: transparent #1b202e transparent transparent;
}
.right::before{
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 0;
    left: 30px;
    border: medium solid red;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #1b202e;
}
.right::after{
    left: -22px;
}
@media screen and (max-width:1024px){
    #banner{
        height: 40vh;
    }
    .timeline img{
        width: 80%;
        height: 60%;
    }
    .divicion{
        grid-template-columns: 45% 50%;
    }
}
@media screen and (max-width:768px){
    .timeline img{
        display: none;
    }
    .divicion{
    grid-template-columns: 100% ;
    }
}

@media screen and (max-width:600px){
    .banner-text h1{
        font-size: 75px;
    }
    .timeline::after{
        left: 31px;
    }
    .container{
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .container::before{
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    .left::after,.right::after{
        left: 15px;
    }
    .right{
        left: 0%;
    }
}
@media screen and (max-width:600px){
    .content:after{
        right: -5%;
    }
}