:root {
    --main: #0090a6;
    --secondary: #393939;
    /*--contrast: #fdfdfb;*/
    --contrast: #ffffff;
}


* {
    overflow-x: hidden;
}




@media screen and (orientation:landscape) and (max-width: 45cm) {
    html {
      font-size: 14px; /* Default root font size */
    }
  }
  
  @media screen and (orientation:landscape) and (max-width: 43cm) {
    html {
      font-size: 13px; /* Default root font size */
    }
  }
  
  
  @media screen and (orientation:landscape) and (max-width: 41cm) {
    html {
      font-size: 13px; /* Default root font size */
    }
  }
  
  
  @media screen and (orientation:landscape) and (max-width: 38cm) {
    html {
      font-size: 11.5px; /* Default root font size */
    }
  }
  
  
  @media screen and (orientation:landscape) and (max-width: 33cm) {
    html {
      font-size: 10px; /* Default root font size */
    }
  }
  
  @media screen and (orientation:landscape) and (max-width: 29cm) {
    html {
      font-size: 9px; /* Default root font size */
    }
  }

  
  @media screen and (orientation:landscape) and (max-width: 700px) {
    html {
      font-size: 8px; /* Default root font size */
    }
  }

  @media screen and (orientation:landscape) and (max-width: 600px) {
    html {
      font-size: 7px; /* Default root font size */
    }
  }



  @media screen and (orientation:landscape) and (max-width: 500px) {
    html {
      font-size: 6px; /* Default root font size */
    }
  }


  @media screen and (orientation:landscape) and (max-width: 400px) {
    html {
      font-size: 5px; /* Default root font size */
    }
  }



  @media screen and (orientation:landscape) and (max-width: 300px) {
    html {
      font-size: 4px; /* Default root font size */
    }
  }

  
  @media screen and (orientation:landscape) and (max-width: 200px) {
    html {
      font-size: 3px; /* Default root font size */
    }
  }











 


  @media screen and (orientation:portrait) and (max-width: 300px) {
    html {
      font-size: 8px; /* Default root font size */
    }
  }

  
  @media screen and (orientation:portrait) and (max-width: 200px) {
    html {
      font-size: 6px; /* Default root font size */
    }
  }




html {
    scroll-behavior: smooth;
}



body {
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    color: var(--secondary);
    width: 99.5vw;
    margin: 0;
    background-color: var(--contrast);
}




body::-webkit-scrollbar {
    background-color: var(--contrast);
    width: 0.5vw;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--main);
    border-radius: 2rem;
}

main {
    margin: 0;
    margin-top: 5rem;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}





header {
    background-color: var(--contrast);
    width: 100%;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}



#header-logo {
    height: 5rem;
    overflow: hidden;
}


#header-logo img {
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    height: 4rem;

}



nav {
    width: auto;
    height: 4rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    margin-right: 1rem;
}



nav a {
    color: var(--main);
    margin: 0.5rem;
    font-size: 1.6rem;
    text-decoration: none;
    position: relative;
    display: block;
    height: fit-content;
    padding-bottom: 0.2rem;
    font-weight: bold;
}


nav a::after {
    position: absolute;

    width: 100%;
    background: var(--main);
    bottom: 0rem;
    display: block;
    content: "";
    margin-top: 1rem;
    height: 0.25rem;
    transform: scaleX(0);
    transition: 0.3s ease-in;
}










@media screen and (orientation:landscape) {
#mobile-menu {
    display: none;
}


nav a:hover::after {
    transition: 0.3s ease-in;

    transform: scaleX(1);
}


}



#iconbar {
    position: fixed;
    top: 0;
    right: 1.75rem;
    z-index: 101;
}

#iconbar a svg {
    fill: var(--main);
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.3rem 0.25rem;
    transition: 0.5s ease-in-out;
}


#iconbar a img {
    width: 1.5rem;
    height: 1.5rem;
    transition: 0.5s ease-in-out;
    margin: 0.3rem 0.25rem;

}


#iconbar a img:hover {
    transition: 0.5s ease-in-out;
    filter: opacity(0.5);

}



#iconbar a svg:hover {
    transition: 0.5s ease-in-out;
    fill: var(--secondary);
}



@media screen and (orientation:portrait) {


    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 5rem;
    
    }
    
    
    #header-logo {
        color: var(--white);
        font-size: 1.5rem;
        font-weight: bold;
        text-decoration: none;
        display: flex;
        align-items: center;
    }
    
    
    #header-logo img {
        height: 4rem;
        padding: 0.5rem;
    }
    
    
    
    
    
    nav {
        position: fixed;
        margin: 0;
        top: 5rem;
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        background-color: var(--contrast);
        height: auto;
    }
    
    
    
    nav a {
        color: var(--main);
        text-decoration: none;
        margin: 1rem;
        font-weight: bold;
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    




    #mobile-menu svg {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
        fill: var(--main);
    }

    #close {
        display: none;
    }


    #iconbar {
        position: fixed;
        top: 4.5rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        z-index: 101;

    }
    
    #iconbar a svg {
        fill: var(--white);
        width: 1.5rem;
        height: 1.5rem;
        margin: 0.3rem 0.25rem;
    }


    

    .menu-inactive {
        transform: scaleY(0);
        transition: 0.5s;
    }

    #iconbar {
        transform-origin: top;
    }

    .menu-active {
        transition: 0.5s;
        transform: scaleY(1);
    }

    nav.menu-inactive {
        transform: scale(0);
    }


    nav.menu-active {
        transform: scale(1);
    }

    nav {
        transform-origin: top right;

    }
    
}





footer {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    background-color: var(--secondary);
    color: var(--contrast);
    padding-bottom: 2rem;
    font-size: 1.2rem;
    padding-top: 0.5rem;
}



#footer-links {
    display: flex;
    flex-direction: column;
}



#footer-links a {
    color: var(--contrast);
    margin-top: 1rem;
    transition: 0.3s ease-in;
    text-decoration: none;
}


#footer-links a svg {
    fill: var(--contrast);
    margin-right: 0.3rem;
    width: 1.3rem;
    transition: 0.3s ease-in;
    transform: translateY(0.1rem);
}




#footer-links a:hover {
    transition: 0.3s ease-in;
    color: var(--main);
}


#footer-links a:hover > svg {
    fill: var(--main);
    transition: 0.3s ease-in;
}

footer div {
    margin-left: 2rem;
}






#footer-sites {
    display: flex;
    flex-direction: column;
}




#footer-sites a {
    color: var(--contrast);
    margin-top: 1rem;
    transition: 0.3s ease-in;
    text-decoration: none;

}


#footer-sites a:hover {
    transition: 0.3s ease-in;
    color: var(--main);
}




#footer-info {
    font-size: 1rem;
}

#footer-info a {
    color: var(--contrast);
    margin-top: 1rem;
    transition: 0.3s ease-in;
    text-decoration: none;
}




#footer-info a:hover {
    transition: 0.3s ease-in;
    color: var(--main);
}





@media screen and (orientation:portrait) {
    footer {
        display: flex;
        flex-direction: column;
    }


    footer div {
        margin-top: 1.5rem;
    }


}







#upicon svg {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: var(--main);
    z-index: 100;
    margin: 2rem;
    width: 1.7rem;
    height: 1.7rem;
    padding: 0.8rem;
    fill: var(--contrast);
    border-radius: 100%;
}


#upicon {
    transition: 0.3s ease-in-out;

}




