body {
    margin:0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #D9DDE0;
}

.header {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #8B6F45;
    color: white;
}

.header .column {
    display: flex;
    justify-content: center;
}

.header .photo img{
    max-height: 200px;
}

.header .contact > * {
    margin: 5px;
}

.header .contact-icon {
    display: none;
}

.header .contact-icon img {
    width: 80px;
    height: 80px;
    margin: 10px;
}

.logo {
    height: 30px;
    width: 30px;
    vertical-align: middle;
}

.download {
    border-radius: 5px;
    border: 1px solid #362309;
    background-color: #362309;
    color: white;
    padding: 8px;
    text-decoration: none;
    cursor: pointer;
}

.download:hover {
    text-decoration: underline;
    background-color: #4d320e;
    border-color: #4d320e;
}

.column {
    display: inline-flex;
    flex-direction: column;
    vertical-align: middle;
    margin: 10px 30px;
}

.navbar {
    background-color: #101010;
    height: 60px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}

.navbar a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 40px;
}

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

.navbar a.active {
    text-decoration: underline;
    font-size: bold;
}

.content {
    display: none;
    width: 80%;
    margin: auto;
    padding-top: 30px;
   
    animation-duration: 2s;
    animation-name: slidein;
}

@keyframes slidein {
    from {
      translate: 100vw 0;
      scale: 100% 1;
    }
  
    to {
      translate: 0 0;
      scale: 100% 1;
    }
  }

.content.active {
    display: flex;
    justify-content: space-evenly;
}

.content .column {
    width: 40%;
}

h3 {
    font-size: 22px;
}

.experiences h3 {
    text-align: center;
}

.subtitle {
    font-style: italic;
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
}

.subtitle p {
    margin: 0 10px 0 0;
}

.card {
    border: 1px solid black;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #ffffff;
}

.card > * {
    margin: 5px;
}

.card > h3 {
    padding-bottom: 10px;
    text-align: center;
}

.card > ul {
    padding-left: 20px;
}


.card .row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.card .row p {
    margin  : 5px;
}

.card .icon {
    max-height: 100px;
}

.card .icon2 {
    max-height: 60px;
    max-width: 150px;
    margin: auto 0;
}

.projects {
    flex-direction: column;
    vertical-align: middle;
    align-items: center;
}

.projects .card {
    text-align: center;
    width: 80%;
}

.projects .card-content {
    width: 70%;
    margin: 0px auto 10px;
}

.projects .card-content .row {
    justify-content: space-between;
}

.projects .card video {
    width: 100%;
    margin-bottom: 12px;
}

.projects .card .download {
    padding-left: 15px;
    padding-right: 15px;
}

.italic {
    font-style: italic;
}


@media (max-width: 640px) {

    body {
        position: absolute;
    }

    .header {
        max-height: 160px;
        justify-content: space-between;
        position: sticky;
        top: 0;
        flex-wrap: wrap;
    }

    .header .column {
        margin: 0;
    }

    .header .photo img{
        max-height: 160px;
    }

    .header .general > * {
        margin: 5px;
    }

    .header .contact-icon {
        display: flex;
    }

    .header .contact {
        background-color: #8B6F45;
        padding: 5px;
        flex-basis: 100%;
        max-height: 0px;
        display: flex;
        overflow: hidden;
        transition: max-height 1s linear; 
    }

    .header .contact.toggle {
        max-height: 160px;
    }

    .navbar {
        position: sticky;
        top: 160px;
        transition: top 1s linear;
    }

    .navbar.toggle {
        top: 315px;
    }

    .content {
        flex-direction: column;
        margin-top: 0px;
        transition: margin-top 1s linear; 
    }

    .content.toggle {
        margin-top: 155px;
    }

    .content .column {
        width: auto;
        margin: 0px;
    }

    .projects .card {
        width: 100% ;
    }

    .projects .card .card-content {
        width: 90%;
    }


    
}