* {
    padding: 0;
    margin: 0;
}

:root {
    --white: #fff;
    --cerulean: #56b8e3;
    --blue: #00327a;
    --navy: #00295b;
    --red: #d10b29;
    --font-body-family: "Rubik", sans-serif;
    --rubik: "Rubik", sans-serif;
    --font-heading-family: "Libre Baskerville", serif;
    --baskerville: "Libre Baskerville", serif; 
  }

body {
    font-family: var(--font-body-family);
    overflow-x: hidden;
}

body>section>div {
    max-width: 1260px;
    margin: auto;
    padding-inline: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-family);
    font-weight: 600;
}

h1 {
    font-size: 50px;
    line-height: 55px;
}

h2 {
    font-size: 40px;
    line-height: 45px;
}

p {
    font-size: 15px;
    line-height: 24px;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 1000;
    width: 100vw;
    padding-top: 35px;
}

#header>div {
    max-width: 1260px;
    margin: auto;
}

#header ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    column-gap: 15px;
}

#header ul li {
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 17px;
}

#header ul li a {
    background-color: var(--blue);
    color: white;
    padding: 18px 36px;
    border-radius: 25px;
    text-decoration: none;
}

.hidden {
    display: none;
}

footer {
    background-color: var(--navy);
    color: white;
    height: 308px;
    font-size: 20px;
    font-weight: bold;
}

footer .col-container {
    height: 100%;
}

footer .col-right {
    column-gap: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

footer {
    padding-inline: 15px;
}


/* COL SYSTEM */
.col-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.col-33 {
    width: 33.33%;
}

.col-40 {
     width: 40%;
}

.col-50 {
    width: 50%;
}

.col-60 {
    width: 60%;
}


.col-100 {
    width: 100%;
}

/* tooltip */


.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  

/* animations */

.grow { 
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 2s;
    -moz-transition-property: -moz-transform background-color;
    -moz-transition-duration: 2s;
    -webkit-animation-name: grow;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: grow;
    -moz-animation-duration: 5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes grow {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* RESPONSIVE */


@media (max-width: 810px) { 
    #header ul {
        padding-inline: 15px;
    }

    .col-33, .col-40, .col-50, .col-60, .col-100 {
        width: 100%;
    }

    .col-container {
        flex-direction: column;
        row-gap: 20px;
    }
    
    h1 {
        font-size: 35px;
        line-height: 45px;
    }

    h2 {
        font-size: 25px;
        line-height: 35px;
    }

    footer .col-left {
        text-align: center;
    }

}


@media (max-width: 430px) { 

    #header ul li a {
        background-color: var(--blue);
        color: white;
        padding: 10px 16px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 15px;
    }

}