html {
    scroll-behavior: smooth;
}

#main {
    background-color: #111111;
    position: relative;
    height: calc(100vh - 100px);
}

#title{
    width: 50%;
    transition: all 1.5s cubic-bezier(.53,.05,.11,.95);
    z-index: 5;
    pointer-events: none;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

.raise {
    transform: translate(-50%, -70%) !important;
    -webkit-transform: translate(-50%, -70%) !important;
    -moz-transform: translate(-50%, -70%) !important;
}

.lower {
    transform: translate(-50%, 70%) !important;
    -webkit-transform: translate(-50%, 70%) !important;
    -moz-transform: translate(-50%, 70%) !important;
}

#buttons {
    display: flex;
    transition: all 1s cubic-bezier(.12,.56,.33,.94);
}

.button {
    color: white;
    font-size: 2vw;
    background-color: #333333;
    padding: 0.25vw 3vw;
    margin: 0 1vw;
    border-radius: 1.25vw;
    transition: background-color 0.25s;
}

.button:hover {
    background-color: #444444;
    cursor: pointer;
}

#colored{
    background-color: #21941b;
}

#colored:hover {
    background-color: #00AF00;
}

#sponsors {
    width: 100%;
    position: relative;
    background-color: #222222;
    overflow: hidden;
    min-height: calc(100vh - 100px);
}

#sponsors_title {
    color: white;
    text-align: center;
    margin: 0;
    font-size: 3vw;
    padding-top: 10px;
}


#sponsors_container{
    padding-top: 5vh;
    padding-left: 10%;
    width: 80%;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.sponsor {
    display: inline-block;
    width: min(30vh, 20vw);
    height: min(30vh, 20vw);
    background: #ffffff;
    margin: 20px;
    border-radius: 1vw;
}

.sponsor img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    padding: 10%;
}

#footer{
    background-color: #333333;
}

#footer_icons img {
    background-color: #333333;
}

#footer_icons img:hover {
    background-color: #444444;
}

@media only screen and (max-width: 1000px)
{ 
    #title{
        width: 90%;
    }
    .button {
        font-size: 5vw;
        white-space: nowrap;
        padding: 0.25vw 4vw;
        border-radius: 2vw;
    }
        
    #sponsors_title {
        padding-top: 5vh;
        font-size: 7vw;
        padding-top: 10px;
    }
    
    
    #sponsors_container{
        padding-top: 2vh;
        padding-left: 5%;
        width: 90%;
        height: fit-content;
        text-align: center;
    }
    
    .sponsor {
        display: inline-block;
        width: min(30vh, 35vw);
        height: min(30vh, 35vw);
        margin: 2vw;
        border-radius: 1vw;
    }
    
}
