@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,200;1,200&display=swap');

html{
    width: 100%;
}

#cont-scritta {
    color: #fff;
    width: auto;
    display: flex;
    margin-top: 30vh;
    margin-left: 5%;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

#cont-scritta span, #cont-scritta p{
    font-size: calc(.2em + 3vw);
    font-weight: 900;
}

#cont-scritta p{
    margin-left: -50vh;
    margin-top: 14vh;
}

#cursore{
    border-right: 4px solid black;
    height: calc(.7em + 3vw);
    /* margin-top: 13vh; */
    animation: blink 1s infinite;
}



@media (max-width: 800px) {
    #cont-scritta p{
        margin-left: -35vh;
        margin-top: 8vh;
    }
/* 
    #cursore{
        margin-top: 8vh;
    } */

    #cont-scritta {
        margin-top: 40vh;
    }

    #cont-scritta span, #cont-scritta p{
        font-size: calc(1em + 1vw);
    }
}

@keyframes blink {
    0% { border-color: black; }
    50% { border-color: transparent; }
    100% { border-color: black; }
}











#main{
    background-image: url("../immagini/Podcasting-Hero.jpg");
    background-attachment: fixed;
    margin-bottom: 70px;
    background-position: 30% 50%;
}

/*DETAILS*/

summary{
    padding: 20px;
    background-color: rgb(79, 121, 200);
    list-style: none;
    display: flex;
    column-gap: 20px;
    align-items: center;
    cursor: pointer;
    height: 60px;
    font-size: 20px;
    justify-content: space-between;
}

summary::after{
    content: '';
    width: 22px;
    height: 20px;
    background: url('../immagini/arrow.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-left: .75em;
    transition: 0.2s;
    margin-right: 20px;
}

summary::marker {
    color: #e162bf;
    font-size: 1.2em;
}

summary {
    color: white;
    padding: 10px;
}

details[open] > summary::after{
    transform: rotate(180deg);
}

details[open] summary {
    border-radius: 5px 5px 0 0;
}

details {
    background: #1cb970;
    border-radius: 5px;
    position: relative;
    opacity: 0;
    margin: 0 0 3vh 0;
}


/*EXTRA STYLE*/

@keyframes toRight {
    from{
        opacity: 0;
        right: 60px;
    }
    to{
        opacity: 1;
        right: 0px;
    }
}

#podcasts{
    display: flex;
    flex-direction: column;
    margin-left: 50%;
    width: 60%;
    transform: translateX(-50%);
}

@media (max-width: 700px) {
    #podcasts{
        margin-left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

    #immagine{
        width: 100%;
    }
    
}


#immagine{
    width: 20vh;
}

#immagine img{
    width: 100%;
}

