/*mj*/
*{
    box-sizing: border-box;
}
body{
    background-color: #ffb26b;
    background-image: linear-gradient(62deg, #ffb26b 0%, #ff7b54 100%); 
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin:0;
    line-height: 1.3em;
}

h1 {
    color:#4b502e;

}
p{
    font-size: 1.1em;
}
/*list of content*/
.topmenu{
    background-color: #4b502e;
    text-align: right;
    
}
.topmenu a{
    color: #ffb26b;
}
.topmenu a:hover{
    color:red;
}

.topmenu{
    flex-flow: row;
    justify-content: flex-end;
    padding: 0 2em;
}
header h1{
    text-align: center;
    font-size: 3em;
}
header h2 {
    text-align: center;
    color: rgb(87, 87, 211);
}

/*link*/
a{
    color:#4b502e;
    
}
/*main-background*/
.back-color{
    background-color: #ffb26b;
background-image: linear-gradient(180deg, #ffb26b 0%, #ffd56f 100%);
}
main {
    margin: 1em auto;
    padding: 0 1em 1em 1em;
    font-size: 1.1em;
    border: 5px solid #4b502e;
    border-width: 0 0 0 3px;

}

/*nav topmenu link*/
.topmenu a{
    padding: .7em, 2em;
    text-decoration: none ;
    margin: 0.5em;
    font-size: 1.1em;
}

.topmenu a:hover{
    background-color: rgb(100, 84, 148);
}

/*jackson-5 song links*/

main a{
    text-decoration:underline;
}
main a:hover{
    color:rgb(87, 87, 219);   
}
main a:active{
    color:rgb(152, 67, 231);
}
/*the jackson 5ing*/
.jack5{
    border: 5px solid #4b502e;
}

/* Achievements*/
main ul, h4{
    color: rgb(87, 87, 211);
}


/* footer*/
footer p{
    text-align: center;
} 
.footernav{
    list-style-type:square;
    
}
.footernav a{
    text-decoration:  none;
    color:#4b502e;
    font-size: 1.1em;
}
.footernav a:hover{
    color:crimson;
}
/* mjimage*/
.jack{
    border: 5px solid #4b502e;
    border-width: 0 3px 0 3px;
}
.jack p{
    text-align: center;
}
img {
    display: block;
    margin-left: auto;
    margin-right:auto;
    max-width: 100%;
}
/*video index*/
.mainvid{
    position: relative;
    padding-bottom: 40%;
    border: 5px solid #4b502e;

}
.mainvid iframe{
    position: absolute;
    width:100%;
    height:18em
}

/*grid*/
.container.footer{
    display: grid;
    grid-template-columns: 1fr;
}
.copy {
    text-align: center;
}
/* media sceen*/
@media screen and (min-width:37.5em){
    .footer{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:1em;
    }

}
@media screen and (min-width:48em){
    /*header*/
    header h1{
        text-align: center;
        font-size: 5em;
    }
    .jack{
        border: 5px solid #4b502e;
        border-width: 0 3px 0 3px;
    }

   
    /*footer*/
    .footer{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap:1em;
    }

}
@media screen and (min-width:60em){
    /*list of content*/
    .topmenu{
        font-size: 1.2em;
        padding: .3em;
    }
    /*header*/
    header h1{
        font-size: 6em;
    }
    /*main*/
    main{
        border: 5px solid #4b502e;
        border-width: 0 3px 0 3px;
        margin: 1em auto;
        padding: 0 1em 1em 3em;
        font-size: 1.1em;
    }
    /*jadkson pic*/
    .jack{
        border: 5px solid #4b502e;
        border-width: 0 0 0 3px;
    }
     /* grid*/
     .container{
        display: grid;
        grid-template-columns: 1fr 1fr ;
        gap:2em;
    }
    
    .footer{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap:1em;
    }
    .container,.header,.footer{
        max-width: 80em;
        margin: 1em auto;
    }

   

}