@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: normal;
  src: url('./fira-sans/fira-sans-latin-400-normal.woff2') format('woff2'); 
}
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: normal;
  src: url('./fira-sans/fira-sans-latin-400-italic.woff2') format('woff2'); 
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: bold;
  src: url('./fira-sans/fira-sans-latin-700-normal.woff2') format('woff2'); 
}
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: bold;
  src: url('./fira-sans/fira-sans-latin-700-italic.woff2') format('woff2'); 
}

:root {
  --di-day-yellow: #ffa600;
  --di-day-purple: #800080;

}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: "Fira Sans", Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
}

header, footer {
    background-color: var(--di-day-yellow);
    min-height: 5rem;
}

body {
    display: flex;
    flex-direction: column;
}

header a#logo, header a#logo img {
    height: 100%;
}

header nav a {
    margin-left: 2rem;
}

main, .container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

main {
    flex-grow: 1;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--di-day-purple);
}

section {
    margin: 2rem 0;
}

section#intro {
    background-color: #ACACAC;
}

h4 {
    margin-bottom: 0.5rem;
}

ul.experts {
    list-style-type: none;
    padding: 0;
}
ul.experts li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
}
ul.experts li article {
    flex: 1 1 auto;
}
ul.experts li button {
    align-self: center;
}

ul.skills {
    list-style-type: square;
}
ul.skills li {
    margin-bottom: 0;
}

form.vertical {
    display: flex;
    flex-direction: column;
    max-width: 35rem;
    margin: 0 auto;
    position: relative;
}

input {
    margin: 0.25rem 0;
    flex-grow: 1;
}

button {
    padding: 1rem 3rem;
    border: none;
    border-radius: 1.5rem;
    background-color: orange;
}

table, th, td { 
    border: 1px solid black; 
    border-collapse: collapse;
}

th, td {
    padding: 5px
}
table {
    margin: 10px
}


div.skill {
    display: flex;
}

div.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.5rem;
}

div.tiles div.tile {
    border-radius: 1.5rem;
    background-color: var(--di-day-purple);
    color: white;
    padding: 3.5rem 1.5rem;
    display: grid;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}

div.tiles div.tile p {
    margin: auto;
}

button.add {
    margin-left: 0.25rem;
    padding: 0.25rem 0.5rem;
    flex-grow: 0;
}

p.success {
    color: darkgreen;
}

p.error {
    font-weight: bold;
    color: darkred;
}

footer {
    display: flex;
    align-items: center;
}

footer a {
    height: 50%;
}

footer a img {
    height: 100%;
}
