/* styles.css */



*,
*:before,
*:after {
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

header,
footer {
    padding: 10px;
    background-color: #c9dcbf;
    color: #302e2e;
    text-align: center;
}

footer {
    border-top: 1px solid #c9dcbf;
}

img {
    max-width: 100%;
    margin: 5px auto;
    display: block;
}

main {
    padding: 20px;
    flex: 1;
}

@media (max-width: 768px) {

    header,
    footer {
        padding: 10px;
    }

    main {
        padding: 15px;
    }

    .container {
        flex-direction: column-reverse;
    }
}

body {
    background-color: #476c4d;
    font-family: Arial, sans-serif;
    color: #302e2e;
}

.button {
    border: 1px solid #d8e1e9;
    border-radius: 10px;
    background-color: #383d42;
    color: #f2e9e4;
    padding: 5px 10px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.button:hover {
    background-color: rgb(96, 118, 98);
    color: #d8e1e9;
}

.content {
    border-radius: 10px;
    background-color: #c9dcbf;
    color: #383d42;
    padding: 10px;
    max-width: 500px;
    margin-bottom: 15px;
}

h2 {
    color: #383d42;
    text-align: center;
}

p {
    color: #383d42;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.generatedjokes {
    background-color: #476c4d;
    color: #383d42;
}

.section-title {
    font-size: 24px;
    color: #383d42;
    text-align: center;
}
/* 
animations
https://www.quackit.com/css/codes/marquees/ 

*/

.textanimation1 {
 height: 50px;	
 overflow: hidden;
 position: relative;
}
.textanimation1 h3 {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 line-height: 50px;
 text-align: center;
 /* Starting position */
 -moz-transform:translateX(-100%);
 -webkit-transform:translateX(-100%);	
 transform:translateX(-100%);
 /* Apply animation to this element */	
 -moz-animation: textanimation1 15s linear infinite;
 -webkit-animation: textanimation1 15s linear infinite;
 animation: textanimation1 15s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes textanimation1 {
 0%   { -moz-transform: translateX(-100%); }
 100% { -moz-transform: translateX(100%); }
}
@-webkit-keyframes textanimation1 {
 0%   { -webkit-transform: translateX(-100%); }
 100% { -webkit-transform: translateX(100%); }
}
@keyframes textanimation1 {
 0%   { 
 -moz-transform: translateX(-100%); 
 -webkit-transform: translateX(-100%); 
 transform: translateX(-100%); 		
 }
 100% { 
 -moz-transform: translateX(100%); 
 -webkit-transform: translateX(100%);
 transform: translateX(100%); 
 }
}
/*
    quotes
*/
blockquote {
    position: relative;
   /* background: #d6d6d6;*/
    background-color:rgb(158, 231, 121)f;
    padding: 25px 35px;
    font-style: oblique;
    border: #476c4d solid 1px;
    border-radius: 4px;
    
  }
  blockquote p {
    margin: 0;
  }
  blockquote:before {
    position: absolute;
    top: 15px;
    left: 15px;
    content: "\201B";
    font-size: 40px;
  }
  blockquote:after {
    position: absolute;
    bottom: 0px;
    right: 15px;
    content: "\2019";
    font-size: 40px;
  }