@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: #222831 !important;
  color: #EEEEEE !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#logo-title {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
}

#logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #0d6efd, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(13, 110, 253, 0.5);
}

#chall-title {
  margin-left: 10px;
}

#icon-select {
    float: left;
    left: 40%;
    position: absolute;
    margin-left: 40px;
    height: 50%;
    width: 40%;
    top: 100px;
}

#icons {
  position: relative;
  float: right;
  border-radius: 10px;
  padding: 10px;
  max-width: 360px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#icon {
  padding: 5px;
  margin: 5px;
  border-style: outset;
  border-color: darkgrey;
  background-color: rgb(255, 255, 255, 0.7);
}

#icon:hover {
    cursor: pointer;
}

#main-body {
    display: flex;
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

#competitions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 0 0 auto;
    max-width: 600px;
}

.comp-card {
    background: #2c3e50;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.comp-card h3 {
    margin-top: 0;
    color: #ffffff;
    font-weight: bold;
}

.comp-card p {
    flex-grow: 1;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.comp-button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.comp-button:hover {
    background: #0b5ed7;
}

#instructions {
    flex: 1;
    background: #2c3e50;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#instructions h2 {
    color: #ffffff;
}

#instructions p {
    color: #b0b0b0;
}

#instructions a {
    color: #0d6efd;
}

#buttons, #info{
  text-align: center;
}

h1{
  text-align: center;
}

#next{
  margin-left: 100px;
}


#center{
  text-align: center;
}

#footer {
    color: #b0b0b0;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

#footer strong {
    color: #ffffff;
}

@media only screen and (max-width: 1050px) {
    #icons {
        display: none;
    }
}

@media only screen and (max-width: 1370px) {
    #instructions {
        display: none;
    }

    #competitions {
	width: 100%;
    }
}

