/*This is a comment, use * and / to use it! */
body {
    font-family: 'DotGothic16', sans-serif;
    
    background-image: linear-gradient(
    to right,
    #173753,
    #1b4353
    );
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.FAQ{
    text-align: center;
    font-size: 40px;
    display: none;
    justify-content: center;
}

.faq{
    padding-left: 200px;
    padding-right: 200px;
    text-align: center;
    font-size: 30px;
    display: none;
    justify-content: center;
}

::selection{
    color: black;
    background-color: white;
    /*The text will be black and the highlight will be white*/
}::-moz-selection {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

.mainTitle{
    text-align: center;
    color: white;
    padding: 20px 0;
    font-size: 14em;
    opacity: 0;
}

/*Glitch Effect*/
.glitch {
    border-radius: 20px;
    position: relative;
    color: rgb(255, 255, 255);
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: glitch 3s infinite;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-before 4s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-after 3.6s infinite linear alternate-reverse;
}/**/

/*Overall mask*/
@keyframes glitch {
    0%   { transform: none; }
    20%  { transform: skew(0.5deg); }
    40%  { transform: skew(-0.5deg); }
    60%  { transform: translate(1px, -1px); }
    80%  { transform: skew(0.3deg); }
    100% { transform: none; }
}

/*Red mask layer*/
@keyframes glitch-before {
    0%   { clip: rect(10px, 9999px, 50px, 0); }
    20%  { clip: rect(60px, 9999px, 80px, 0); }
    40%  { clip: rect(30px, 9999px, 60px, 0); }
    60%  { clip: rect(5px, 9999px, 40px, 0); }
    80%  { clip: rect(80px, 9999px, 100px, 0); }
    100% { clip: rect(20px, 9999px, 70px, 0); }
}

/*Blue mask layer*/
@keyframes glitch-after {
    0%   { clip: rect(40px, 9999px, 90px, 0); }
    20%  { clip: rect(10px, 9999px, 40px, 0); }
    40%  { clip: rect(70px, 9999px, 100px, 0); }
    60%  { clip: rect(20px, 9999px, 60px, 0); }
    80%  { clip: rect(50px, 9999px, 80px, 0); }
    100% { clip: rect(0px, 9999px, 30px, 0); }
}

/*ENd of glitch effect*/

/*Loading bar effect*/

.RSVPCount {
    width: 700px;
    height: 80px;
    background:rgb(0, 0, 0);
    border-radius: 12px;
    overflow:hidden;
    margin:auto;
    opacity: 0;
    margin-top: 70px;
    border: 2px solid #ffffff;
}

.rsvpCountDisplay {
    display: flex;
    align-items: center;
    font-size: 50px;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,#00f5e0,#58f358);
    transition: width 0.2 ease-in-out;
}

.rsvpContainer {
    text-align: center;
    margin-top: 50px;
}

.rsvpTitle {
    font-size: 2.5em;
    color: #3b82f6;
    margin-bottom: 20px;
}

/*End of Loading bar effect*/

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: #3b82f6;
}

h2 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    background-color: #2892D7;
    color: #60a5fa;
    padding: 8px 12px;
    display: inline-block;
}

p {
    margin-bottom: 15px;
}

/*Nav Bar Components*/

/*HTML switch button version*/
.SwitchHtml {
    color: #00f5e0; 
    background-color: #0b2a43;
    max-width: 30%;
    border-radius: 5px;
    overflow: hidden;
    display: block;
    padding: 0px;
    margin: auto;
    font-size: 3em;
    text-align: center;
    cursor: wait;
}.SwitchHtml:hover{
    background-color: #071c2c;
}
/*end of it*/

a {
    font-size: 2em;
    color: #fff;
    text-decoration: none;
    padding: 0px 20px;
    background-color: #2892d7;
    transition: 0.2s;
}

a:hover {
    background-color: #1d70a2;
    color: #fff;
}

ul{
    list-style-type: none;
    margin: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0;
    overflow: hidden;
    background-color: aqua;
}

li{
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navBar {
    list-style: none;
    display: inline-flex;
}

/*End of Nav bar Components*/

/*User Dropdown menu styling*/

.UserSettings{
    position: fixed;
    top: 10px;
    right: 10px;
    width: 70px;
    z-index: 2;
    font-family: 'DotGothic16', sans-serif;
    background-color: #a3a3a3;
    color: #024450;
    font-size: 12px;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}


.UserPfp img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.UserPfp {
    border: 10px;
}

.DropdownMenu{
    display: flex;
    font-size: 7px;
    flex-direction: column;
    margin-top: 2px;
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.3s ease;
}

.DropdownMenu a{
    padding: 6px;
    margin-bottom: 4px;
    cursor:pointer;
}

.UserSettings:hover .DropdownMenu{
    max-height: 100px;
}

.UserSettings:hover{
    
    background-color: #7c7c7c;
}

/*harry styles*/

/*Mobile responsive and grid layout*/
@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin-top: 10px;
        border-width: 2px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .skills {
        gap: 8px;
    }
    
    .skill-tag {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
}
