
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 90px;
}

body {
  background-image: url("HTML images/titanBackground.jpg");
  -o-background-size: cover;
  -moz-background-size: cover;
   -webkit-background-size: cover;
  background-position:center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: black;
}

@media screen and (max-width: 450px) {
  body {
 background-attachment:scroll;
-webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: black;

}
}

 body { margin:0; }

.navMain {
  z-index: 2;
  top: 0;
  width: 100%;
  text-align: center;
  background-color: black;
  border-bottom: 1px solid;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  border-image: linear-gradient(90deg, #ec1b24 41%, #393536 81%) 1;
  position: fixed;
  transition: 0.4s;
}

#navImg {
  transition: 0.4s;
margin-right:150px;
margin-left:10px;
    
}

@media screen and (max-width: 1125px) {
  #navImg {
    transition: 0.4s;
    display: none;
  }
}

.navBar {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  background-color: black;
  top: 0;
  transition: 0.4s;
  padding-bottom: 5px;
}

.navBar a {
  text-align: center;
  display: inline-flex;
    font-family: 'Play', sans-serif;
    font-weight:bold;
  font-size: 14pt;
  color: #ec1b24;
  margin: auto 20px;
  transition: 0.4s;
  text-decoration: none;
}

.navBar i {
  margin-right: 3px;
  color: #ec1b24;
}

.navBar a:hover {
  color: white;
  transition: 0.8s;
  cursor: pointer;
}

.navBar a.active {
  color: white;
}

#bars{
   margin-top: 15px; 
   margin-right: 10px;
}

@media screen and (max-width: 1125px) {
  .navBar a:not(:first-child) {
    display: none;
  }
  .navBar a.icon {
    display: flex;
    justify-content: center;
    align-content: center;
  }
}

@media screen and (max-width: 1100px) {
  html {
    scroll-padding-top: 120px;
  }
}

@media screen and (max-width: 1125px) {
  .navBar a {
    width: max-content;
    margin:auto;
    margin-bottom:10px;
  }
}

@media screen and (max-width: 1125px) {
  .navBar.responsive {
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
  }
  .navBar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navBar.responsive a {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 1200px) {
  #navIcon {
    visibility: hidden;
  }
}

.navBar .icon {
  display: none;
}

.sectionOne {
   text-align:center;
      margin: 0 auto;
  z-index: 1;
  flex-direction: column;
  height: 600px;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 200px;
  font-size: 18pt;
}

  #titanSlogan {
      text-align:center;
      margin: 0 auto;
  }

#pageHeading {
  font-size: 22pt;
 font-family: 'Play', sans-serif;
     font-weight:bold;
}


@media only screen and (max-width: 800px) {
  #titanSlogan {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    width: 350px;
    transition: 0.5s;
  }
}

@media screen and (min-width: 1125px) {
  #titanSlogan2 {
    transition: 0.4s;
    display: none;
    
  }
}
@media screen and (max-width: 1125px) {
  #titanSlogan2 {
    transition: 0.4s;
     display: flex;
    justify-content: center;
    align-content: center;
    width: 200px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 520px) {
  #titanSlogan {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    width: 300px;
    transition: 0.5s;
  }
}

@media only screen and (max-width: 400px) {
  #titanSlogan {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    width: 250px;
    transition: 0.5s;
  }
}

.carouselContainer {
  max-width: 1200px;
  margin: auto;

  padding-bottom:20px;
  display: flex;
  justify-content: center;
  align-content: center;
}

@media only screen and (max-width: 1000px) {
  #carouselImage {
    max-width: 400px;
        transition: 0.5s;
  }
}

.Carousel {
    display: none
    
}
#carouselImage { 
    width:950px;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/*Page 2*/

.sectionTwo {
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  background-color: black;
  color: #ec1b24;
}

.grid-container {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-gap: 25px 25px;
  grid-template-columns: repeat(3, 300px);
  background-color: black;
  padding-bottom: 15px;
  transition: 0.5s;
}

/*@media only screen and (max-width: 1000px) {
  .tooltiptext {
    justify-content: flex-start;
  }
}
*/
@media only screen and (max-width: 1000px) {
  .grid-container, .grid-item, #gridImage {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
    transition: 0.5s;
  }
}

@media only screen and (max-width: 1000px) {
  #gridImage {
    width: 300px;
    height: 300px;
  }
}

.grid-item {
  display: flex;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.8);
  font-size: 30px;
  height: 300px;
  width: 300px;
  overflow: hidden;
  border-radius:5px;
}

.grid-item:hover {
 border-radius:10px;
 transition:0.2s;
 
}

.grid-item .tooltiptext {
  visibility: hidden;
  font-family: 'ethnocentricregular', sans-serif;
  font-size: 10pt;
  width: 200px;
  color: black;
  background-color: rgba(128, 128, 128, 0.8);
  justify-content: flex-start;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  overflow: hidden;
}

/*.grid-item:hover .tooltiptext {
  visibility: visible;
  overflow: hidden;
}
*/

.grid-item:hover .tooltiptext p {
  transition: ease-in-out 0.6s;
  transform: scale(1.05);
  justify-content: flex-start;
}

/*Page 3*/

.sectionThree {
  z-index: 1;
  margin: auto;
  text-align: center;
  color: #ec1b24;
  width: 100%;
  background-color: black;
}

.aboutText {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1000px;
  font-size: 14pt;
  z-index: 1;
  margin: auto;
  text-align: center;
  color: white;
  padding-bottom: 15px;
}

/*Page 4*/

.sectionFour {
  z-index: 1;
  margin: auto;
  text-align: center;
  color: #ec1b24;
  width: 100%;
}

.contact {
  text-align:center;
  margin: 0 auto;
  font-size: 24pt;
  font-weight: bold;
  width: 50%;
}

#name, #email, #cell, #ask {
    border: none;
	outline: none;
  display: flex;
  justify-content: center;
  align-content: center;
  width: 100%;
  padding-bottom: 10px;
  color: white;
  font-size: 14pt;
  text-align: left;
  background-color: #393536;
}

#ask {
  resize: none;
}

input:hover {
  border-color: white;
  border: 1px;
  transition: ease-in 0.2s;
}

#submit {
    opacity :0;
    border: none;
	outline: none;
   font-weight: bold;
   justify-content: center;
   width: 100%;
   padding-bottom: 10px;
   color: #ec1b24;
   font-size: 16pt;
   background-color: #393536;
   border-color:#393536;
}

#submit:hover {
  transition: ease-in 0.3s;
  color: white;
}

@media only screen and (max-width: 500) {
  #name, #email, #cell, #ask, #submit {
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
  }
}

#capatcha {
    margin: 0 auto;
      display: flex;
  justify-content: center;
  align-content: center;
}

/*contact End */

/*Info*/

.sectionFive {
  z-index: 1;
  margin: auto;
  text-align: center;
  color: #ec1b24;
  background-color: black;
  padding-bottom: 20px;
}

/*Social Media*/

.sectionSix {
  text-align: center;
  z-index: 1;
  color: #ec1b24;
}

.grid-container2 {
    width:100%;
  margin-top: 100px;
  margin-bottom: 100px;
  display: grid;
  justify-content: center;
  align-content: center;
  grid-gap: 25px 100px;
  grid-template-columns: repeat(3, 200px);
  background-color: transparent;
  padding: 10px;
}

.grid-item2 a {
  display: flex;
  justify-content: center;
  align-content: center;
  background-color: transparent;
  font-size: 30px;
  height: 150px;
  width: 150px;
  overflow: visible;
}

.grid-item2 img:hover {
  transition: ease-in-out 0.8s;
  transform: scale(1.05);
  cursor: pointer;
}

@media only screen and (max-width: 1000px) {
  .grid-container2, .grid-item2 {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    margin: 10px auto;
  }
}

@media only screen and (max-width: 1000px) {
  .grid-item2 a {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 15px auto;
    padding-bottom: 10px;
  }
}

@media only screen and (max-width: 1000px) {
  #gridImg2 {
    height:150px;
    width:150px;
  }
}
/*Footer*/

.footerMain {
  width: 100%;
  text-align: center;
  background-color: black;
  bottom: 0;
}

.footerContent p {
  font-family: 'ethnocentricregular', sans-serif;
  font-size: 18pt;
  color: #ec1b24;
  margin: 0 auto;
}

.modalContainer{
  font-family: 'Play', sans-serif;
  position:fixed;
  z-index: 10;
  text-align: center;
  background-color: rgba(0,0,0,0.4);
  width: 100%;
  height:100%;
  display:none;
  overflow: auto;
  left: 0;
  top: 0;
}
.modalContent{
    text-align:center;
    margin: 100px auto;  
    background-color:#393536;
    padding:10px;
    border-radius:10px;
    color:black;
    margin:30px;
}

.visible{
    display:block;
}
.modalContent button{
    outline:none;
    border:none;
    padding:5px;
    border-radius:5px;
    background-color:#ec1b24;
    color:black;
    margin:10px auto;
    width:40%;
    font-weight:bold;
    border: 1px solid #ec1b24;
}

.modalContent button:hover{
 color:white;
 border: 1px solid black;
 transition:0.2s;
 cursor:pointer;
}
.modalContent label{
   color:#ec1b24;  
       font-weight:bold;
}

.modalContent form{
    display:flex;
    flex-direction:column;
    width:60%;
    text-align:center;
    margin:auto;
}

.modalContent input{
    margin:auto;
    margin-bottom:10px;
    border: 1px solid black;
    width:40%;
    padding:5px;
    border-radius:5px;

}
.modalContent input:hover{
   border: 1px solid grey;
}

@media only screen and (max-width: 1000px) {
.modalContent input,.modalContent button {
width:80%;
  }
}

#registerButton{
    color:white;
}

#registerButton:hover{
    color:#ec1b24;
    cursor:pointer;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 14px;
    border: 1px solid #ec1b24;
  outline: none;
  background-color: #ec1b24;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

#myBtn:hover {
    color: black;
     border: 1px solid black;
}





