@import url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css");


:root{
  --primary-red: #853036;
}

html{
    font-family: Tahoma , sans-serif !important;
    scroll-behavior: smooth;
}

body{
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    box-sizing: unset;
    
}

.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 10% 80% 10%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
.header {
    display: grid;
    grid-area: 1 / 1 / 2 / 5; 
    background-color: #449b9f;
}
.navbar
{
    margin-bottom: 0;
    padding-bottom: 10px;
}
.body { 
    display: grid;
    grid-area: 2 / 1 / 3/ 5; 
    overflow: auto;
}
.footer { 
    display: grid;
    grid-area: 3 / 1 / 3 / 5; 
    border-top: 0.5px solid whitesmoke;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 2px);
    font-weight: 700;
    color: black !important;
    align-items: center;
}

.navbar
{
    border-bottom: 0.5px solid 449b9f;
    height:auto;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 2px);
}

.navbar-toggle{
    background-color: whitesmoke;
    border: 1px solid black;
}

.navbar-toggle .icon-bar {
    background-color: black;
}

.navbar .container{
    height: 100%;
}

.navbar-collapse.collapse{
    height: 100%!important;
    display: flex!important;
    align-items: center;
    justify-content: end;
}
.navbar-brand{
    height: inherit;
    display: flex!important;
    align-items: center;
    justify-content: end;
}

.navbar-collapse li{
    font-weight: 600;
}

.navbar a
{
    color: black;
}
.navbar a:hover
{
    color: black;
    text-decoration: wavy;
}

#background-video {
  width: 100vw;
  height: 90vh;
  object-fit: cover;
  object-position: top;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.home-section{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.86)), url('../img/foundry.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex !important;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center; 
}

.about-section{
    height: 120vh;
    background-color: whitesmoke;
    padding: 5%;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 2px);
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.4) inset;
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.4) inset;
    -moz-box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.4) inset;

   /* box-shadow: 0px 10px 50px 0px rgba(0,0,0,0.72) inset;
-webkit-box-shadow: 0px 10px 50px 0px rgba(0,0,0,0.72) inset;
-moz-box-shadow: 0px 10px 50px 0px rgba(0,0,0,0.72) inset;*/

}
.contact-section{
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.96));  
  height: fit-content;
  background-repeat: no-repeat;
  background-color: #aaa;
  background-size: cover;
  background-position: top;
  margin: 0;
  padding: 0;
  background: transparent;
  padding-bottom: 100px;
    
}
.courses-section{
    background-color: var(--primary-red);
    height: 80vh;
}

.courses-content{
    height: 80vh;
    padding: 30px;
    margin: 0;
    display: grid;
    grid-template-rows: 85% 15%;
    grid-template-columns: 1fr 30px 30px 30px 30px 30px 30px 30px 30px 30px 30px 1fr;
    align-items: center;
    justify-items: center;
}


  
  div#carousel {
    grid-row: 1 / 2;
    grid-column: 1 / 13;
    width: 100vw;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 600px;
    --items: 5;
    --middle: 3;
    --position: 1;
    pointer-events: none;
  }
  
  div.item {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: black;
    --r: calc(var(--position) - var(--offset));
    --abs: max(calc(var(--r) * -1), var(--r));
    transition: all 0.25s linear;
    transform: rotateY(calc(-10deg * var(--r)))
      translateX(calc(-300px * var(--r)));
    z-index: calc((var(--position) - var(--abs)));

    font-size: large;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
  }

  input[type=radio]{
      opacity: 1 !important;
      position: inherit !important;
  }
  
  div.item:nth-of-type(1) {
    --offset: 1;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(2) {
    --offset: 2;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(3) {
    --offset: 3;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(4) {
    --offset: 4;    
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(5) {
    --offset: 5;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(6) {
    --offset: 6;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(7) {
    --offset: 7;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(8) {
    --offset: 8;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(9) {
    --offset: 9;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }
  div.item:nth-of-type(10) {
    --offset: 10;
    background-color: grey;
    box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -8px 20px 56px 0px rgba(0,0,0,0.75);
    border-radius: 10px;
  }


  input:nth-of-type(1) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  input:nth-of-type(1):checked ~ div#carousel {
    --position: 1;
  }
  
  input:nth-of-type(2) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  input:nth-of-type(2):checked ~ div#carousel {
    --position: 2;
  }
  
  input:nth-of-type(3) {
    grid-column: 4 /5;
    grid-row: 2 / 3;
  }
  input:nth-of-type(3):checked ~ div#carousel {
    --position: 3;
  }
  
  input:nth-of-type(4) {
    grid-column: 5 / 6;
    grid-row: 2 / 3;
  }
  input:nth-of-type(4):checked ~ div#carousel {
    --position: 4;
  }
  
  input:nth-of-type(5) {
    grid-column: 6 / 7;
    grid-row: 2 / 3;
  }
  input:nth-of-type(5):checked ~ div#carousel {
    --position: 5;
  }
  
    input:nth-of-type(6) {
    grid-column: 7 / 8;
    grid-row: 2 / 3;
  }
  input:nth-of-type(6):checked ~ div#carousel {
    --position: 6;
  }

  input:nth-of-type(7) {
    grid-column: 8 / 9;
    grid-row: 2 / 3;
  }
  input:nth-of-type(7):checked ~ div#carousel {
    --position: 7;
  }
    input:nth-of-type(8) {
    grid-column: 9 / 10;
    grid-row: 2 / 3;
  }
  input:nth-of-type(8):checked ~ div#carousel {
    --position: 8;
  }
  
    input:nth-of-type(9) {
    grid-column: 10 / 11;
    grid-row: 2 / 3;
  }
  input:nth-of-type(9):checked ~ div#carousel {
    --position: 9;
  }

  input:nth-of-type(10) {
    grid-column: 11 / 12;
    grid-row: 2 / 3;
  }
  input:nth-of-type(10):checked ~ div#carousel {
    --position: 10;
  }

ol {
    list-style: none;
    color: #ccc;
  }
  
  ol li {
    font: bold 24pt helvetica, arial, sans-serif;
    position: relative;
    margin-bottom: 20px;
  }
  
  li p {
    font: 12pt helvetica, arial, sans-serif;
    color: #555;
    padding-left: 60px;
  }
  
  span .courses-section{
    position: absolute;
    line-height: 25px;
  }

.icon-animated{
    color: whitesmoke;
    align-items: center;
    background: #449b9f;
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px 0 rgb(0 0 0 / 10%);
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    font-weight: 600;
    justify-content: center;
    min-width: 160px;
    padding: 0.313rem 1.25rem;
    text-transform: uppercase;
}

.neon {
  color: #fff;
  text-shadow:
    0 0 5px #fff, 
    0 0 10px #fff, 
    0 0 20px #fff, 
    0 0 10px #fff, 
    0 0 80px #fff, 
    0 0 1px #0ff, 
    0 0 10px #0ff, 
    0 0 5px #0ff;
}

.heading{
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}

.about-right{
    width: 50%;
    height: 100%;
    float: right;
    background-color: #002E33;
    color: whitesmoke;
    display: flex !important;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center; 
    border: 10px solid #002E33;
}

.about-left{
    width: 50%;
    height: 100%;
    padding: 5px;
    float: left;
    background-color: transparent;
    display: flex !important;
    flex-flow: column wrap;
    align-items: center;
    border: 10px solid #002E33;
}

.about-content{
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 15px;
}

.inner-box{
    width: 80%;
    height: 80%;
    border: 1px dotted red;
}

.circle-image{    
    width: 255px;
    height: 255px;
    border-radius: 50% !important;
    background-image: url("../img/20220420_175115.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.content-spacer{
    margin-top: 3%;
}

.center-text{
    text-align: center;
}

.icons-group-margin{
    display: inline-flex;
    width: fit-content;
    float: right;
    margin: 15px;
}

.h2-custom{
    font-size: 3rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
    margin: 20px auto 0;
}

.home-section h1{
    color: whitesmoke;
    margin: 10px;
    font-weight: bold;
}

.home-section h2{
    margin: 15px;
    font-size: x-large;
    font-style: italic;
    color: whitesmoke;
    font-weight: lighter;
    font-stretch: semi-condensed;
}

.about-left h1 , .about-left h2{
    color: #002E33;
}

a.fa{
  width: fit-content;
  color: black;
  display: inline-flex;
  float: right;    
  margin: 10px;
}


#contact {
    width: 100%;
    height: 100%;
  }
  
  .contact-header {
    text-align: center;
    margin: 0 auto;
    padding: 40px 0;
    font: 300 60px 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 6px;
  }
  
  .contact-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    max-width: 70%;
  }
  
  hr {
    border-color: rgba(255,255,255,.6);
  }



  /*Contact us page*/

  textarea {
    overflow: auto;
  }
  
  #container {
    border: solid 3px #474544;
    max-width: 768px;
    margin: 60px auto;
    position: relative;
  }
  
  form {
    padding: 37.5px;
  }
  
  h1 {
    color: #474544;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 7px;
    text-align: center;
    text-transform: uppercase;
  }
  
  .underline {
    border-bottom: solid 2px #474544;
    margin: -0.512em auto;
    width: 80px;
  }
  
  .icon_wrapper {
    margin: 20px auto 0;
    width: 100%;
  }
  
  .icon {
    display: block;
    fill: #474544;
    height: 50px;
    margin: 0 auto;
    width: 50px;
  }
  
  .email {
    float: right;
    width: 45%;
  }
  
  input[type='text'], [type='email'], select, textarea {
    background: none;
    border: none;
    border-bottom: solid 2px #474544;
    color: #474544;
    font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    text-transform: uppercase;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  input[type='text']:focus, [type='email']:focus, textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
  }
  
  .message {
    float: none;
  }
  
  .name {
    float: left;
    width: 45%;
  }
  
  select {
    display: block !important;
    background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  
  select::-ms-expand {
    display: none;
  }
  
  .subject {
    width: 100%;
  }
  
  .telephone {
    width: 100%;
  }
  
  textarea {
    line-height: 150%;
    height: 150px;
    resize: none;
    width: 100%;
  }
  
  ::-webkit-input-placeholder {
    color: #474544;
  }
  
  :-moz-placeholder { 
    color: #474544;
    opacity: 1;
  }
  
  ::-moz-placeholder {
    color: #474544;
    opacity: 1;
  }
  
  :-ms-input-placeholder {
    color: #474544;
  }

  .submit{
    display: inline-flex;
    width: fit-content;
  }
  
  #form_button {
    display: inline-flex;
    background: none;
    border: solid 2px #474544;
    color: #474544;
    cursor: pointer;
    display: inline-block;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 0.875em;
    font-weight: bold;
    outline: none;
    padding: 20px 35px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  #form_button:hover {
    background: #474544;
    color: #F2F3EB;
  }
  
  @media screen and (max-width: 768px) {
    #container {
      margin: 20px auto;
      width: 95%;
    }
  }
  
  @media screen and (max-width: 480px) {
    h1 {
      font-size: 26px;
    }
    .brand-title{
      display: none;
    }
    .about-section{
      overflow-y: auto !important;
    }
    .about-right{
      height: fit-content !important;
      width: 100% !important;
    }
    .about-left{
      display: grid !important;
      height: fit-content !important;
      width: 100% !important;
    }
    .icons-group-margin{
      float: unset;
      width: 100%;
      display: flex !important;
      align-content: center;
      justify-content: center;
    }
    .underline {
      width: 68px;
    }
    
    #form_button {
      padding: 15px 25px;
    }
  }
  
  @media screen and (max-width: 420px) {
    h1 {
      font-size: 18px;
    }
    
    .icon {
      height: 35px;
      width: 35px;
    }
    
    .underline {
      width: 53px;
    }
    
    input[type='text'], [type='email'], select, textarea {
      font-size: 0.875em;
    }
  }

  /*End Contact us page*/



  
  /* Begin Media Queries*/
  @media screen and (max-width: 850px) {
    .about-right{
      height: fit-content !important;
      width: 100% !important;
    }
    .about-left{
      height: fit-content !important;
      width: 100% !important;
    }
    .contact-wrapper {
      display: flex;
      flex-direction: column;
    }
    .direct-contact-container, .form-horizontal {
      margin: 0 auto;
    }  
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 300px;
    }    
    .social-media-list li {
      height: 60px;
      width: 60px;
      line-height: 60px;
    }
    .social-media-list li:after {
      width: 60px;
      height: 60px;
      line-height: 60px;
    }
  }
  
  @media screen and (max-width: 569px) {
  
    .direct-contact-container, .form-wrapper {
      float: none;
      margin: 0 auto;
    }  
    .form-control, textarea {
      
      margin: 0 auto;
    }
   
    
    .name, .email, textarea {
      width: 280px;
    } 
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 280px;
    }  
    .social-media-list {
      left: 0;
    }
    .social-media-list li {
      height: 55px;
      width: 55px;
      line-height: 55px;
      font-size: 2rem;
    }
    .social-media-list li:after {
      width: 55px;
      height: 55px;
      line-height: 55px;
    }
    
  }
  
  @media screen and (max-width: 410px) {
    .send-button {
      width: 99%;
    }
  }


@keyframes slideInFromLeft{
    from {
        left: 0%;  
    } 
    to {
        left: 50%;
    }
}

@keyframes slideInFromRight{
    from {
        left: 100%;  
    } 
    to {
        left: 50%;
    }
}


/*Tags override*/
ul{
    list-style: none;
}
li {
    display: inline;
    padding-right: 10px;
}
section{
    min-height: 70%;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1{
    font-weight: 800;
}

h2{
    font-weight: bold;
}

nav{
    background-color: inherit;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #449b9f;
}
