@font-face
{
  font-family: "SFPro";
  src: url("fonts/SF-Pro-Display-Regular.otf") format("opentype");
}

@font-face
{
  font-family: "Horizon";
  src: url("fonts/Horizon.otf") format("opentype");
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SFPro', 'Horizon';
    overflow-anchor: none;
}

body
{
    background-color: #1f1f21;
    color: #f8f7da;
    text-align: center;
    font-family: 'SFPro';
    height: auto;
    width: 100vw;
}

#navbar
{
    background-color: #1f1f21;
    width: 100vw;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 2vw;
    z-index: 100;
}

.title
{
    background-color: transparent;
    color: red;
    width: 50vw;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 1vw;
    font-size: 3.5vw;
    margin-top: 10vh;
    left: 25vw;
    font-family: "Horizon";
}

.footer
{
    width: 100vw;
    height: 10vh;
    top: 1120vh;
    position: absolute;
}

.instagram-logo
{
    width: 10vw;
    height: 10vw;
    background-size: cover;
    background-position: center;
    background-image: url('logo/Instagram_icon.png.png');
    position: absolute;
    left: 45vw;
}

.instagram-link
{
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: #f8f7da;
}

.hackfree_vid
{
    width: 50vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 1vw;
    top: 10vw;
    overflow: hidden;
}

.hackfree_vid video
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1vw;
}

.columns-container
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 85vw;
    left: 7.5vw;
    height: auto;
    position: relative;
}

.column
{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    gap: 2vh;
    position: relative;
}

#column1
{
    margin-top: 24vh;
}

#column2
{
    margin-top: 12vh;
}

#column3
{
    margin-top: 0;
}

#column4
{
    margin-top: 12vh;
}

#column5
{
    margin-top: 24vh;
}

.photo
{
    width: 16vw;
    height: 24vh;
    background-size: cover;
    background-position: center;
    border-radius: 0.5vw;
}

.announcement_box
{
    background-color: #f8f7da;
    width: 60vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    position: absolute;
    margin: 5vh auto;
    padding: 2vw;
    color: black;
    border-radius: 1vw;
    font-size: 2vw;
}

.announcement_box ul
{
    list-style-type: disc;
    padding-left: 5vw;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

.announcement_box li
{
    padding-left: 2vw;
}

.hackfree_info
{
    background-color: #f8f7da;
    width: 40vw;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    margin: 5vh auto;
    padding: 2vw;
    color: black;
    border-radius: 1vw;
    font-size: 3vw;
}

.hackfree_info a
{
    color: black;
    text-decoration: none;
}

.about_box
{
    background-color: transparent;
    width: 40vw;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    margin: 5vh auto;
    padding: 2vw;
    color: #f8f7da;
    border-radius: 1vw;
    font-size: 1.5vw;
    font-family: 'SFPro';
}

strong
{
  font-weight: bold !important;
}

.faq_box
{
    background-color: rgb(239,180,78);
    width: 20vw;
    height: 7.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2vh auto;
    padding: 2vw;
    color: black;
    border-radius: 1vw;
    font-size: 40%;
    position: absolute;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.faq_box::after
{
    content: attr(data-hover);
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: black;
    text-align: left;
    font-size: 1vw;
    width: 100%;
    padding: 1vw;
    white-space: normal;
    box-sizing: border-box;
}

.faq_box:hover::after
{
    opacity: 1;
}

.faq_box:hover
{
    color: transparent;
}

.sponsors_chart
{
    background-color: white;
    background-size: cover;
    background-position: center;
    width: 21vw;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 1vw;
    border: 0.25vw white;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 1vw;
    font-size: 2vw;
    box-sizing: border-box;
    color: black;
    font-family: 'SFPro';
}

.logo img
{
    height: 8vh;
    width: auto;
}

.navicon button
{
    background-color: red;
    color: #f8f7da;
    border: none;
    border-radius: 0.5vw;
    padding: 1vh 2vw;
    font-size: 1.2vw;
    cursor: pointer;
    margin-left: 1vw;
    transition: background-color 0.5s ease;
}

.navicon button:hover
{
    background-color: orangered;
}

.meet_team
{
    position: absolute;
    left: 25%;
}

.meet_team button
{
    background-color: red;
    color: #f8f7da;
    border: none;
    width: 50vw;
    height: 15vh;
    border-radius: 5vw;
    padding: 1vh 2vw;
    font-size: 1.2vw;
    cursor: pointer;
    font-family: 'Horizon';
    font-size: 300%;
    text-decoration: underline;
    transition: background-color 0.5s ease;
}

.meet_team button:hover
{
    background-color: orangered;
}

.content
{
    padding-top: 16vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Horizon", sans-serif;
}

.centered-img
{
    width: 50vw;
    height: 50vh;
    object-fit: cover;
    margin: auto;
}

.content h1
{
    font-size: 5vw;
}

.content p
{
    font-size: 2vw;
}

.hackfree-flyer
{
    top: 150vh;
    left: 25vw;
    width: 50vw;
    height: auto;
    position: absolute;
    border-radius: 1vw;
    background-image: url('media/Hackfree_2026_Poster.png');
    background-size: contain;
    aspect-ratio: 2352 / 3128;
}