/*
Theme Name: Mo's Gallery
Theme URI: https://wordpress.org/themes/twentytwenty/
Author: Mo
Author URI: https://wordpress.org/
Description: Illustration
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: MoGallery
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    font-size: 66.7%;
}


body {
    font-size: 2.2rem;
    line-height: 3.4rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: coral;
}

a:hover {
    font-size: 2.25rem;
}

.container {
    display: grid;
    grid-template-columns: 1fr min-content;
    grid-template-rows: repeat(2 min-content);
    max-width: 1400px;
    margin: auto;
    background-color: azure;
    padding: 3rem

}


.header {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(34rem, 1fr) );
    
}

.logo {
    width: 100%;
}

.header--content {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    justify-content: flex-end;
    align-items: center;
}

.header--content-icons {
    display: flex;
    align-items: center
}

ion-icon {
  color: orangered;
    font-size: 4rem;
    padding-right: 2rem;

}


.gallery--container::before {
    content: "";
    height: 2rem;
    width: 100%;
    grid-column: 1/-1;
    display: block;
    margin-top: 1rem;
    background-color: orangered;
    clear: both;
}

.gallery--container {
    grid-column: 1/-1;
    margin-top: 2rem;

}

.gallery {
text-align: center;
    
}

.gallery--intro {

    max-width: 900px;
    margin: 3rem auto;
    
}

@media screen and (max-width: 800px) {
 body {
     font-size: 1.6rem;
    }}

@media screen and (max-width: 500px) {
 body {
     font-size: 1.4rem;
    }
    
    .header {
    grid-template-columns: repeat( auto-fit, minmax(28rem, 1fr) );
    
}
    
    .header--logo {
         display: inline-block;
        justify-self: center;
    }
    
    .logo {
    width: 100%;
}
    
    
    .header--content {
    justify-content: center;
    margin-top: 2rem;
        grid-gap: 1rem
}
}
