html {
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

body {
    color: #333333;
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 2;
    margin: 0 auto;
    padding: 12em 4em 1em 8em;
}

@media (max-width: 978px) {
    body {
        padding: 4em !important;
    }
    
    #wrapper {
    margin: 0 auto;
    }
}


h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 64px;
}

h2 {
font-size: 32px;
letter-spacing: 0.5px;
}

h4 {
    color: #808080;
    margin: 0 0 0.3em 0;
}

p {
    margin: 0;
    font-weight: 440;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    
}

.col-cta {
    flex-basis: 400px;  
}

.col {
    flex-basis: 400px;
    margin-bottom: 80px;
}


.col-connect {
    flex-basis: 180px;
}

.col-cta {
    flex-basis: 400px;
    margin-bottom: 40px;
}

#col-2 {
    flex-grow: 1;
}


img.info {
    vertical-align: middle;
    border-bottom: 4px solid white;
    border-left: 4px solid white;
    position: relative;
    display: inline-block;
}

div.info:hover .tooltiptext {
  visibility: visible;
}

div.with-tooltip {
    display: flex;
}

.tooltiptext {
  font-size: 12px;
  line-height: 20px;
  visibility: hidden;
  padding: 4px 8px 4px 8px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

div.link {
    display: flex;
}

a:link, a:visited {
    color: #333 !important;
    text-decoration: none;
} 

a {
    color: #333;
    text-decoration: none;
}


img.link {
  visibility: hidden;
    padding-left: 4px;
}

div.link:hover img.link {
    visibility: visible;
}

div.link:hover {
    text-decoration: underline;
}

button {
  font-family: "DM Sans";
  color: white;
  border: none;
  background-color: #000;
  padding: 16px 56px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 999px;
}

button:hover {
    background-color: #343434  !important;
}

#portfolio-btn {
    flex-grow: 1;   
}


a.textlink:hover {
   text-decoration: underline;
}

.col-connect {
    height: 72px;
    align-self: center;
}


.bottom-flex {
    margin-top: 40px;
}


a.textlink {
    font-size: 12px; 
    color: #808080 !important; 
    padding-left: 4px; 
}