body {
    font-family: Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 860px;
    box-sizing: border-box;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;

}

header {
    height: 650px;
    background-position-x: -240px;
    background-image: url("images/banner.jpg");
    background-repeat: no-repeat;
    color: white;
    width: 100%;
}

.dottedUnderline {
    border-bottom: 1px #c1b6c4 dotted;
}

#epiHeader {
    padding-top: 260px;
    padding-bottom: 20px;
    margin: 0px;
    font-family: cursive;
    font-size: 64px;
}

#epiDivider {
    width: 600px;
    border-bottom: 2px white solid;
    margin-bottom: 20px;
}

#epiText {
    color: #c5c4c5;
    font-size: 14px;
    font-weight: lighter;
    padding-bottom: 340px;
}

main, footer {
    background-color: #f4f4f4;
    width: 860px;
}

img { width: 100%; }

#mainCard {
    
    color: #666666;
    background-color: #ffffff;
    width: 92%;
    margin-top: 35px;

}

#footerCard {
    
    color: #666666;
    background-color: #f4f4f4;
    width: 92%;
    margin-bottom: 35px;

}

.row {
    display: flex;
    flex-direction: row;
}

.circledIcons {
    background-color: #ffffff;
    border: 2px solid #666666;
    border-radius: 100px;
    margin: 10px;
    width: 1.2em;
    height: 1.2em;
    text-align: center;
}

.icon {
    color: #666666;
    padding: 28px 24px 20px 24px;
    font-size: 40px !important;
}

button:hover {
    background-color: #dde7eb;
    cursor: pointer;
}

.icon:hover {
    color: #81c5e0;
    cursor: pointer;
}

.iconSmall {
    padding: 14px 12px 10px 12px;
    font-size: 20px !important;
}

button {
    text-align: center;
    margin: 4px 2px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #666666;
    background-color: white;
    color: #666666;
}

.buttonDefault {
    width: 200px;
    height: 50px;
    font-size: 14px;
}

.buttonSmall {
    width: 120px;
    height: 40px;
    font-size: 12px;
}

.card {
    color: #666666;
    background-color: #ffffff;
    width: 92%;
    margin-top: 35px;
    overflow: hidden;
    position: relative;
    border-radius: 6px;

}

.centered {
    color: white;
    font-size: 22px;
    letter-spacing: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -400%);
}

#footerDivider {
    width: 100px;
    border-bottom: 2px#666666 solid;
    margin-bottom: 0px;
    margin-top: 50px;
}

#cards {
    display: flex;
    flex-direction: column;
    align-items: center;

}

#cards .card img:hover {
    transition: transform 1.0s ease;
    transform: scale(1.1);
}

.cardImageContainer {
    overflow: hidden;
    height: 380px;
}

@media screen and (min-width: 1600px) {

    body {
        width: 1600px;
    }
    
    main, footer {
        background-color: #f4f4f4;
        width: 1600px;
    }

    header {
        background-position-x: 0px;
        background-size: 100%;
    }

    #mainCard {
        width: 70%;
        margin-top: 70px;
    }
    
    #footerCard {
        width: 70%;
        margin-bottom: 70px;
    }

    #cards {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    #cards .card:nth-child(odd) {
        margin-left: 0px;
        margin-right: 10px;
    }

    #cards .card:nth-child(even) {
        margin-left: 10px;
        margin-right: 0px;
    }


    .card {
        width: 550px;
    }

    .cardImageContainer {
        height: 270px;
    }
}