* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
    font-size: 100%;
    background-color: #f2a83d;
    font-family: "Rubik", serif;
    
}

body {
    
    margin: 0;
    padding: 0;
    background-color: #f2a83d;
    /* background-color: #002f87; */
    color: #191b27;
    display: flex;
    font-weight: 400;
    line-height: 20px;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    
}

h1 {
    font-family: "Special Gothic Expanded One", sans-serif;
}

.content {
    flex: 1 0 auto;
}

header {
    background-color: #FFF;
    display: flex;
}

header img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    
}

.description {
    
    font-size: larger   ;
    width: 90%;
    padding: 10px;
    color: #191b27;
    display: flex;
    flex-direction: column; /* Cambia a colonna per disporre gli elementi verticalmente */
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    border-radius: 1%;
    width: 80%;
    /* width: 90%; /* Imposta la larghezza al 80% */
    margin: 0 auto; /* Centra il box nella pagina */
    text-align: center; /* Centra il testo all'interno degli elementi */
}

.description p {
    text-align: justify; 
}

.description .ascolta {
    text-align: center;
    margin: 20px 0; /* Aggiunge margine verticale */
}

.podcatchers {
    margin-top: -20px; /* Assicura uno spazio sopra il blocco podcatchers */
    display: flex; /* Usa flex per disporre i link in una riga */
    justify-content: center; /* Centra orizzontalmente */
    flex-wrap: wrap; /* Permette ai link di andare a capo se necessario */
    padding-bottom: 20px;
}

.podcatchers a {
    margin: 0 10px;
    
}

.podcatchers img {
    width: 50px;
    height: auto;
    background-color: #fff;
    border-radius: 50%;
}


.header-bottom {
    display: flex;
    min-height:180px;
    justify-content: center;
    align-items: center;
    background-color: #d6d497;
    padding-top: 0px; /* opzionale, per dare respiro */
    margin-top: 0px;
    background-size: 400px auto; /* imposta la larghezza a 120px, altezza automatica */
}

.header-bottom img {
    max-width: 100%;
    height: auto;
}

.subtitle {
    font-family: "Rubik", serif;
    font-size: xx-large;
    color: #191b27;
    width: 100%;
    margin: -5px auto;
    text-align: center;
    line-height: 35px;
    height: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px; /* Altezza minima */
    background-color: #f2a83d;
    background-image: url("../images/footer.png");
    background-repeat: repeat-x;  /* Ripeti solo orizzontalmente */
    background-position: center;     /* Allinea la texture in alto */
}

.host-info {
    display: flex;
    
    font-size: medium;
    flex-direction: row; /* Dispone gli elementi in una riga */
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    background-color: #d6d497;
    color: #fff;
    font-weight: bold;
    /*color: #002F87;*/
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 15px;
    flex-wrap: wrap;
    width: 80%; /* Imposta la larghezza al 80% */
    margin: 0 auto; /* Centra il box nella pagina */
    text-align: center; /* Centra il testo all'interno degli elementi */
}

.host-info p {
    flex: 1;
    margin: 10px 20px;
    text-align: left;
}

.host-info img {
    border-radius: 50%;
    width: 100px;
    height: auto;
    margin-left: 20px;
}


footer {
    flex-shrink: 0;
    position: relative;
    text-align: center;
    padding: 80px;
    background-color: #00d160;
}

footer img {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    max-width: 600px;
    padding-top: 0px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .description h1 {
        font-size: 2em;
    }

    .description h2 {
        font-size: 1.2em;
    }

    .description p {
        font-size: 1.1em;
    }

    .podcatchers img {
        width: 50px;
    }

    footer img{
        padding: 0px;
        bottom: 0px;
    }
}

@media (max-width: 480px) {
    .description h1 {
        font-size: 1.5em;
    }

    .description h2 {
        font-size: 1.2em;
    }

    .description p {
        font-size: 1.1em;
    }

    .podcatchers img {
        width: 50px;
    }

    .host-info img {
        width: 80px;
    }

    footer img{
        padding: 0px;
        bottom: 10px;
    }
}

