@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500&display=swap');

:root {
    --green: #004551;
    --light-green: #92AEB2;
    --yellow: #FFC000;
    --grey: #EFEFEF;
    --white: #ffffff;
    --black: #000000;

    --main-font: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

.divider {
    overflow-x: hidden;
}

 /* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

#section8 > div{
    display: flex;
    text-align: justify;
    
    flex-direction: column;
    align-items: center;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
    
    position: relative;
    width: 70%;
    /*height: 60vh;*/
}

#section8 h2{
    text-transform: uppercase;
    text-align: center;
    /*height: 10vh;*/
}

#protect{
    position: relative;
    width: 80%;
    height: 30vh;
    margin: auto;
    /**font-size: 25px;**/
/**
    padding: 10rem;
    padding-left: 10rem;
    position: relative;**/
}

/* p {
    color: #808080;
} */

h1{
    font-size: 40px;
}

h2 {
    font-size: 35px;
}

h3{
    font-size: 25px;
}

/* ---- Scrollbar ---- */

body::-webkit-scrollbar {
    width: 15px;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: #ffffff;        /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: #004551;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 3px solid #ffffff;  /* creates padding around scroll thumb */
}

/* ---- NAV ---- */

.menu_icon{
    width: 35px;
    height: 30px;
    margin: 10px 10px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    display: none;
}
.menu_icon span{
    background-color: #000000;
    position: absolute;
    border-radius: 2px;
    transition: .3s cubic-bezier(.8, .5, .2, 1.4);
    width:100%;
    height: 4px;
}

.menu_icon.open span{
    background-color: #004551;
    border-radius: 2px;
    transition: .3s cubic-bezier(.8, .5, .2, 1.4);
    width: 100%;
    height: 4px;
}
.menu_icon span:nth-child(1){
    top:0px;
    left: 0px;
}
.menu_icon span:nth-child(2){
    top:13px;
    left: 0px;
}
.menu_icon span:nth-child(3){
    bottom:0px;
    left: 0px;
}
.menu_icon:not(.open):hover span:nth-child(1){
    transform: scaleX(.8);
}
.menu_icon:not(.open):hover span:nth-child(2){
    transform: scaleX(.5);
}
.menu_icon:not(.open):hover span:nth-child(3){
    transform: scaleX(.8);
}
.menu_icon.open span:nth-child(1){
    top: 13px;
}
.menu_icon.open span:nth-child(2){
    top:13px;
}
.menu_icon.open span:nth-child(3){
    top: 13px;
}
  

nav { 
	width: 90%;
    margin: 1rem auto; 
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav > a{
    display: flex;
    align-items: center;
    max-width: 100px;
}

nav > a img{
    width: 40%;
    margin: .5rem;
}

nav > a h2{
    text-transform: uppercase;
    color: #004551;
    font-size: 40px;
    display: flex;
    align-items: flex-end;
}

nav > a h2 span{
    text-transform: lowercase;
    color: #004551;
    font-size: 20px;
    margin-bottom: .5rem;
    margin-left: .2rem;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .1rem;
    color: #000000;
    cursor: pointer;
}

nav a span {
    color: #FFC000;
    font-size: 20px;
}

nav ul { 
	list-style-type: none;
    width: max-content;
	padding: 0 0.5rem;
	overflow: visible;
    margin: 0;
}

nav ul > li {
	display: inline-block;
	margin: 0;
	padding-left: 1.5rem;
	position: relative;
}

nav ul > li > ul { 
	display: none; 
	width: auto;
	position: absolute;
	list-style-type: none;
	padding: 1rem 0;
	background-color: #FFC000;
	z-index: 2;
}

nav ul > li > ul > li { 
    white-space: nowrap; 
	padding: .5rem 1rem;
} 
nav ul > li > ul > li:hover{
    width: 80.5%; /* MENU cursor */
	cursor: pointer;
    background-color: #ffffff;
}
nav > ul > li > a:hover{
	color: #FFC000;
}

/* ---- Footer ---- */

footer {
    background-color: #004551;
    color: #ffffff;
    padding: 3rem 5rem;
    position: relative;
}

.footer_graphics{
    position: absolute;
    width: 10%;
    top: -10%;
    left: 20%;
}

footer > div:nth-child(1) > a{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
footer > div:nth-child(1) > a h2{
    font-size: 40px;
    color: #ffffff;
    text-decoration: none;
}
footer > div:nth-child(1) > a h2 span{
    text-transform: uppercase;
}
footer > div img{
    filter: brightness(0) invert(1);
    width: 5%;
    margin-right: .5rem;
}

footer > section{
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
}

footer > section > div{
    display: flex;
    flex-direction: column;
    
}

footer > section > div:nth-child(2){
    align-items: center;
}

footer > section a, #creator_link{
    color: #ffffff;
    text-decoration: none;
}
footer > section a:hover, #creator_link:hover{
    color: #FFC000;
}

footer > div{
    width: 90%;
    margin: 5rem auto 0 auto;
    text-align: center;
}


/* ---- BTN ---- */

.btn{
    padding: .5rem .7rem;
    background-color: #FFC000;
    border: none;
    color: #000000;
    width: max-content;
    text-decoration: none;
    letter-spacing: .1rem;
}
.btn:hover{
    color: #ffffff;
}

.width{
    width: 90%;
    margin: auto;
}

.text_left{
    text-align: left;
}

.text_right{
    text-align: right;
}

.off{
    display: none;
}

.on{
    display: grid;
}

.angle {
    position: relative;
}
  
.angle:after {
    content: '';
    position: absolute;
}

.angle1,
.angle1:after {
    height: 80px;
    width: 100%;
}

.angle1 {
    background-color: #EFEFEF;
}
  
.angle1:after {
    background-color: #92AEB2;
    -webkit-clip-path: polygon(100% 0, 0 0, 65% 41%);
            clip-path: polygon(100% 0, 0 0, 65% 41%);
}

@media (min-width: 520px) {
    .angle1,
    .angle1:after {
      height: 120px;
    }
  }
  
  @media (min-width: 900px) {
    .angle1,
    .angle1:after {
      height: 160px;
    }
  }

.angle3,
.angle3:after {
    z-index: -1;
    margin-top: -0.3px;
    height: 35px;
    width: 100%;
}

@media (min-width: 600px) {
  .angle3,
  .angle3:after {
    height: 55px;
  }
}

@media (min-width: 900px) {
  .angle3,
  .angle3:after {
    height: 75px;
  }
}

.angle3 {
  background-color: #ffffff;
}

.angle3:after {
  background-color: #004551;
  -webkit-clip-path: polygon(0 0, 100% 0, 25% 100%);
          clip-path: polygon(0 0, 100% 0, 25% 100%);
}


/* The Modal (background) */
.modal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #FFC000;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: .1rem;
    margin: 5rem auto; /* 15% from the top and centered */
    padding: 3rem;
    width: 40%;
    position: relative;
    text-align: center;
    animation: animatetop 1s ease-in-out;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 5%;
    right: 2%;
    color: #EFEFEF;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
  }

  @keyframes animatetop {
    from {top: -100px; opacity: 0}
    to {top: 0; opacity: 1}
  }


@media screen and (max-width: 1100px){
    .menu_icon{
        display: inline-block;
        z-index: 100;
    }
    .menu_icon.open{   
        position: fixed;
        right: 2.7rem;
    }

    nav a {
        text-decoration: none;
        font-size: 14px;
        letter-spacing: .1rem;
        font-weight: bold;
        color: #004551;
    }
    nav a span {
        display: none;
    }

    nav > ul{
        position: fixed;
        right: 0;
        top: 0;

        height: 100vh;
        padding: 7rem 2rem 0 1rem;

        display: flex;
        flex-direction: column;

        background-color: #8EBBC0;
        z-index: 99;
        
        box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.127);
    }

    .open_nav{
        display: none;
    }

    nav ul > li {
        margin: .6rem 0;
    }
    nav .navContactBtn {
        font-weight: 400;
        margin-top: 2rem;
    }
    nav ul > li > ul > li{
        margin: 0;
    }
    nav ul > li > ul > li a{
        color: #000000;
    }
}

@media screen and (max-width: 845px){
    footer {
        padding: 1rem 3rem;
    }
    
    .footer_graphics{
        position: absolute;
        width: 15%;
        top: -10%;
        left: 20%;
    }
    
    footer > div:nth-child(1){
        width: 100%;
    }
    
    footer > section{
        grid-template-columns: 1fr;
    }
    
    footer > section > div{
        display: flex;
        flex-direction: column;
        margin: 1rem 0;
        align-items: center;
    }
    
    footer > div{
        width: 90%;
        margin: 5rem auto 0 auto;
        text-align: center;
    }
}

@media screen and (max-width: 550px){
    footer {
        padding: 1rem;
        padding-bottom: 2rem;
    }
    footer > div:nth-child(1) {
        margin-top: 1rem;
    }
    footer > div:nth-child(1) a h2{
        font-size: 30px;
    }
    footer > div:nth-child(1) h2 span{
        text-transform: uppercase;
    }
    footer > div img{
        width: 10%;
    }
}

@media screen and (max-width: 365px){
    footer > div:nth-child(1){
        flex-direction: column;
    }
    footer > div img{
        filter: brightness(0) invert(1);
        width: 20%;
        margin-bottom: .5rem;
    }
}