@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700;800;900&display=swap');

*{  margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #f0e6f610;
}

::-webkit-scrollbar-thumb {
    background:#d4a6df;
    border-radius: 250px;
}

body{
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    flex-direction: column;
    flex-wrap: wrap;
    background: url(imagenes/fondo2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*header*/

header{
    position: relative;
    width: 100%;
    padding: 3% 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo-h2 a{
    position: relative;
    color: rgba(119, 3, 119, 0.459);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.75rem;
}

header .navigation{
    width: auto;
}

header .navigation a{
    color: rgba(119, 3, 119);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 15px;
    border-radius: 20px;
}


header .navigation a:hover{
    background: rgba(119, 3, 119, 0.555); 
    color: rgb(238, 217, 252);}

label{
    display: none;
}
    
#check {
    z-index:3;
    display: none;
}
    
.history{
    display: none;
}

.about:hover + .history{
	display: flex;
    align-content: center;
    text-align: center;
	width: 50vw;
    top: 0;
    left: 25%;
	position: absolute;
	color: #d4a6df;
    padding: 2%;
    box-sizing: border-box;
	background-color: rgba(77, 2, 100, 0.877);
	transition: all 0.4s;}

/*main*/

main{
    width: 100%;
    display: flex;
    gap: 50%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.mainmain{
    display: flex;
    width: 60%;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 1% 0;
}

.logocs{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: movimiento 2.5s linear infinite;
}

.logocs img{
    width: 100%;
    height: auto;
}
.media{
    margin: 2%;
}
.media-icons {
    width: 15em;
    height: 4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    object-position: center;
    margin-top: 5%;
}

.media-icons a{
    position: relative;
    color: rgba(119, 3, 119);
    font-size: 2rem;
    transition: 0.3s;
    justify-content: space-between;
    transition-property: transform;
}

.media-icons a:hover{
    transform: scale(1.5);
}


/*footer*/
footer{
    position: relative;
    bottom: 0;
    width: 100%;
    min-height: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(119, 3, 119, 0.555);
    margin-top: 2%;
}

.foottext{
    margin: 10px;
    font-size: 0.75rem;
    text-align: center;
}

/*keyframes*/

@keyframes movimiento{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(30px);
    }
    100%{
        transform: translateY(0);
    }
}

/*responsive styles*/

@media only screen and (min-width: 1025px) and (max-width: 1200px){}
@media only screen and (min-width: 769px) and (max-width: 1024px){}


@media only screen and (min-width: 481px) and (max-width: 768px){
header{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .navigation{
    display: none;
}

label{
    display: flex;
    flex: row;
    font-size: 1.75rem;
    cursor: pointer;
    color: rgba(119, 3, 119);
    align-items: center;
    align-self: center;
}

label:hover{
    color: rgb(238, 217, 252);
}

label .bx-x-circle{
    display: none;
}

#check:checked ~ header .navigation{
    z-index: 2;
    position: fixed;
    background: rgba(67, 3, 119, 0.87);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#check:checked ~ header .navigation a{
    color: rgb(238, 217, 252);
    font-weight: 700;
    margin-right: 0;
    margin-bottom: 5%;
    letter-spacing: 2px;
    font-size: 2rem;
    align-self: center;
}

#check:checked ~ header label .bxs-hot{
    display: none;
}

#check:checked ~ header label .bx-x-circle{
    z-index: 2;
    display: block;
    position: fixed;
}

label .bxs-hot{
    position: absolute;
}

.about:hover + .history{
    width: 80vw;
    display: block;
    height: auto;
    color: plum;
    text-align: center;
    justify-content: center;
    background-color: rgba(77, 2, 100, 0.877);
    top: 0;
    left: 0;
	position: relative;
}

.history p{
    padding: 10%;
    margin-bottom: 20%;
}
.mainmain{
    width: 80%;
    margin: 10% 0;
}
}


@media only screen and (min-width: 320px) and (max-width: 480px){
header{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .navigation{
    display: none;
}

label{
    display: flex;
    flex: row;
    font-size: 1.75rem;
    cursor: pointer;
    color: rgba(119, 3, 119);
    align-items: center;
    align-self: center;
}

label:hover{
    color: rgb(238, 217, 252);
}

label .bx-x-circle{
    display: none;
}

#check:checked ~ header .navigation{
    z-index: 2;
    position: fixed;
    background: rgba(67, 3, 119, 0.87);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#check:checked ~ header .navigation a{
    color: rgb(238, 217, 252);
    font-weight: 700;
    margin-right: 0;
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-size: 2rem;
    align-self: center;
}

#check:checked ~ header label .bxs-hot{
    display: none;
}

#check:checked ~ header label .bx-x-circle{
    z-index: 2;
    display: block;
    position: fixed;
}

label .bxs-hot{
    position: absolute;
}
.mainmain{
    width: 90%;
    margin: 20% 0;
}
.media{
    width: 60%;
    align-items: center;
}
.media-icons{
    width: 100%;
}}
