@font-face {
    font-family: Tomorrow-Regular;
    src: url("Tomorrow-Regular.ttf");
}

html{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.Header {
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 20px;
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

body {
    font-family: Tomorrow-Regular;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #000000;
    box-sizing: border-box;
    overflow-x: hidden;
}

.logolink {
    display: block;
}

#logo {
    margin-top: 10px;
    margin-left: 10px;
    width: 118px;
    height: 50px;
}

.menu-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    z-index: 3;
}

.hamburger {
    width: 30px;
    cursor: pointer;
    margin: 20px;
    margin-right: 50px;
    transition: transform 0.4s ease;
}

.hamburger.slide-out {
    transform: translateX(-180px); /* Move the hamburger icon out of view */
    z-index: 2;
}

.hamburger {
    transform: translateX(0); /* Resets to original position */
}

.line {
    width: 100%;
    height: 4px;
    right: 0;
    z-index: 2;
    background-color: rgb(255, 255, 255);
    margin: 5px 0;
    transition: 0.4s;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #000000;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
}

.content {
    margin-top: 15%;
    color: #ffbf00;
}

.competitionstitle {
    color: black;
    text-shadow: -1px -1px 0 #f8ba00, 1px -1px 0 rgb(248, 186, 0), -1px 1px 0 #f8ba00, 1px 1px 0 #f8ba00;
    font-size: 50px;
    width: 100%;
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    z-index: 1;
}

.side-menu a:hover {
    color: #f8ba00;
}

.side-menu.active {
    width: 250px;
    opacity: 0.8;
}

.class {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    font-size: 30px;
}

.robotitle {
    transform: rotateZ(-90deg);
    white-space: nowrap; /* Prevents the text from breaking into two lines */
    font-size: 2vw; /* Default size */
    margin-top: 0; /* Adjust margins as needed */
    margin-left: 2%; /* Prevents overlap */
    color: #ffbf00;
}

.sidebar {
    font-size:fit-content;
    width: 12%;
    height: 60vh;
    background-color: rgb(34, 33, 33);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ROBOtop{
    display: flex;
    padding-left: 50px;
    width: 60%;
}

.roborushcontent {
    width: 40%;
    margin-left: 20px; /* Add space between image and text */
    text-align: justify; /* Ensure proper alignment for text */
    color: #ffbf00;
}

.robocontent{
    font-size: 2vw;
    margin-bottom: 80px;
    text-align: center;
}


.registerbut{
    border: none;
    font-family: Tomorrow-Regular;
    border-radius: 5px;
    height: 5vw;
    width: auto;
    font-size: 3vw;
    background-color: #000000;
    color: white;
    transition: background-color 0.15s, color 0.15s;
}

.registerbut:hover{
    background-color: #f8ba00;
    color: black;
}


footer {
    display: flex;
    justify-content: center;
    gap: 7%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
}

.ytlink, .instalink, .fblink, .gilink, .lilink {
    height: 20px;
    width: 20px;
}
.content {
    margin-top: 15%;
    color: #ffbf00;
}

.footer-divider {
    
    border: 0.5px solid #444; /* Thin line with dark gray */
    margin: 10px 0;
}

.credits {
    font-size: 14px;
    color: #ccc; /* Light gray for text */
    line-height: 1.5; /* Improve readability */
    text-decoration: none;
}

.credits strong {
    color: #f9a825; /* Highlight developer names */
}

.credits p {
    margin: 5px 0;
    text-align: center;
    
}
.credits a{
    
    color: #ccc;
}

.ROBORUSH {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    height: auto; /* Allow flexible height */
    width: 100%;
    margin: 30px 0; /* Add vertical spacing between sections */
    padding: 10px 0; /* Subtle padding inside each section */
}

/* Add borders to the images */
.roborushimg {
    height: 60vh;
    width: 50vw;
}

/* ========== Media Queries for Responsive Design ========== */

/* For tablets and smaller screens (max-width: 768px) */
@media (max-width: 1025px) {
    .Header {
        padding: 0;
    }

    #logo {
        width: 90px;
        height: 40px;
    }

    .hamburger {
        width: 25px;
        margin-right: 20px;
    }

    .competitionstitle {
        font-size: 6vw;
    }

    .robotitle {
        font-size: 4vw; /* Dynamically scale font size */
        margin-top: 0; /* Reset top margin for better alignment */
        margin-left: 0; /* Ensure proper spacing */
        white-space: nowrap; /* Ensure text stays in one line */
    }

    .sidebar {
        font-size: 28px;
        width: 10%;
        height: auto;
    }

    .ROBORUSH {
        flex-direction: column; /* Stack items vertically */
        justify-content: center;
        align-items: center; /* Center content */
        margin: 20px 0; /* Adjust spacing for smaller screens */
    }

    .roborushimg {
        width: 90%; /* Reduce image width for smaller screens */
        height: auto;
        margin-bottom: 15px; /* Add space below the image */
    }

    .roborushcontent {
        width: 90%; /* Expand content width for readability */
        margin: 0; /* Reset margins for smaller screens */
        text-align: center;
    }

    .ROBOtop {
        width: 100%;
        justify-content: center;
        height: auto;
    }

    .robocontent{
        font-size: 4vw;
    }

    footer {
        margin-top: 10%;
    }
    .register{
        font-size: 5vw;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-links img {
        height: 25px; /* Smaller icons */
    }

    .credits {
        font-size: 12px; /* Smaller font for smaller screens */
    }

    .social-links {
        gap: 20px; /* Adjust gap for smaller screens */
    }
}

@media (max-width: 480px) {
    .sidebar {
        font-size: 28px;
        width: 10vw;
        height: 25vh;
    }

    .roborushimg {
        width: 80vw; /* Reduce image width for smaller screens */
        height: 25vh;
        margin-bottom: 15px; /* Add space below the image */
        margin-right: 5rem;
    }
}