* {
    box-sizing: border-box;
}
body {
    font-family: "Inter";
    margin: 0 auto;
    font-size: 15px;
}
header{
    background-image: url(imatges/cabecera.png);
    max-height: 400px;
}
.cabecera {
    background-image: url(imatges/VLCNOESTA_logo_blanc.png);
    margin: 0 auto;
    background-size: 200px;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 50px;
    text-align: center;
}
nav {
    text-align: center;
    padding: 20px 0 20px;
    font-size: 12px;
    color: #ffffffa3;
}
nav a:link, a:visited {
    color: #fccd2c;
    text-decoration: none;
}
nav a:hover{
    color: #4fc986;
    text-decoration: none;
}
main, footer {
    margin: 0 auto;
    max-width: 900px;
}
main {
    display: flex;
    justify-content: space-between;
    color: rgb(13, 13, 13);
}
.principal {
    width: 60%;
}
.mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.mini a {
    display: inline-block;
    width: 100px;
    margin: 0 5px;
}
.mini img{
    width: 100px;
    height: auto;
}
.mini img:hover{
    transform: scale(1.05);
}
.sud {
    border: 0.5px solid #7618b0;
}
.foto img {
    width: 100%;
}
.foto{
    position: relative;
    margin-top: 50px;
}
.foto span {
    position: absolute;
    background-color: #fccd2c;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 0 0 20px 0;
    font-size: 14px;
    left: 0;
    bottom: 1;
}
.foto h3{
    color: #7618b0;
    text-align: center;
    font-weight: 500;
}
.descargable:hover {
    transform: scale(1.01);
}
h2 {
    font-weight: 500;
}
h4 {
    text-align: center;
    font-size: 17px;
}
aside{
    width: 30%;
    background-color: rgb(235, 235, 235);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    margin-top: 20px;
}
ul, ol {
    padding: 0 15px 15px;
}
h1, h2, h3 {
    font-family: "Poppins";
    color: black;
}
.descargues {
    display: flex;
    justify-content: space-evenly;
}
.divboto {
    padding-top: 15px;
    margin-right: 50px;
}
.divbotoNP {
    padding: 25px 0 50px;
    text-align: center;
}
.botoM, .botoM:visited {
    text-decoration: none;
    color: #7618b0;
    border: 1px solid #7618b0;
    font-size: 12pt;
    padding: 8px;
    border-radius: 3px;
}
.botoM:hover{
    text-decoration: none;
    background-color: #7618b0;
    color: white;
    padding: 8px;
    border-radius: 3px;
}
.botoNP, .botoNP:visited {
    text-decoration: none;
    color: #4fc986;
    border: 1px solid #4fc986;
    font-size: 12pt;
    padding: 8px;
    border-radius: 3px;
}
.botoNP:hover{
    text-decoration: none;
    background-color: #4fc986;
    color: white;
    padding: 8px;
    border-radius: 3px;
}
main .boto {
    text-decoration: none;
    color: #7618b0;
    border: 1px solid #7618b0;
    font-size: 10pt;
    padding: 8px;
    border-radius: 3px;
}
main .boto:hover{
    text-decoration: none;
    background-color: #7618b0;
    color: white;
    font-size: 10pt;
    padding: 8px;
    border-radius: 3px;
}
.asideA {
    border-bottom: 1px solid #878787;
    padding-bottom: 20px;   
}
.asideA a{
    text-decoration: underline;
    color: black;
}
.asideA a :hover{
    color: #7618b0;
}
.aside1 {
    border-bottom: 1px solid #878787;
    padding-bottom: 50px;
}
.aside2, .asideB{
    padding: 20px 10px 50px 10px;
}
.aside3 {
    border-top: 1px solid #878787;
    padding: 20px 0 50px 0;
}
#ocult1, #ocult2, #ocult3, #ocult4 {
    display: none;
}
.redes {
    padding: 30px;
    display: flex;
    justify-content: center;
}
.redes div{
    margin: 10px;
}
.x {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(imatges/icons/x.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position-y: top;
}
.x:hover {
    background-position-y: bottom;
}
.facebook {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(imatges/icons/facebook.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position-y: top;
}
.facebook:hover {
    background-position-y: bottom;
}
.instagram {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(imatges/icons/instagram.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position-y: top;
}
.instagram:hover {
    background-position-y: bottom;
}

.correu:link, .correu:visited {
    color: #2b7510;
    text-decoration: underline;
}
footer img{
    height: 30px;
}
.correu:link, .correu:visited {
    color: #2b7510;
    text-decoration: none;
}
.correu:hover{
    color: #4fc986;
    text-decoration: underline;
}
.correuidemes{
    display: flex;
    justify-content: space-between;
    margin: 50px;
}
footer{
    border-top: 2px solid #fccd2c;
}
footer p{
    margin: 0;
}
@media (max-width: 700px) {
    nav a:link, a:visited {
        color: #7618b0;
        font-size: 17px;
        text-transform: uppercase;
    }
    nav a:hover {
        text-transform: uppercase;
        font-size: 17px;
    }
    main {
        display: flex;
        flex-direction:column-reverse;
        margin: 0 20px;
    }
    main.interior {
        display: inline-block;
    }
    aside, .principal {
        width: 100%;
    }
}