/*
 Theme Name: Twenty Twenty-One Child
 Theme URI: https://example.com/
 Description: Child theme basado en Twenty Twenty-One
 Author: Luis
 Author URI: https://example.com/
 Template: twentytwentyone
 Version: 1.0.0
*/

/* Aquí puedes añadir tus estilos personalizados */

:root {
    --pink1: #ffe7f2;
    --pink2: #ff82c7;
    --black: #000000;
    --gold: #dda11b;
    --golddark: #805b0f;
    --darkmagenta: #960036;
}



/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--pink2); 
    border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    filter: brightness(60%); 
}
body {
   font-family: 'Nunito', sans-serif !important;
   color:var(--darkgray) !important;
   margin: 0;
   padding: 0;
}

h1,h2,h3,h4,h5,h6{
   font-family: 'Yeseva One', serif;
} 

div.main-grid {
	display: grid;
	grid-template-columns: 250px minmax(50px, 1fr) minmax(800px, 950px) minmax(50px, 1fr);
	grid-template-rows: auto;
	min-height: 100vh;
    background: transparent;
	background: linear-gradient(to bottom, var(--pink1), var(--pink2)) !important;
    background-attachment: fixed;

    @media only screen and (max-width: 700px) {
        grid-template-columns: repeat(9,1fr);
        grid-template-rows: repeat(12,1fr);
    }
}

header#masthead {
	width: 250px;
	position: fixed;
    height: 100vh;
    background: white;
    box-shadow: 7px 0 20px rgb(0 0 0 / 0.3);
    padding: 50px;
    align-content: space-between;
    box-sizing: border-box;
    .hamburger {
        display: none;
    }

    @media only screen and (max-width: 768px) {
        width: 100vw;
        height: calc((100vh / 21) * 2);
        border-bottom: 3px solid var(--gold);
        max-width: 100% !important;
        z-index: 20;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        #logo {
            max-height: calc(((100vh / 21) * 2) - 12px) ;
        }
        .hamburger {
            display: block;
        }

        nav.main-navigation ul {
            display: block;
            position: fixed;
            z-index: 15;
            width: 90vw;
            background: white;
            top: calc((100vh / 21) * 3);
            left: 5vw;
            top: 20vh;
            padding: 30px;
            box-sizing: border-box;
            line-height: 55px;
            box-shadow: 2px 2px 7px var(--darkmagenta);
        }
    }

    

    &::before, &::after {
        display: none;
    }

    .mobile{
        display: block;
        @media only screen and (max-width: 768px) {
            display: none;

            
        }
    }

    ul {
        
        padding: 0 0 50px 0;
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.3px;
        position: relative;
        left: -7px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        list-style: none;

        @media only screen and (max-width: 768px) {
            flex-direction: row;
            
        }



        li {
            -webkit-box-flex: 1;
            -webkit-flex-grow: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
            padding-bottom: 5px;
            gap: 5px;
            min-height: 35px;
            a{
                -webkit-transition: all ease-in-out 0.3s;
                transition: all ease-in-out 0.3s;
                text-transform: uppercase;
                color: #000;
                display: -webkit-box;
                display: -webkit-flex;
                display: -ms-flexbox;
                display: flex;
                gap: 12px;
                -webkit-text-decoration: none;
                text-decoration: none;
            }

            a:hover {
                color: var(--gold);
            }
        }
    }

    footer {
        grid-column: 2 / 5;
        grid-row: 13 / 15;
        font-size: 9.4px;
        line-height: 15px;
        color: #999999;
        border-top: 1px solid #cccccc;
        padding-top: 10px;
        padding-bottom: 30px;
        margin-top: 10px;

        @media only screen and (max-width: 768px) {
            display: none;
        }
    }

}

img {
        max-width: 100%;
}

section#content {
    grid-column: 2/5;

    @media screen and (max-width:768px){
        grid-column: 1/10;
        grid-row: 1/13;
        
        div.entry-content {
            margin: 0 20px;
            padding: 20px;
        }
    }
}

main#main {
    padding-block: 0;
}

#home-article {
    display: grid;
    grid-template-columns: 1fr repeat(8, 100px) 1fr;
    grid-template-rows: 100px repeat(11, 1fr);
    height: 100vh;

    @media screen and (max-width:768px) {
        grid-template-columns: repeat(9, 1fr);
        grid-template-rows: repeat(12, 1fr);
    }

    section#cover {
        grid-column: 1/11;
        grid-row: 1/13;

        @media screen and (max-width:768px) {
            grid-column: 1/10;
            grid-row: 1/13;
            

        }

        img {
            width: 100% !important;
            height: 100% !important; 
            object-fit: cover; 
            object-position: left;
            mix-blend-mode: multiply;  
        }

    }

    div.entry-title {
        grid-column: 6/10;
        grid-row: 3/9;
        padding: 30px;
        z-index: 2;
        position: relative;

        display:flex;
        flex-direction:column;
        justify-content: space-between;
        border-block:3px solid white;

        @media screen and (max-width:768px) {
            grid-column: 2 / 9;
            grid-row: 3 / 10;
            color: white !important;
            h1 {
                color: white !important;
            }

        }
        h1 {
            font-size: 52px;
            margin-block-start:10px;
            color: black;
            font-weight: 700;
        }

        div {
            font-size:14px;
            font-weight:600;
            letter-spacing:0.3px;
        
            a {
                display: inline-block;
                border-width:0;
                cursor:pointer;
                padding:10px 20px;
                background: var(--darkmagenta);
                color:white;
                text-transform:uppercase;
                font-size:11px;
                margin-block-end:10px;
                transition:all ease 0.7s;
                &:hover {
                    background: var(--gold);
                    color:black;
                    font-weight:600;
                    letter-spacing:0.3px;
                }
            }
        }
    }

    div.square{
        background: rgb(255 184 24);
        background: linear-gradient(to bottom, var(--golddark), var(--gold));
        mix-blend-mode: overlay;
        z-index: 1;
        grid-column: 6/10;
        grid-row: 3/9;

        @media screen and (max-width:768px) {
            grid-column: 2 / 9;
            grid-row: 3 / 10;
            color: white;
            mix-blend-mode: multiply;
        }
    }

    div.entry-content {
        display: none;
    }
}


.singular header.entry-header {
    border-block-end: 0 solid transparent;
    margin-block-end: 0;
    padding-block-end: 10px !important;
    padding-block-start: 80px;
    h1 {
        font-size: 36px;
        color:black;
        max-width: 850px;
        margin: auto;
        font-weight: 700;
    }
}

#main div.entry-content {
    background: white;
    max-width: 850px;
    padding: 30px 60px;
    margin-bottom: 70px;
    margin-block-start: 0;
    font-size: 17px;
    line-height: 1.45;

    font-family: 'Nunito', sans-serif !important;
   color:var(--darkgray) !important;
    p {
        max-width: initial;
        margin-bottom: 17px;
        margin-top: 0;

    }

     details {
        margin-block-end:10px;

        p{
            padding-block-end: 25px;
        }

        
    }

    section {
        max-width: initial;
    }

    summary {
        color:var(--darkmagenta);
        font-weight:600;
        padding-block: 10px;
        cursor:pointer;
        border-block-end: 0.7px solid var(--gold);

        &::marker{
            color:var(--darkmagenta);
        }
        &:hover {
            background: var(--darkmagenta);
            color: white;
            &::marker{
                color: white;
            }
        }
    }
}


#footer-mobile {
    display: none;

     @media screen and (max-width:768px) {
        display: block;
        padding: 20px;
        border-block-start: 1px solid black;
        font-size: 0.8rem;
         text-align: center;
     }
}