
@font-face {
    font-family: offBit;
    src: url(./OffBitTrial-DotBold.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
}

.main {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    height: 100vh;
    width: 100%;
    background: #171717; /* Dark grey background */
    position: relative;
}

.page1{
    min-height: 100vh;
    width: 100%;
    background-color: #171717;
    /* position: relative; */
    padding: 0 0vw;
    
}

nav{
    height: 10vh;
    width: 100%;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    border-bottom: 1px solid rgba(69, 68, 68, 0.347);
}

.betanav{
    height: 7vh;
    width: 100%;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    border-bottom: 1px solid rgba(69, 68, 68, 0.347);
}

.nav1{
    width: 20vw;
    margin: 1vh 6vh;
    display: flex;
    flex-wrap: nowrap;
}
 @media (max-width:780px){
    .nav1btn{
        display: none;
    }
    .nav1{
        flex-wrap: nowrap;
    }
    .nav2{
        display: none;
        flex-wrap: nowrap;
    }
    .fa-bars{
        display:block;
    }
    .navbuttons{
        display: none;
    }
    .betanav{
        height: 8vmax;
        padding: 2vh 0;
    }
 }

 @media (max-width:400px){
    .betanav{
        height: 8vmax;
        padding: 2vh 0;
    }
 }
 
 .nav2{
    flex-wrap: nowrap;
 }

 .fa-bars{
    display: none;
    color: white;
 }

.nav1btn{
   background-color:  transparent;
   color: rgba(255, 255, 255, 0.99);
  border-radius: 10px;
  padding: 0vh 1vh;
  border: 1px solid rgba(75, 73, 73, 0.384);
  font-size: 2vh;
}

.nav1btn:hover{
    color: #716e6e;
    transition: all ease 0.2s;
}

.nav2{
height: 10vh;
display: flex;
align-items: center;
justify-content: space-around;
margin: 1vh 6vh;
}

.nav2 button{
    padding: 1.5vh 3.5vh;
    border: 1px solid rgba(58, 55, 55, 0.452);
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-weight: 550;
    font-size: 2vh;
    margin: 2vh;
    white-space: nowrap;
}

.nav2 button:hover{
    background: rgba(58, 55, 55, 0.452);
    cursor: pointer;
    transition: all ease 0.2s;
    color: rgb(47, 130, 255);
}

.navh3{
    color: white;
    margin: 1vh 1.5vh;
}
.navh4{
    color: white;
    margin: 1vh 8vh;
    font-weight: 300;
}

.navh4 span{
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    
}
.navh4 a{
    text-decoration: none;
    color: inherit;
}

.content {
    min-height: 35vh;
    display: flex;
    justify-content: center;
    align-items:center;
    text-align: center;
    padding: 20px;
    background: transparent; /* Make background transparent */
    border-radius: 10px;
    position: relative;
    z-index: 10; /* Ensures content is above the grid background */
}

h1 .highlight {
    color:rgb(0, 100, 251) /* Color for "loooong" */
}

.content h1{
    font-size: 7vh;
    color: white;
    z-index: 12;
    /* font-family: offBit; */
}

.content p{
    color: white;
    font-weight: 450;
    font-size: 2.5vh;
    margin-top: 3.5vh;
}

.url-input {
    min-height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -5px;
    position: relative;
    z-index: 15;
}

.url-text {
    padding: 21px;
    width: 450px;
    border: 1px solid #7575753b;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    outline: none;
    background-color:#05050540;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

.url-text:focus {
    border-color: #007bffa3; /* Change border color to blue when focused */
}

.shorten-btn {
    padding: 21px 30px;
    background-color:  rgba(0, 100, 251, 0.815);
    border: none;
    border-radius: 0 10px 10px 0;
    color: #ffffff;
    cursor: pointer;
    /* margin-left: 40px; */
    /* border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; */
    font-weight: 400;
    font-size: 1rem;
}

.shorten-btn:hover{
    background-color: rgba(0, 102, 255, 0.481) ;
    transition: all ease 0.2s;
}
/* Create the grid background */
.main::before {
    content: "";
    position: absolute;
    top: 17vh;
    left: 0;
    width: 100%;
    height: 78%;
    background-image: linear-gradient(to right, #31303034 1px, transparent 1px),
                      linear-gradient(to bottom,#31303034 1px, transparent 1px);
    background-size: 16px 28px; /* Adjust the size to make squares larger or smaller */
    z-index: 0; /* Ensures grid is behind the content */
}

.shortBtn{
    margin: 2vh 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btnLink{
    border-radius: 10px;
    padding: 2vh 3vh;
    margin: 0vh 1vh;
    background: transparent;
    border: 1px solid rgba(58, 55, 55, 0.452);
    color: white;
    font-size: 2vh;
    font-weight: 450;
}

.btnLink:hover{
    background: rgba(58, 55, 55, 0.452);
    cursor: pointer;
    transition: all ease 0.2s;
    color: rgb(47, 130, 255);
}
.btnLink a{
    text-decoration: none;
    color: inherit;
}

.btnLink1{
    border-radius: 10px;
    padding: 2vh 3vh;
    margin: 0vh 1vh;
    background: rgba(58, 55, 55, 0.452);
    border: 1px solid rgba(58, 55, 55, 0.452);
    color: white;
    font-size: 2vh;
    font-weight: 450;
}
.btnLink1 a{
    text-decoration: none;
    color: inherit;
}

.btnLink1:hover{
    background: rgba(90, 85, 85, 0.356);
    cursor: pointer;
    transition: all ease 0.2s;
    color: rgb(47, 130, 255);
}

.Footer{
    align-items: end;
    display: flex;
    justify-content: space-between;
    height: 40vh;
    width: 100%;
    /* background-color: #0c0c0c; */
    color: #616060;
    /* border-radius: 50px;
    border: 1px solid rgba(0, 94, 255, 0.589); */
    /* filter: blur(1px); */
    z-index: 15;
    position: relative;
    overflow: hidden;
     background: linear-gradient(to bottom,#1515158b, rgb(0, 0, 0));
}


.Footer p{
    color: rgba(180, 180, 180, 0.838);
    margin: 3vw;
    /* font-family: offBit; */
    font-weight: 500;
    font-size: 2rem;
    font-family: offBit;
    margin-bottom: 7vh;
    cursor: pointer;
}

.Footer a{
    text-decoration: none;
    cursor: pointer;
}

/* Ensure you include previous styles */

#shortUrlContainer {
    height: 30%;
    width: 40%;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 20px 10px;
    margin-top: 20px;
    margin-left: 460px;
    font-size: 16px;
    color: #d6d3d3;
    background-color: #08080863;
    border-radius: 15px;
    z-index: 15;
    position: relative;
    line-height: 2rem;
    opacity: 0; /* Initial state: invisible */
    transform: translateY(20px); /* Initial state: slightly off-screen */
    transition: opacity 0.3s ease, transform 0.4s ease; /* Smooth transition */
}

#shortUrlContainer.show {
    opacity: 1; /* Final state: visible */
    transform: translateY(0); /* Final state: in place */
}

#shortUrlContainer a {
    color: rgb(0, 121, 251);
    text-decoration: underline;
    font-size: 17px;
    /* background-color: #37363672; */
    padding: 2px;
    border-radius: 5px;
}
#shortUrlContainer a:hover{
    cursor: pointer;
}

#shortUrlContainer span{
    font-weight: 500;
}

#copyButton {
    margin: 5px 5px 3px 10px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: #1eff0087; /* Green */
    color:  rgba(255, 255, 255, 0.718);
    border-radius: 10px;

}

#copyButton:hover {
    background-color: #1eff00a4;
    color: white;
}

#copyMessageContainer {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it appears above other elements */
}

#qrCodeButton{
    background: rgba(20, 134, 255, 0.912);
    padding: 4px 22px;
    position: relative;
    z-index: 16;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.712);
    border: none;
    margin: 5px 5px 3px 7px;
    font-size: 16px;
}
#qrCodeButton:hover{
    color: white;
    background-color: rgb(20, 134, 255);
}

/* Define the animation */
@keyframes slideInFromCenter {
    from {
        transform: translate(0, 20%);
        opacity: 0.2;
    }
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* Apply the animation to the h1 tag */
.animated-h1 {
    position: relative;
    animation: slideInFromCenter 0.3s ease-out forwards;
    opacity: 0; /* Ensure it starts from invisible */
}

/* Define the animation */
@keyframes slideInFromBottom {
    from {
        transform: translate(0, -30%);
        opacity: 0.2;
    }
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* Apply the animation to the h1 tag */
.animated-p {
    position: relative;
    animation: slideInFromCenter 0.5s ease-out forwards;
    opacity: 0; /* Ensure it starts from invisible */
}

.fa-github{
    color: white;
    font-size: 3vh;
    margin: 2vh;
}

.fa-github:hover{
    color: rgb(47, 130, 255);
    cursor: pointer;
}

.fa-magnifying-glass{
    color: white;
    font-size: 3vh;
    margin: 2vh;
}

.fa-magnifying-glass:hover{
    color: rgb(47, 130, 255);
    cursor: pointer;
}

.fa-circle-half-stroke{
    color: white;
    font-size: 3vh;
    margin: 2vh;
}

.fa-circle-half-stroke:hover{
    color: rgb(47, 130, 255);
    cursor: pointer;
}

.joinDiscord{
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    background-color: #08080863;
    border-radius: 20px;
    padding: 4vh;
    margin-left: 310px;
    margin-top: 14vh;
    margin-bottom: 10vh;
    /* background: linear-gradient(to right,rgba(14, 13, 13, 0.599), rgba(21, 20, 20, 0.79)); */
}
.fa-discord{
    color: white;
    font-size: 6vh;
    margin: 3vh;
}

.joinDiscord p{
    font-family: offBit;
    color: #b0adad;
    font-size: 1.3rem;
    margin-left: 3vh;
}
.joinDiscord span{
    color:#b0adad;
    font-size: 1rem;
}
.join{
    border-radius: 20px;
    background-color: transparent;
    border: none;
    padding: 3vh 5vh;
    color: #ffffff;
    white-space: nowrap;
    background-color: rgba(7, 237, 7, 0.771);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 3vh;
    font-weight: 600;
}

.manager{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 4vh;
  margin-top: 14vh;
}
.manager span{
    color: #959393a7;
    font-size: 1rem;
    font-weight: 400;
    background-color: #183a6e3a;
    border-radius: 5px;
    padding: 3px;
}

.manager h1{
    color: white;
    margin-bottom: 3vh;
    /* font-family: offBit; */
}

.pastUrlsContainer{
    background-color: #191919a7;
    white-space: nowrap;
    margin-left: 6vh;
}

.url-table {
    width: 100%;
    border-collapse: collapse;
}

.url-table th, .url-table td {
    border: 1px solid #45454522;
    padding: 20px 15px;
    color: rgb(182, 180, 180);
    text-align: left;
    font-weight: 350;
}

.url-table th {
    background-color: #183b6e;
    text-align: left;
}
table a {
    text-decoration: none;
    color: inherit; /* Optional: Resetting the color to inherit */
}

.url-table {
    width: 98%; /* Decrease width to 80% */
    border-collapse: collapse; /* Collapse borders */
    border-radius: 20px; /* Add border radius */
    overflow: hidden; /* Hide overflow content */
    margin-left:10px;
    position: relative;
    z-index: 20;
    margin-bottom: 5vh;
    border-spacing: 0 10px; /* Adds vertical space between rows */
    background: linear-gradient(to right, transparent, rgba(0, 115, 255, 0.084)); /* Blue hue on the right */
}

.fa-arrow-right{
    margin: 5px;
}
.fa-globe{
    margin: 5px;
    color: #2c81ff;
}
.fa-keyboard{
    margin: 5px;
    color: #2c81ff;
}

.fa-star{
    margin: 5px; 
}
.fa-code-pull-request{
    margin: 5px;
}


.fa-less-than-equal{
    margin: 3px;
    color: #2c81ff;
}
.fa-pagelines{
    margin: 3px;
}

@media only screen and (max-width: 1200px) {
    .nav2 button {
        font-size: 1.7vh; /* Adjust font size for smaller screens */
    }

    .content h1 {
        font-size: 4.5vh;
    }

    .content p {
        font-size: 1.8vh;
    }

    .url-text {
        width: 75%;
    }

    .shortBtn {
        flex-direction: column; /* Stack buttons vertically */
    }

    .btnLink, .btnLink1 {
        width: 100%; /* Make buttons full width */
        text-align: center; /* Center text inside buttons */
    }
}

@media only screen and (max-width: 768px) {
    .nav1, .nav2 {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
    }

    .nav2 button {
        font-size: 1.5vh; /* Adjust font size for smaller screens */
    }

    .content h1 {
        font-size: 4vh;
    }

    .content p {
        font-size: 1.6vh;
    }

    .url-text {
        width: 80%;
    }

    .shortBtn {
        flex-direction: column; /* Stack buttons vertically */
    }

    .btnLink, .btnLink1 {
        width: 100%; /* Make buttons full width */
        text-align: center; /* Center text inside buttons */
    }
}

@media only screen and (max-width: 480px) {
    .nav1, .nav2 {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
    }

    .nav2 button {
        font-size: 1.3vh; /* Adjust font size for smaller screens */
    }

    .content h1 {
        font-size: 3.5vh;
    }

    .content p {
        font-size: 1.4vh;
    }

    .url-text {
        width: 85%;
    }

    .shortBtn {
        flex-direction: column; /* Stack buttons vertically */
    }

    .btnLink, .btnLink1 {
        width: 100%; /* Make buttons full width */
        text-align: center; /* Center text inside buttons */
    }
}

