/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}



/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #5175dc;
  text-shadow: none;
}

::selection {
  background: #5175dc;
  text-shadow: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: black;
  opacity: .5; /* Firefox */
}


/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --mainLight: #e1e1e1;
  --mainDark: #0e0b09;

  --accent: #535353;

}

body {
  margin: 0 auto;
  padding: 0;
  color: var(--mainDark);
  background-color: var(--mainDark);
  font-size: 18px;
  line-height: 30px;  
  font-family: sofia-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .5px;   
  background-image: url("../img/dotsbg2.png");
  background-size: 1123px;

}

p{
  margin: 15px;
}

h1{
  font-size: 24px;
  font-style: normal;
  letter-spacing: 2px;    
  font-weight: 400;
  text-shadow: 2px 2px rgba(000, 000, 000, 0.3);

}

h2{
  font-size: 24px;
  font-style: normal;
  letter-spacing: 1px;    
  font-weight: 700;
  margin: 0px;
}

#wrapper{
  overflow-x: hidden;

}

main{
      display: grid;
      max-width: 610px;
  width: 100%;
  margin: 0 auto;
    grid-template-columns: 1fr minmax(200px, 610px) 1fr;  
    grid-template-rows:  auto ;
    justify-items: center;
    z-index: 1;
    grid-row-gap: 50px;
    margin-top: 15vh;
    text-align: center;
    position: relative;
    margin-bottom: 200px;
}

 section,footer,.peopleGrid{
  grid-column: 2 / 3;

}

.peopleGrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    grid-row-gap: 75px;
 
}

.social{

}

.icon{
  height: 25px;
  padding-right: 15px;
  transition: all 0.23s ease-in-out 0s;
  
}

.icon:hover{
opacity: .5;

}



.square{
position:absolute;
top: -170px;
left: 75px;
z-index: -1;
 width: 350px;
}


.circle{
position:absolute;
top: 240px;
left: -100px;
z-index: -1;
 width: 40%;
}

.triangle{
position:absolute;
bottom: -100px;
right: -25px;
z-index: -1;
 width: 50%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}


#mc_embed_signup{
  background: none;
  line-height: 0;
}




/* MailChimp Form Embed Code - Horizontal Super Slim - 12/16/2015 v10.7
Adapted from: http://blog.heyimcat.com/universal-signup-form/ */

#mc_embed_signup form {text-align:center; padding:10px 0 10px 0;}
.mc-field-group { display: inline-block; } /* positions input field horizontally */
#mc_embed_signup input.email { font-size: 15px; border: 1px solid var(--mainDark);  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #000; background: none; box-sizing:border-box; height:32px; padding: 0px 0.4em; display: inline-block; margin: 0; width:350px; vertical-align:top;}
#mc_embed_signup label {display:block; font-size:16px; padding-bottom:10px; font-weight:bold;}
#mc_embed_signup .clear {display: inline-block;} /* positions button horizontally in line with input */
#mc_embed_signup .button {font-size: 13px; border: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; letter-spacing: .03em; color: #fff; background-color: var(--mainDark); box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;box-shadow: 3px 3px rgba(000, 000, 000, 0.3);}
#mc_embed_signup .button:hover {background-color:var(--accent); cursor:pointer;}
#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:var(--accentD); display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}



/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



@media (max-width: 486px) {


main{

    grid-row-gap: 50px;
    margin-top: 10vh;
}
 
.peopleGrid {
  
  grid-template-columns: 1fr ;

  
}



#mc_embed_signup input.email { width:275px;}




}


@media (max-width: 410px) {



#mc_embed_signup input.email { width:150px;}

}

body {

 width:auto;

}


}








