@import "fonts.css";

html body {
    min-width: 380px;
}

/* Landing Image */

#banner {
    background-image: url(../images/banner.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: rgb(65,65,65);
}

/* Navigation bar -- TODO*/

/*nav {
    display: flex;
    margin-left: 60%;
}

nav a {
    font-family: dirty_ego;
    color: orange;
    font-size: 2.5em;
    padding: 14px 16px;
    text-decoration: none;
    background-color: rgba(211, 211, 211, 0.25);
}

nav a:hover {
    background-color: rgb(226, 226, 226);
    color: black;
}*/

/* Banner */

#hero h1 {
    font-family: p_marker;
    font-size: 7em;
    padding-top: 0.5em;
    color: whitesmoke;
    text-align: center;
}

#slogan {
    font-family: dirty_ego;
    font-size: 5em;
    color: orange;
    text-align: right;
    margin-right: 25%;
}

#caption {
    padding-top: 2em;
    font-family: lato;
    font-size: 2em;
    text-align: center;
    color: white;
}

/* Button */

.btn-container {
    margin-left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%); 
    padding-top: 3em;
    padding-bottom: 2em;  
    text-align: center; 
  }

#hero button {
    background-color:  rgba(211, 211, 211, 0.25);
    border: whitesmoke 1px solid;
    border-radius: 6px;
    color: white;
    padding: 0.5em 0.8em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: lato;
    font-size: 2em;
    transition-duration: 0.5s;
    cursor: pointer;
  }

#hero button:hover {
    background-color: whitesmoke;
    color: darkslategray;
}

/* Services */

#services {
    padding-top: 2em;
    background-color: lightgray;
}

#services header h2 {
    font-family: lato;
    font-size: 5em;
    text-align: center;
    padding-bottom: 0.5em;
}

#services header p {
    font-family: lato;
    font-size: 2em;
    text-align: center;
    padding-bottom: 1em;
}

/* Outer container for flexbox */
.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 1em;
}

/* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-box {
    background-color: transparent;
    width: 500px;
    height: 428px;
    margin-left: 1em;
    margin-right: 1em;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* 3D effect */
}
  
/* Container for front and back display */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
  
/* Do an horizontal flip on mouse over */
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}
  
/* Position of front and back */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
  
/* Front styling */
.flip-box-front {
    background-color: whitesmoke;
    border: solid grey 1px;
    border-radius: 6px;
    font-family: lato;
    text-align: center;
}

.flip-box-front img {
    width: 100%;
}

.title {
    font-family: dirty_ego;
    font-size: 3em;
    color:darkslategray;
}

.flip-box-front {
    width: 100%;
}
  
/* Back styling */
.flip-box-back {
    font-family: lato;
    font-size: 1.5em;
    color: rgb(28, 48, 48);
    background-color: azure;
    transform: rotateY(180deg);
}

.flip-box-back p {
    padding: 0.5em 1em;
}

.flip-box-back ul li {
    padding-left: 3em;
    padding-bottom: 0.5em;
    text-align: justify;
}

.mail {
    text-decoration: none;
    font-family: lato_light_italic;
    color:  orange;
}

.mail:hover {
    color: darkslategray;
}

/* Footer */

footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgb(57, 71, 71);
    color: white;
    font-family: lato;
}

.contact h3 {
    font-size: 2.2em;
    padding-top: 1em;
    padding-bottom: 1em;
}

.contact h4 {
    font-size: 1.5em;
    padding-bottom: 0.5em;
}

.contact address {
    font-family: lato_light_italic;
    font-size: 1.1em;
    color: whitesmoke;
    padding-bottom: 0.5em;
}

.contact a {
    color: rgb(255, 255, 255);
    font-size: 1.2em;
    text-decoration: none;
    padding: 1em;
}

.contact a:hover {
    color: orange;
}

.copyright {
    font-size: 1.2em;
    text-align: center;
    padding: 1em;
}

.copyright li {
    display: inline-block;
    font-size: 0.9em;
    padding-top: 1em;
    padding-right: 1em;
}

.copyright li a {
    color: rgb(174, 174, 174);
    text-decoration: none;
}

.copyright li a:hover {
    color: white;
}

#w3 {
    padding-bottom: 1em;
}

@media screen and (max-width: 800px) {
    nav, .flex-container {
        flex-direction: column;
        align-items: center;
    }
}

@media  (max-width: 450px) {
    .flip-box {
        width: 350px;
        height: 450px;
    }
}