@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
  --primary-color:#f15a29;
--accent-color: #f29b7d;
--primary-color-dark: #d64e21;
 --primary: rgb(0, 0, 0);
 --black: #111;
 --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);


}

@font-face {
  font-family: 'Roc Grotesk-Wide';
  src: url('/fonts/RocGrotesk-WideBold.woff2') format('woff2'),
       url('/fonts/RocGrotesk-WideBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roc Grotesk';
  src: url('/fonts/RocGrotesk-Wide.woff2') format('woff2'),
       url('/fonts/RocGrotesk-Wide.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: width none;
  -webkit-transition: width none;
  list-style: none;
}

html {
  font-size: 60%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  font-family: 'Roc Grotesk', sans-serif;
  color: #121212;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background: #fbfbfb !important;
}

p{
  font-family: "Poppins", sans-serif;
}

h1{
  font-family: 'Roc Grotesk-Wide', sans-serif;
}

.sub_event {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nominations{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
  position: relative;
}

.container {
  position: relative;
  background-color: #fff;
  z-index: 1;
  border-radius: 6px;
  padding: 30px;
  box-shadow: var(--box-shadow); 
  width: 100%;
}

.container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/energy\ \ logo-01.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}


.container * {
  position: relative;
  z-index: 2;
}

.container header{
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--web);
    text-align: center;
}

.container form{
    position: relative;
    margin-top: 16px;
    min-height: 600px;
    overflow: hidden;
}

.container form .title{
    display: block;
    margin-bottom: 15px;
    font-size: 1.7rem;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}

.container form .fields{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

form .fields .input-field{
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 8px 0;
}

.input-field label{
    font-size: 15px;
    font-weight: 500;
    color: #2e2e2e;
    margin-bottom: .5rem;
}

.input-field input, select{
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 42px;
    background: none;
}

.input-field input:focus,
.input-field select:focus{
    box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.input-field select,
.input-field input[type="date"]{
    color: #707070;
}

.input-field input[type="date"]:valid{
    color: #333;
}

.container form button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    max-width: 200px;
    width: 100%;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    margin: 25px 0;
    background-color: var(--black);
    transition: all 0.3s linear;
    cursor: pointer;
    transition: all 0.3s linear;
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: hoverEffect 2s infinite alternate ease-in-out;
}

.container form .btnText{
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .2rem;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;

}

form button:hover{
    background-color: var(--primary-color-dark);
}

form button i{
    margin: 0 6px;
}


form .buttons{
    display: flex;
    align-items: center;
}

form .buttons button{
    margin-right: 14px;
}

@keyframes hoverEffect {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

.link {
  position: absolute;
  right: 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.link a {
  text-decoration: none;
  color: #333;
  background: #f5f5f5;
  padding: 10px 15px;
  border-radius: 5px;
  transition: 0.3s;
}

.link a:hover {
  background: #ddd;
  color: var(--web-hover);
}

.swal2-popup.colored-toast {
  font-size: 2rem !important; /* or 18px, adjust as needed */
  padding: 1.2rem 1.5rem;
}
.swal2-title {
  font-size: 2rem !important;
  line-height: 1.4;
}

@media (max-width: 750px) {
    .container form{
        overflow-y: scroll;
    }

    .container form::-webkit-scrollbar{
       display: none;
    }

    .event_container {
      display: flex;
      flex-direction: column;
    }
}

@media (max-width: 550px) {
    form .fields .input-field{
        width: 100%;
    }
}

@media (max-width: 768px) {
      .form-group {
        width: 100%;
    }

    .form-container {
        padding: 15px;
    }
}

@media (max-width:450px){
  html{
    font-size: 45%;
  }
}
