@import url("https://fonts.googleapis.com/css2?family=Londrina+Outline&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap");

.res-container {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  /*linear-gradient(rgba(218, 241, 155, 0.8), rgb(247, 244, 244)),*/
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgb(247, 244, 244)),
   url(/public/images/background2.png) center repeat;
  padding-top: 2%;
  padding-bottom: 2%;
}

div {
    text-indent: 50px;
    background: linear-gradient(rgba(143, 142, 142, 0.8), rgb(247, 244, 244)),
    url(/public/images/background2.png) center repeat;
  }

h1 {
  font-family: Poppins, sans-serif;
  color: #333;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  animation: fadeIn 1s;
}

h2 {
  font-family: Poppins, sans-serif;
  color: #333;
  font-size: 2.2rem;
  margin-bottom: 0px;
  animation: fadeIn 1s;
  width: 80%;
}

h3 {
  font-family: Poppins, sans-serif;
  color: #555;
  font-size: 1.8rem;
  text-indent: 100px;
}
.img a {
    height: 10%;
    width: 10%;
    align-items: center;
   }

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:440px;
     height:400px; 
  }
.date {
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  color: #030303;
  line-height: 40px;
  margin-right: 5%;
  margin-left: 5%;
  align-items: center;
  letter-spacing: 0px;
}

.date b {
  font-size: 2rem;
}

.date span {
  color: #999;
  font-weight: 400;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  animation: zoomIn 1s;
}

.timer-item-value {
  font-size: 3rem;
  font-weight: bold;
  color: #444343;
}

.timer-item-label {
  font-size: 17px;
  font-weight: bold;
  color: #efa506;
  font-family: Poppins, sans-serif;
}

.year {
  display: inline-flex;
}

.span1 {
  color: #02f2fa;
}

.span2 {
  color: #ffae00;
}

.span3 {
  color: #ec398b;
}

.span4 {
  color: #554bb9f2;
}

.greetings {
  font-weight: bold;
  font-size: 3rem;
  color: #030303;
  margin: 0;
  align-items: center;
  letter-spacing: 0px;
}

.home-text {
  color: #53e767;
  font-size: 2rem;
  font-weight: 300;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  display: block;
}

.college-name {
  margin: 0;
  font-weight: bold;
  height:50px;
}

.college-name a {
  display: flex;
  justify-content: center;
  font-size: 40px;
  animation: fadeIn 1s;
  color: #030303;
  text-decoration: none;
  transition: 1s;
}

.college-name a:hover {
  color: #9e52e9;
}

.college-name a span {
  color: #ffae00;
  padding-right: 0.5rem;
}


.button {
  display: flex;
  justify-content: center;
  gap: 3%;
  position: relative;
  text-align: center;
}

.btn {
  height: 50px;
  cursor: pointer;
  margin: 5px;
  min-width: 50%;
  transition: 0.5s;
  border-radius: 5px;
  font-weight: 600 !important;
  align-items: center;
  justify-content: center;
  color: #000;
}

.register-btn a {
  justify-items: center;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #000;
  font-size: 25px;
}

.register-btn:hover a {
  color: #d377e6;
}

.register-btn {
  background-color: #d377e6 !important;
  color: #000 !important;
}

.register-btn:hover {
  color: #d377e6 !important;
  background-color: transparent !important;
  border-color: #d377e6 !important;
}

.register {
  transform: rotate(-45deg);
}

.discord {
  background-color: #53e767 !important;
}

.discord a {
  color: #000;
  text-decoration: none;
  font-size: 25px;
}

.discord:hover {
  border: 2px solid #53e767 !important;
  background-color: transparent !important;
}

.discord:hover > a {
  color: #5791e7;
}

.donate {
  background-color: #53e767 !important;
}

.donate a {
  color: #000;
  text-decoration: none;
  font-size: 25px;
}

.donate:hover {
  border: 2px solid #53e767 !important;
  background-color: transparent !important;
}

.donate:hover > a {
  color: #53e767;
}

.logo {
  height: 100%;
  width: 20%;
}



 .logo img {
  height: 60%;
  width: 60%;
  max-width: 700px;
 }
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

/* Media queries for responsive design */

/* Screen size up to 480px */
@media (max-width: 480px) {
  .home-container {
    overflow: hidden;
    padding-top: 3%;
    /* margin-bottom: -75%; */
    padding-bottom: 3%;

  }

  .home-container {
    flex-direction: column;
  }

  .section {
    flex-direction: column;
    gap: 0rem;
  }

  .title-container {
    top: -10%;
    margin-top: 8%;
  }

  .hackathon-title {
    font-size: 2rem;
  }

  .date b {
    font-size: 2rem;
  }

  .hackathon-title span {
    font-size: 2.5rem;
  }

  .left-section {
    position: relative;
    top: -32%;
    width: 100%;
  }

  .right-section {
    top: -18%;
    padding-right: 0%;

  }

  .greetings {
    font-size: 2rem;
    position: relative;
    line-height: 36px;
    padding-right: 4%;
    padding-left: 4%;
  }

  .hackerspace {
    font-size: 3%;
    /* left: 29%; */
    position: relative;
  }

  .home-text {
    flex-basis: 100%;
  }

  .college-name a {
    font-size: 35
    
    40px;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .btn {
    display: flex;
    margin: 2px;
    min-width: 50%;
  }
  .register-btn {
    margin-right: 0;
  }

  .register-btn a {
    gap: 0px;
    font-size: 16px;
  }
  .discord a {
    gap: 0px;
    font-size: 16px;
  }
  .donate a {
    gap: 0px;
    font-size: 16px;
  }
}

.logo img {
  height: 80%;
  width:80%;
  max-width: 700px;
 }

/* Screen size between 481px and 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .home-container {
    flex-direction: column;
    padding-top: 3%;
    /* margin-bottom: -50%; */
    padding-bottom: 3%;
    gap: 0rem;
  }

  .section {
    flex-direction: column;
    gap: 0rem;
  }

  .title-container {
    top: -10%;
  }

  .hackathon-title {
    font-size: 3rem;
  }

  .hackathon-title span {
    font-size: 2.5rem;
  }

  .left-section {
    top: -18%;
  }

  .right-section {
    position: relative;
    top: -32%;
    padding-right: 0%;
  }

  .greetings {
    font-size: 2.5rem;
    position: relative;
  }

  .hackerspace {
    font-size: 2rem;
    /* left: 29%; */
    position: relative;
    margin-bottom: -5px;
  }

  .home-text {
    width: 100%;
    position: relative;
  }

  .college-name {
    font-size: 40px;
  }
}

/* Screen size between 768px and 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .home-container {
    padding-top: 3%;
    /* margin-bottom: -25%; */
    padding-bottom: 3%;
    height: 100%;
  }

  .section {

    gap: 1rem;
  }

  .title-container {
    top: -10%;
  }

  .left-section {
    top: -18%;
  }

  .right-section {
    position: relative;
    top: -32%;
    padding-right: 0%;
  }

  .greetings {
    font-size: 3rem;
    position: relative;
  }

  .hackerspace {
    font-size: 2rem;
    /* left: 20%; */
    position: relative;
    margin-bottom: -5px;
  }

  .home-text {
    justify-content: center;
    font-size: 2rem;
  }

  .college-name a {
    font-size: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
  }
}

/* Screen size between 992px and 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .left-section,
  .right-section {
    flex-basis: 100%;
  }

  .home-container {
    height: 100%;
    flex-direction: column;
    padding-top: 3%;
    padding-bottom: 3%;
  }

  .section {
    flex-direction: column;
    gap: 1rem;
  }

  .title-container {
    top: -20%;
  }

  .left-section {
    top: -20%;
  }

  .right-section {
    position: relative;
    /* top: -12%; */
    padding-right: 0%;
  }

  .greetings {
    font-size: 3rem;
    position: relative;
  }

  .hackerspace {
    font-size: 3rem;
    /* left: 20%; */
    position: relative;
    margin-bottom: -5px;
  }

  .home-text {
    font-size: 1.6rem;
    position: relative;
    text-align: center;
  }

  .college-name a {
    font-size: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
  }
}

/* Screen size 1200px and above */
@media (min-width: 1200px) {
  /* Keep the default styles */
  .home-container {
    overflow: hidden;
  }
  


}
