hmtl{
scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', sans-serif;
}

.bgimg {
    width: 100%;
    height: 100vh;
    background: url(images/WestadBackground.jpg);
    background-size: cover;
}

.logo {
    width: 10%;
    z-index: 2;
    position: relative;
    top:20px;
    left:20px;
    background: #fff;
    padding: 10px;
}


.bg-custom {
    background: #ed1c24;  
}

.modechange {
    color: #020202 !important;
    font-weight: 400 !important;
}
.modechange:hover {
    opacity: 75%;
    cursor: pointer;
    font-weight: 700 !important;
}

.nav-link:hover {
    text-transform: uppercase;
    font-weight: 700;
    transition: ease-in 100ms;
}

p {
    font-size: 18px;
}

.row img{
    width: 100%;
    margin: 0;
}

.card-img-top:hover {
    cursor: pointer;
}


h1{
    margin: 20px auto;
    text-align: center;
    width: 100%;
    background: linear-gradient(to right, #fff , #5085b6,#fff);
    border-radius: 5px;
    color: #fff;
    padding: 20px;
}


.card {
    margin-top: 20px;
}

.card-title {
    text-align: center;
}
.card-title:hover {
    text-transform: uppercase;
    font-weight: 600;
    transition: ease-in 500ms;
}

.card-title:hover {
    cursor: pointer;
}


form {
    width: 65%;
    margin: 0 auto;
}

.btn {
    box-sizing: border-box;
    appearance: none;
    background-color: transparent;
    border: 2px solid #ed1c24;
    border-radius: 0.6em;
    color: #ed1c24;
    cursor: pointer;
    display: flex;
    align-self: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 20px;
    padding: 1.2em 2.8em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 auto;
  }

  .btn:hover {
    color: #fff;
    outline: 0;
  }
  .first {
    transition: box-shadow 1000ms ease-in-out, color 1000ms ease-in-out;
  }
    .first:hover {
      box-shadow: 0 0 40px 40px #ed1c24 inset;
      color: #e4e4e4;
    }

footer{
    border: 1px solid #000000;
    background: #fff;
}

footer p {
    font-size: 8px;
}

/*Dark Mode*/

.dark { 
    background-color: #333; 
    color: #e4e4e4; 
   }
   
.dark .bg-custom {
    background: #5085b6;
}

.dark .modechange {
    color: #e4e4e4 !important;
}

   .dark .bgimg {
     background: url('images/westadnightbg.jpg');
     background-size: cover;
   }
   
   .dark h1{ 
    color: #e4e4e4 ;
    background: linear-gradient(to right, #333 , #ed1c24,#333) ;
   }

   .dark .card-title {
    color: #020202;
}

   .dark .card-text {
       color: #020202;
   }

   .dark input[type=submit] {
    background:#5085b6;
    color: #e4e4e4;
   }

   .dark footer {
       color: #020202;
   }




/* Media Queries */

@media only screen and (max-width: 900px) {
    
    .logo {
        width: 25%;
        padding: 5px;
        left: 40%;
        top: 25%;
        
    }

    p {
        font-size: 12px;
    }


    .card-title {
        width: 100%;
        font-size: 16px;
    }

    .card-title:hover {
        font-weight: 500;
        text-transform: none;
    }

    .card-text {
        font-size: 12px;
    }
} 

@media only screen and (max-width: 400px) {
    .logo {
        width: 50%;
        padding: 5px;
        left: 25%;
        top: 35%;
    }

    p {
        font-size: 14px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-title:hover {
        font-weight: 600;
        text-transform: uppercase;
    }

}