@import url('https://fonts.googleapis.com/css?family=Averia+Serif+Libre:400,700|Bubblegum+Sans|Gloria+Hallelujah');

html {
    width: 100%;
}

body {
    font-family: 'Averia Serif Libre', cursive;
    font-size: 16px;
    margin: 0;
    padding: 0;
    /* background-image: url("../images/20180818_124330small-min.png");
    background-repeat: no-repeat;
    background-size: stretch;
    position: fixed; */
}
#bg-img01 {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: -10;
}

#hackIcon {
    width: 140px;
    height: 140px;
}

#hackathonImage {
    width: 100%;
}

/* MODAL */
.modal-content {
    position: relative;
    margin: 40px auto;
    border-radius: 2px;
    border: 0;
    box-shadow: 0 2px 7px -2px rgba(0,0,0,0.5);
}

.modal-content::before,
.modal-content::after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 40%;
    height: 20%;
    z-index: -1;
}

.modal-content::before {
    transition: all 0.15s ease-in-out;
    left: 20px;
    -webkit-transform: skew(-5deg) rotate(-5deg);
        -ms-transform: skew(-5deg) rotate(-5deg);
            transform: skew(-5deg) rotate(-5deg);
    box-shadow: 0 7px 15px 0 rgba(0,0,0,0.6),
                5px 15px 30px 0 rgba(0,0,0,0.4);
}

.modal-content::after {
    transition: all 0.25s ease-in-out;
    right: 15px;
    -webkit-transform: skew(5deg) rotate(5deg);
        -ms-transform: skew(5deg) rotate(5deg);
            transform: skew(5deg) rotate(5deg);
    box-shadow: 0 10px 15px 0 rgba(0,0,0,0.6),
                -5px 20px 30px 0 rgba(0,0,0,0.4);
}

.modal-content:hover::before{
    left: 2px;
    -webkit-transform: skew(-2deg) rotate(-2deg) translateY(5px);
        -ms-transform: skew(-2deg) rotate(-2deg) translateY(5px);
            transform: skew(-2deg) rotate(-2deg) translateY(5px);
    box-shadow: 0px 4px 4px 0 rgba(0,0,0,0.5);
}

.modal-content:hover::after{
    right: 2px;
    -webkit-transform: skew(2deg) rotate(2deg) translateY(5px);
        -ms-transform: skew(2deg) rotate(2deg) translateY(5px);
            transform: skew(2deg) rotate(2deg) translateY(5px);
    box-shadow: 0px 5px 5px 0 rgba(0,0,0,0.5);
}








.main-header {
    position: static;
    /*background: #cbaad0;*/
    background: #898;
    top: 0;
    width: 100vw;
    padding-bottom: 0px;
    /* box-shadow:  0 0 5px #e4f2d1, 0 0 15px #e8e8de; */
    z-index: 1;
}

header h1 {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: 46px;
    margin: 20px auto 10px auto; /* 50a30a */
    text-align: center;
}

header h2 {
    font-family: 'Bubblegum Sans', cursive;
    text-align: center;
}

header p {
    text-align: center;
}

header figure {
    /*float: right;*/
    margin: 2px 100px 0 0;
}

span.fish a:link, span.fish a:visited {
    display: block;
    text-indent: -9999px;
    width: 140px;
    height: 140px;
    /*background: url(../images/sprite.png) top left no-repeat;*/
    background-image: url(../images/bettaSplendensSprite.png);
    -webkit-animation: swim 0.9s steps(8) infinite;
    animation: swim 0.9s steps(8) infinite;
}

@-webkit-keyframes swim {
    from {background-position: 0px;}
    to {background-position: -1120px;}
}

@keyframes swim {
    from {background-position: 0px;}
    to {background-position: -1120px;}
}

.main {
    /*margin-top: 300px;*/
    margin-top: 20px;
    background-color: #aaa39baa;
    border-radius: 20px;
    /* opacity: 0.3; */
}

.main-row {
    padding: 0 20px;
}

.sectionTitle {
    background-color: white;
    text-align: center;
    /* position: absolute; */
}
.sectionTitle::after {
    background-color: #aaa39b;
    content: "";
    width: 100%;
    height: 100px;
    display: block;
    position: relative;
    top: -95px;
    z-index: -1;
    border-radius: 20px;
    opacity: 0.5;
}

/* Cards Set Up */
.flip3D {
    width: 500px;
    height: 400px;
    margin: 10px;
    float: left;  /* can use flex or bootstrap */
    /* z-index: -1; */
}

.card {
    position: absolute; /* We need to stack the divs [back and front (on top)] */
    width: 500px;
    height: 400px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    backface-visibility: hidden; /* Do not show the content from the back */
    /* z-index: -1; */
}

.card h3 {
    text-align: center;
}

.card img {
    margin: 0 auto;
    display: inherit;
}

.card p {
    margin: 2px 0 2px 0;
}

/* .card-content {
    border: 1px solid black;
} */

.card-button {
    display: flex;
    justify-content: center;
}


.flip3D > .front {
    background-color: burlywood;
    -webkit-transform: perspective(1000px) rotateY(0deg);       /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(0deg);       /* IE 9 */
            transform: /* Start State for front */              /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(0deg); /* card face forward by default */
}

.flip3D > .back {
    background-color: #898;
    border: 5px solid burlywood;
    -webkit-transform: perspective(1000px) rotateY(180deg);     /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(180deg);     /* IE 9 */
            transform: /* Start State for back */               /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(180deg); /* card face forward by default */
}

.flip3D > .transparentFront {
    -webkit-transform: perspective(1000px) rotateY(0deg);       /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(0deg);       /* IE 9 */
            transform: /* Start State for transparent front */  /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(0deg); /* card face forward by default */
}

.flip3D > .transparentBack {
    -webkit-transform: perspective(1000px) rotateY(180deg);     /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(180deg);     /* IE 9 */
            transform: /* Start State for transparent back */   /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(180deg); /* card face forward by default */
}
/* End Set Up */

/* Animation duration */
.slow {
    transition: -webkit-transform 0.3s linear 0s;   /* controls animation */
    transition: -ms-transform 0.3s linear 0s;       /* controls animation */
    transition: transform 0.3s linear 0s;           /* controls animation */
}
/* End Animation duration */

/* Animation */
/* Slow - just 180deg flip */
Cancelled.flip3D:hover > .front.slow {
    -webkit-transform: perspective(1000px) rotateY(-180deg);    /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(-180deg);    /* IE 9 */
            transform: /* End State for front */                /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(-180deg); /* card face forward by default */
}

Cancelled.flip3D:hover > .back.slow {
    -webkit-transform: perspective(1000px) rotateY(0deg);       /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
        -ms-transform: perspective(1000px) rotateY(0deg);       /* IE 9 */
            transform: /* End State for back */                 /* IE 10, Fx 16+, Op 12.1+ */
                perspective(1000px) /* perspective need to be high so that it is not warped */
                rotateY(0deg); /* card face forward by default */
}
/* End Animation */


.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  /*background-color: #eccbcb;*/
  /*background: rgb(157, 245, 157);*/
  background: #9cc49c;
}

footer {
    /*background-color: #eaeaea;*/
    /*background: #cbaad0;*/
    background: #898;
    box-shadow:  0 0 5px #e4f2d1, 0 0 15px #e8e8de;
    min-height: 75px;
    margin: 0;
    border-top: 1px solid #d0d0d0;
    padding-top: 20px;
    text-align: center;
}

.footer {
    width: 100vw;
}

.copyright {
    text-align: center;
}

.links {
    text-align: center;
}

.social-links {
    padding-bottom: 15px;
}

.social-links a {
    color: #333;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}

.social-links a:hover {
    color: #c1c1c1;
    text-decoration: none;
    text-shadow: 0 0 1px #bdbd9b;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}

.social-links li a i {
    width: 32px;
    height: 35px;
    padding: 12px 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 7px;
    text-align: center;
    color: #fafafa;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    background-color: #8f8f8f;
    border-bottom: 3px solid #e84610;
}

.social-links li a i:hover {
    background-color: #e84610;
    border-color: #fafafa;
    color: #333;
}

@media (min-width: 380px){
    .main-header {
        /*position: fixed;*/
        /*top: 0;*/
        width:100vw;
    }
    .main {
        margin-top: 260px;
        /*background: green;*/
    }
}

@media (min-width: 768px){
    /*.main-header {*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*}*/
    .main {
        margin-top: 260px;
        /*background: green;*/
    }
}

@media (min-height: 400px){
    .main-header {
        position: fixed;
        top: 0;
    }
}