body {
    background-color: black;
    font-family: 'Tahoma', sans-serif;
                                                
}

.container {
    width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(20px, auto);
}

/*details*/

h1, h2, h3, h4, h5, h7{
    font-family: Arial, Helvetica, sans-serif;
    color: #242424;
}

a, a:visited{
    color: #434343;
}

strong{
    font-family: "Tahoma-Bold"; 
    font-weight: 200;
}

hr{
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

/*logo*/

/*header*/

header {
    grid-column: 1/8;
    height: 300px;
    background-image: url("graphics/header.jpg");
    background-size: cover;
}

/*navegation*/

nav {
    grid-column: 1/8;
    height: 15px;
    background-color: #0c0c0c;
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding: 5px;
    font-size: 12px;
    
}

.menu-mobile{
    display: none;
    
}

.navlink{
    text-decoration: none;
    color: white;
}

.navlink:hover{
    color: #fcfcfc3b;
}

.navlink:visited{
    color: white;
}


/*main*/

main {
    grid-column: 1/5;
    padding: 15px;
    background-color: #fbfbfb;
    font-size: 12px;
}

figure{
   text-align: center;
}

img{
    width: 50%;
      border: 1px #d0d0d0 solid;
    border-radius: 3px;
    padding: 10px;
}

iframe{
     border: 1px #d0d0d0 solid;
    border-radius: 3px;
    padding: 10px;
}

section{
    padding: 10px;
    background-color: #e0e0e0;
    border: 1px black solid;
    font-size: 12px;
}

table{
     border: 1px solid #363636;
     margin: auto;
    width: 100%;
    padding: 2px;
}

dt{
    font-family: "Tahoma-Bold"; 
    font-weight: 200;
}

/*aside*/

aside {
    grid-column: 5/8;
    background-color: #0c0c0c;
    padding: 20px;
    padding-top: 0;
}

/*footer*/

footer{
    grid-column: 1/8;
    background-color: #0c0c0c;
    color: #a7a7a7;
    font-size: 12px;
    padding-left: 10px;
    padding-top: 2px;
    padding-right: 10px;
}



/*SMALLER DEVICES VERSION*/


@media screen and (max-width: 823px) {
    /*main*/

    .container {
        width: 100%;
    }

    /*details*/

    
    /*header*/
    
    header{
        grid-column: 1/8;
        height: 100px;
         background-image: url("graphics/header small.jpg");
    }

    /*navegation*/
    
    nav{
     display: none;
    }
    
    .menu-mobile{
        display: flex;
        height: auto;
       flex-direction: column;
      
    }

    /*main*/
    
    main{
        grid-column: 1/8;
        font-size: 100%;
    }
    
    img{
        width: 100%;
    }

    /*aside*/
    
    aside{
        display: none;
    }

    /*footer*/
    
    footer{
       grid-column: 1/8;
    }
    
}