/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: rgba(0, 0, 0, 0.05); /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: rgb(204, 162, 76); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  --focus-input-color: #d4af378e; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --sidebar-color: #212529;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #D4AF37; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #d4af3786; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

.button-gold {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transition: 0.3s;
}

.button-gold:hover {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: var(--accent-color);
  border-color: var(--accent-color);
  text-decoration: none;
}

span {
  transition: 0.3s;
}

.icon-hover:hover {
  color: var(--accent-color);
}

.img-login {
  width: 100%;
}

.img-logo{
  width: 35%;
}

.bg-side{
  background-image: url(../img/sidebg.jpg);
  background-size: cover;
}

.input-transition{
  transition: 0.3s;
}

.input-focus:focus{
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: 0 0 0 0rem var(--focus-input-color);
}

.input-checked:checked{
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.nf-xl {
  font-size: 150px;
}

.font-color-primary{
  color: var(--accent-color);
}

.border-sm {
  border-right: 5px solid;
}

.row-size{
  width: 80%;
}

.text-grey {
  color:var(--sidebar-color);
}

.img-logo-admin {
  width: 10%;
}

.w-sidebar{
  width:20%;
}

.form-outline label{
  position:relative;
}

.form-outline input::placeholder{
  opacity: 0;
}

.form-outline span{
  position:absolute;
  top:0;
  left:0;
  color:#444444;
  transform:translateY(4px);
  transition-duration:300ms;
  background-color: white;
  margin-left: 10px;
  padding: 2px;
}

/* .form-outline label:focus-within > span, input:not(:placeholder-shown) + span{
  font-size:0.825em;
  color: var(--accent-color);
  transform:translateY(-12px);
} */

@media only screen and (max-width: 600px) {
  .img-logo {
    width: 30%;
  }

  .nf-xl {
    font-size: 50px;
  }

  .border-sm {
    border-right: none;
    border-bottom: 5px solid;
  }

  .row-size{
    width: 100%;
  }

  .img-logo-admin {
    width: 30%;
  }

  .img-login {
    width: 50%;
  }
}

.side-login {
  margin-left: -15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-login img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 15px 0px 0px 15px;
}
