@import url("https://use.typekit.net/aur2yzu.css");

:root {
    --key-color: hsl(198, 100%, 41%);
    --hover-color: hsl(198, 70%, 70%);
    --selected-color: hsl(198, 100%, 41%);

    --grid-margin: 5rem;
    --transition-time: 0.2s;

    @media screen and (max-width: 992px) {
   --grid-margin: 3rem;
    }
}

.container {
    display: flex;
    width: auto;
    padding: 55px;
    padding-bottom: 15px;
    padding-top: 15px;

    @media screen and (max-width: 992px) {
    flex-direction: column;
    }
}

.column {
  float: left;
  width: 50%;
  padding: 10px;

    @media screen and (max-width: 992px) {
    flex-direction: column;
    width: 100%;
    }
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.heroimage{
    width:47%; 
    margin: auto;

   @media screen and (max-width: 992px) {
    width: 100%;
    }
}

nav{
    display: flex;
    justify-content: space-between;
    box-shadow: 0 4px 10px -5px gray;
    padding: 8px;
    margin: -8px;
    position:fixed;
    width:100%;
    background-color: white;

    @media screen and (max-width: 992px) {
    margin-top: -25px;
    padding-top: 20px;
    font-size: 20px;
    }
}

main{
    box-shadow: 0 4px 10px -5px gray;
    margin: 0px;
    padding: 0px;

}

content{
    display: flex;
    justify-content: space-between;
    box-shadow: 0 4px 10px -5px gray;
}

footer{
    margin: 0px;
    display: flex;
    flex-direction: column;

    @media screen and (max-width: 992px) {
    margin-top: -25px;
    padding-top: 20px;
    font-size: 20px;
    }
}

footer-content{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

html, body{
    margin: 0px;
    padding: 0px;
    border: 0px;
    text-align: center;
    font-family:"nexa", sans-serif;
}

h1{
    color: var(--key-color);
    text-align: center;
    font-size: 6vw ;
    margin: 7px;
    padding-top: 10px;
    font-family:"nexa", sans-serif;
    text-wrap: nowrap;

    @media screen and (max-width: 1400px) {
        font-size: 80px ;
    }
}

h3{
    font-family:"nexa", sans-serif;
    color: var(--key-color);
    text-align: center;
    font-size: 24px ;
}

ul{
    color: var(--key-color);
    text-align: center;
    font-size: 32px ;
    margin: 30px;
    padding: 7px;
}

heroimage{
    width: 100%;
    height: auto;

    @media screen and (max-width: 992px) {
        height: 200px;
        width: 50%;
    }
}

.button{
    display: inline-block;
    padding: 20px 70px;
    background-color: var(--key-color);
    border-radius: 23px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 50px;

    .button__label {
        color: white;
    }

    &:hover, &:focus {
        background-color: var(--hover-color);
        cursor: pointer;
        font-size: 48px;
    }

    &.button--disabled{
        background-color:#ccc;
        color:black;
        cursor: not-allowed;
        opacity: 0.7;

    }
}

.headernav{
    color: var(--key-color);
    text-align: center;
    font-size: 28px ;
    margin: 30px;
    margin-top:50px;
    padding: 5px;

    &:hover, &:focus{
        transition: all 0.2s;
        opacity: 0.7;
        font-size: 30px ;
    }

}

.headernav__onpage{
    font-size: 26px;
    text-align: center;   
    margin: 30px;
    margin-top:50px;
    padding: 5px;
    color: black; 
    cursor: not-allowed;
}

#events {
    padding: 5rem var(--grid-margin);

    .events__card-container {
        display: flex;
        justify-content: space-around;
        gap: 40px;
        margin:-20px;
        align:center;

        @media screen and (max-width: 992px) {
            flex-direction:column;
            margin:auto;
            margin-bottom:-50px;
            margin-top:-120px;
            justify-content: center;
            align:center;
        }
    }

    .event__card {
        box-shadow: 0 4px 10px -5px gray;
        width:387px;
        height: 583px;
        margin:-20px;
        font-size:28px;
        font-family:"nexa", sans-serif;
        text-wrap:wrap;

         @media screen and (max-width: 992px) {
        margin:auto;
        justify-content: center;
        }
    }
}

@keyframes fadeInUp {
  0% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}

.fadeIn-animation {
  animation: 1.5s fadeInUp;
}




