@import
    url('https://fonts.googleapis.com/css?family=Sans-Serif:300,400,700,900');

    body {
    margin: 0;
        font-family: 'nunito', sans-serif;
        text-align: center;
          }

/* header ============*/
header {
    position: relative;
    margin-top: 1em;
    background-color: #000000;
    
}

/* typography ============*/

h1 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-top: 0;
    
}
.title{
    font-size: 2.5em;
    margin-bottom: .25em;
    font-weight: 900;
    margin-top: 1em;
        
}

span{
    font-weight: 700;
    display: block;
    font-size: .5em;
    color: #000000;
}


/* buttons ====================*/
.button {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    border-width: 2px;
    border-style: solid;
    padding: .5em 1.75em;

}

.button-accent {
    color: #7104fb;
}

.button-accent:hover {
    Background: #ffffff;
    color: #8ab4f3
}
    
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
    margin: 1em;
}

nav a {
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8rem;
    padding: .5em;
    background: #98f889;
        
}

nav a:hover,
nav a:focus {
    color:white;
    
}

@media (min-width:25rem ){
    .title {
        font-size: 2.5rem;    
}
}
 
/* Home-Sunray*/
    
.home-sunray {
    height: relative;
    background-image: url(/img/sunray-header-mini.png); 
    padding: 10em 0;
    }

/*home about*/

.home-about {
    background-image: url(/img/dreamstime_xxl_36738205-mini.jpg);
    padding: 10em 0;
        }    

.home-about-textbox {
    background-color: #232323;
    padding: 3em;
    width: 100vw;
    margin-left: -2.5%;
    outline: 2px solid #00ff6c;
    outline-offset: -2.5em;
    color: #00ff6c;
    
}

.home-about-textbox h1 {
    color: #00ff6c;
    position: relative;
    top: .5em;
    background: #232323;
    padding: 0 .25em;
}

.paragraph1{
    color: white;
    font-family:nunito, Verdana, Geneva, Tahoma, sans-serif;
    position: relative;
}

.paragraph2{
    color: #56f972;
    font-family:nunito, Verdana, Geneva, Tahoma, sans-serif;
    position: relative;
}

.card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* two columns */
      gap: 1.5rem;                           /* space between cards */
      max-width: 900px;
      margin: 2rem auto;
      padding: 0 1rem;
      list-style: none;
    }

    /* Three rows happen automatically: six cards / two columns = three rows */

.card-grid a {
      display: block;
      text-decoration: none;
      color: #14284b;
    }

 .card-grid img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 6px;
    }

.card-grid figcaption {
      margin-top: 0.5rem;
      font-weight: 600;
    }

.card-grid a:hover figcaption,

.card-grid a:focus-visible figcaption {
      text-decoration: underline;
    }


/* Single column on phones
Don't need this code for this webpage 
@media (max-width: 520px) {
.card-grid { grid-template-columns: 1fr; }
} */

portfolio {
  padding: 10em 0;
    
    }



