/* body formatting */
* { box-sizing: border-box;}

body { background-color: #111111;
       background-repeat: no-repeat;
       background-attachment: fixed;
       background-size: cover;
       background-position: center;
       color: #ccc8c8;
       font-family: Verdana, Arial, sans-serif; 
       margin: 0;
       padding: 0; }


img { max-width: 100%;
      height: auto;
      display: block;
      object-fit: cover; 
      border-radius: 5px;
      box-shadow: 0px 10px 20px 10px #000000; }

.lower-img { padding-top: 50px; }

.center-img { display: flex;
              justify-content: center; 
              align-items: center; 
              padding-top: .5em;
              padding-right: .5em;
              padding-left: .5em;
              padding-bottom: .5em;}

nav { padding-top: 0;
      padding-right: 0;
      padding-bottom: 0;
      display: flex;
      position: fixed;
      top: 0;
      justify-content: space-evenly;
      border: 2px solid #575757; 
      font-weight: bold; 
      float: left;
      width: 100%;
      height: 50px;
      font-size: 1em; 
      text-align: left; 
      background-color:#181818;
      font-family:'Times New Roman', Times, serif;}

nav a:link { color: #0044ff; }
nav a:visited { color: #5e178d; }
nav a:hover { color: #A52A2A; }
nav a { text-decoration: none; }


nav ul { list-style-type: none; 
         padding-left: 1em;
         display: flex; 
         flex-direction: row;
         gap: 20px; }


main { display: block;
       padding-top: 1em;
       padding-bottom: 1em; 
       margin-left: 170px; 
       margin-right: 170px;
       min-width: 350px; }


.most-paragraphs {color:#e4e4e4;
                  font-family:'Times New Roman', Times, serif;
                  font-weight: 400; 
                  background-color: #000000; 
                  border-radius: 50px;
                  padding-left: .6em;
                  padding-right: .6em;
                  padding-top: .1em;
                  padding-bottom: .1em; 
                  text-align: center; 
                  font-size: 2em;
                  box-shadow: 0px 2px 10px 0px #000000; }


h2 { color:#e9e9e9;
     text-align: center;
     font-family:'Times New Roman', Times, serif;
     font-size: 32px;}

/* Rotating testimonials */
.testimonials { width: 100%;
                    overflow: hidden; /* Hides the text when it leaves the screen */
                    background: #000000;
                    color: white;
                    padding: 10px;
                    white-space: nowrap; /* Keeps items in a single line */ }

.testim-scroll { display: flex;
                 width: max-content; /* Ensures the container is as wide as the items */
                 padding-left: 100%; /* Starts test on far right */
                 animation: scroll-test 120s linear infinite; }

.testim-item { padding: 0 50px; /* Space between the moving messages */
               font-family: Arial, sans-serif;
               font-weight: bold; 
               font-size: 1em;}


/* The movement logic */
@keyframes scroll-test {
  0% {transform: translateX(0%);}
  100% {transform: translateX(-100%); } }

/* Bottom credits link */

.bottom { position: fixed;
          bottom: 0;
          left: 0;
          width: 100%;
          background-color: #000000;
          text-align: center;
          padding: 10px; 
          font-family:'Times New Roman', Times, serif; 
          font-weight: bold;}

.bottom a { color: #fff;
            text-decoration: none; }