html {
    overflow-x: hidden;
}

body {

    font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: white;

}

a {

    text-decoration: none;

}

table {
    margin: auto;
    margin-bottom: 50px;
}

td {
    vertical-align: top;
}


.card {
    z-index: 1;
    position: relative;
    width: 75%;
    /* height: 80%; */
    margin: 0 auto;
    margin-top: 100px;
    padding-bottom: 40px;
    background-color: white;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    /*
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
*/
}

.card.active {
    height: 490px;
}

.banner {
    z-index: 2;
    position: relative;
    margin-top: -154px;
    width: 100%;
    height: 150px;
    background-image: url("images/ozone_cherry.png");
    background-size: 102%;
    background-position: center 48%;
    border-bottom: solid 1px lightgrey;

    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
}

.banner.active {
    height: 0;

}

.photo {
    z-index: 3;
    position: relative;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    background-color: white;
    margin: 0 auto;
    background-image: url("images/eihoji.png");
    background-size: 180%;
    background-position: 60% 50%;
    top: 75px;
    -webkit-box-shadow: inset 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
    -webkit-transition: top 0.7s ease-in-out, background 0.15s ease;
    -moz-transition: top 0.7s ease-in-out, background 0.15s ease;
    -o-transition: top 0.7s ease-in-out, background 0.15s ease;
    -ms-transition: top 0.7s ease-in-out, background 0.15s ease;
}

.photo.active {
    top: -80px;
}

#topul {
    margin-top: 100px;
}

.card ul {
    list-style: none;
    text-align: center;
    padding-left: 0;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 20px;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
}

.card ul.active {
    opacity: 0;
    visibility: hidden;
}

.card i {
    font-size: 25px;
    display: inline-block;
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 150px;
    width: 300px;
    ;
    text-align: left;
    color: #C7D0E1;
}

button.contact {
    margin: 0 auto;
    text-align: center;
    margin-top: -15px;
    width: 100%;
    height: 35px;
    display: block;
    border: none;
    background-color: transparent;
    font-family: inherit;
    color: white;
    background-color: #C7D0E1;
    font-size: 12px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

button.contact:hover {
    cursor: pointer;
    background-color: #979da8;
}

button.contact:focus {
    outline: 0;
}

.social-media-banner {
    width: 300px;
    height: 50px;
    margin-top: 25px;
    text-align: center;
    position: absolute;
    -webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-in-out;
    -o-transition: all 1.5s ease-in-out;
    -ms-transition: all 1.5 ease-in-out;
}

.social-media-banner.active {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
}

.social-media-banner a i {
    display: inline;

    width: auto;
    margin-right: 15px;
    margin-left: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.social-media-banner a i:hover {
    color: #979da8;
}

.contents {
    font-size: 16px;
    opacity: 0.6;
}

.icon {
    height: 16px;
}

.copyright {
    width: 75%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 10px;
    opacity: 0.4;
}

.err {
    padding-top: 50px;
}