/* Branding */

:root{
    --white: #FFF;
    --coral: #FF7F50;
    --black: #262626;
    --darkblue: #305CC3;
}

/* Text Styling */

body{
    font-family: "Open Sans" !important;
}

a:hover{
    text-decoration: none!important;
}

a:visited {
  color: inherit;
}

h2{
  font-size: 2rem;
  color: #222;
}

p{
  font-size: 1rem;
  color: #4e4e4e;
}

.blue{
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--darkblue);
}

/* Container & Padding */

.p-6{
    padding: 5rem 0;
}


/* Header Styling */

header{
    background: linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ), url(../images/banner_image2.jpg);
    height: 62.5rem;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

nav{
    display: flex !important;
    width:100%;
    height:20%;
    align-items:center;
    justify-content:center;
}
.navbar-nav {
    align-items: center;
}

.navbar-brand{
    font-family: "Playwrite US Modern", cursive!important;
    font-size: 4.3rem!important;
    margin: 0 1.2rem!important;
    color: var(--white)!important;
    
}

a:hover{
  color: var(--white)!important;
}

header .navbar li{
  width: 125px;
  height: 50px;
  transition: background-position-x 0.9s linear;
  text-align: center;

  a {
    font-size: 1.5rem;
    color: var(--white);
    text-align: center;
    text-decoration: none!important;
    transition: all 0.45s;
    font-weight: 600;
  }

  &:hover {
background: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzkwcHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDM5MCA1MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzkwIDUwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkY3RjUwIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMCw0Ny41ODVjMCwwLDk3LjUsMCwxMzAsMGMxMy43NSwwLDI4Ljc0LTM4Ljc3OCw0Ni4xNjgtMTkuNDE2QzE5Mi42NjksNDYuNSwyNDMuNjAzLDQ3LjU4NSwyNjAsNDcuNTg1YzMxLjgyMSwwLDEzMCwwLDEzMCwwIi8+Cjwvc3ZnPgo=");    animation: line 2s;
  }

  &:hover a {
    color: var(--coral);
  }

}

@keyframes line {
  0% {
    background-position-x: 390px;
  }
}



@media screen and (max-width: 1300px) {
  .navbar-brand {
    font-size: 2.5rem!important;
  }
  .navbar-nav a{
    font-size: 1.1rem;
    margin: 0 1.8rem;
  }
}

@media screen and (max-width: 992px) {
  .navbar-brand {
    font-size: 2.1rem!important;
  }
  .navbar-nav a{
    margin: 0 0.6rem;
  }
}

/* About Component */

.mx-auto{
  margin-top: auto;
  margin-bottom: auto;
}

/* Footer Styling */

footer{
  background-color: var(--black);
  padding-top: 5rem;
  padding-bottom: 0rem;
  font-family: "Playwrite US Modern", cursive!important;

  .container{
    display: block!important;
    margin: auto;
    width: 50%;
    text-align: center;
  }

  p{
    color: var(--white);
  }

  ul {
  display: inline-flex;
  margin-bottom: 3rem;
  padding-left: 0;
}

  ul li {
    list-style: none;
  }

  ul li a {
    width: 80px;
    height: 80px;
    background-color: #fff;
    text-align: center;
    line-height: 70px;
    font-size: 35px;
    margin: 0 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    z-index: 1;
  }

  ul li a .icon {
    position: relative;
    color: #262626;
    transition: .5s;
    z-index: 3;
  }

  ul li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
  }

  ul li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
  }

  ul li a:hover:before {
    top: 0;
  }

  ul li:nth-child(1) a:before{
    background: #3b5999;
  }

  ul li:nth-child(2) a:before{
    background: #d62976;
  }

}