/* ==========TYPOGRAPHY AND FONTS========== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow&display=swap');

/* ==========CSS VARIABLES========== */

/* Primary */
:root{
    --primary-blue: #4174f6;
    --primary-bg:#fff;
    --primary-text:#212121;
}
/* ==========DEFAULT MASTER========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
    scroll-behavior: smooth;
}

html {
    background-color: white;
}


/* ==========NAVBAR========== */

.logo {
    font-size: 20px;
    color: var(--primary-blue);
}

nav {
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: var(--primary-bg);
    box-shadow: 0 0 5px var(--primary-blue);
}

nav i {
    color: var(--primary-blue);
    margin: 20px;
    font-size: 20px;
    cursor: pointer;
}

nav ul li i{
    height: 100%;
    color: white;
    margin: 5px;
    margin-right: 10px;
}

nav ul {
    display: none;
}

nav li {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px;

}
nav li a{
    text-decoration: none;
    color: white;
}

/* ==========PROGRESS BAR========== */
#progressBarContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: gray;
    z-index: 1000;
}

/* Progress bar styles */
#progressBar {
    height: 100%;
    background-color: #4174f6;
    /* Change this color to your desired progress bar color */
    width: 0;
}


/* ==================FOOTER====================== */
footer {
    background-color: #333;
    color: white;
}


.upperfooter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 40px;
}

.social-links .link {
    border-radius: 10px;
    background-color: white;
    height: 40px;
    padding: 10px;
    margin-inline: 3px;
    transition: all .5s;
}

.social-links .linkedin-link:hover {
    background-color: #0e76a8;
}

.social-links .instagram-link:hover {
    background-color: #dd1497;
}

.social-links .twitter-link:hover {
    background-color: #14ACDD;
}

.address {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
}

.footer-links {
    width: 45%;
}
footer a,
footer a:hover{
    text-decoration: none;
    color: white;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links ul li {
    list-style: none;
}

.footer-links h3 {
    margin-bottom: 25px;
}

.bottomfooter {
    background-color: #212121;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    align-items: center;
}

@media (max-width:700px) {
    .upperfooter {
        flex-direction: column;
    }

    .address {
        width: 100%;
    }

    .footer-links {
        width: 100%;
    }
}

/* ==========REVEAL ANIMATION========== */

/* .reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  } */

  /* ==========TOGGLE========== */
.switch {
    font-size: 17px;
    position: absolute;
    display: inline-block;
    width: 64px;
    height: 34px;
    top: 10px;
    right: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #73C0FC;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 20px;
    left: 2px;
    bottom: 2px;
    z-index: 2;
    background-color: #e8e8e8;
    transition: .4s;
}

.sun svg {
    position: absolute;
    top: 6px;
    left: 36px;
    z-index: 1;
    width: 24px;
    height: 24px;
}

.moon svg {
    fill: #73C0FC;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
    width: 24px;
    height: 24px;
}

/* .switch:hover */
.sun svg {
    animation: rotate 15s linear infinite;
}

@keyframes rotate {

    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* .switch:hover */
.moon svg {
    animation: tilt 5s linear infinite;
}

@keyframes tilt {

    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.input:checked+.slider {
    background-color: #183153;
}

.input:focus+.slider {
    box-shadow: 0 0 1px #183153;
}

.input:checked+.slider:before {
    transform: translateX(30px);
}
