/* Navigation bar */


.wrapper{
position: fixed;
z-index: 101;
top: 0;
right: -100%;
height: 100%;
width: 100%;
background: var(--primary);
transition: all 0.6s ease-in-out;
}
#active:checked ~ .wrapper{
right:0;
}
.menu-btn{
background: var(--secondary);
position: fixed;
z-index: 1000;
right: 1.25em;
top: 1.25em;
height: 2.5em;
width: 2.5em;
text-align: center;
line-height: 2.5em;
border-radius: 50%;
font-size: 1.25rem;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.menu-btn span,
.menu-btn:before,
.menu-btn:after{
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 30%;
    width: 40%;
    border-bottom: 2px solid var(--primary);
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu-btn:before{
transform: translateY(-.5em);
}
.menu-btn:after{
transform: translateY(.5em);
}
.menu-btn:hover {
background: var(--accent);
}


.close {
    z-index: 100;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: background .6s;
}

/* closing animation */
#active:checked + .menu-btn span {
    transform: scaleX(0);
}
#active:checked + .menu-btn:before {
    transform: rotate(45deg);
    border-color: var(--primary);
}
#active:checked + .menu-btn:after {
    transform: rotate(-45deg);
    border-color: var(--primary);
}
.wrapper ul{
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh;
    position: relative;
}
.wrapper ul li{
    list-style: none; 
    text-align: center;
}
.wrapper ul li a{
    color: var(--secondary); 
    text-decoration: none; 
    font-size: 3em; 
    padding: .25em 1.25em; 
    display: inline-flex; 
    font-weight: 700; 
    transition: 0.5s;
}
.wrapper ul:hover li a { 
    color: var(--gray3); 
}
.wrapper ul li:hover a { 
    color: var(--secondary);
    background: var(--primary); 
} 
.wrapper ul li a:before { 
    content: '';
    position: absolute;
    top: 50%; 
    left: 40%; 
    transform: translate(-50%,-50%);       
    display: flex;
    justify-content: center; 
    align-items: center; 
    font-size: 5em; 
    color: var(--gray2); 
    border-radius: 50%; 
    z-index: -1; 
    opacity: 0; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 32em; 
    transition: letter-spacing 0.5s,left 0.5s; 
} 

.wrapper ul li a:hover:before { 
    content: attr(data-text); 
    opacity: 1; 
    left: 50%; 
    letter-spacing: 10px; 
    width: 1800px; 
    height: 1800px; 
} 

ul li:nth-child(6n+1) a:before { 
background: var(--secondary); 
} 

ul li:nth-child(6n+2) a:before { 
    background: var(--dark); 
} 

ul li:nth-child(6n+3) a:before { 
    background: black;
} 

ul li:nth-child(6n+4) a:before { 
    background: var(--dark); 
} 

input[type="checkbox"]{
display: none;
} 

/* --------------------------------------------------------- */
/* --------------------------------------------------------- */

/* Footer */
footer {
    padding: 1em 0;
    overflow: hidden;
}
content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.5em;
}
@media (min-width: 48em) {
    content {
        flex-direction: row;
        justify-content: space-between;
        padding: 2em var(--horizontal);
        align-items: flex-end;
        gap: 0;
    }
}
footer .cta {
    margin-right: auto;
    margin-left: auto;
}
.cta-text {
    margin-bottom: .5em;
    color: var(--primary);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .5em;
}
/* Footer links */
  
.footer-links {
    font-size: var(--fs-nav);
    color: var(--primary);
    margin: 0;
    transition: ease .25s;
}
  
.footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
    transition: ease .25s;
}

.footer-links a:before {
    content: "·";
    left: 0;
    color: var(--gray3);
    display: inline-block;
    padding-right: .5em;
}

.footer-links .link-1:before {
    content: none;
}
  
.footer-icons a {
    display: inline-block;
    color: var(--secondary);
    background-color: var(--primary);
    width: 2em;
    height: 2em;
    font-size: 1.2rem;
    border-radius: 2px;
    justify-content: center;
    line-height: 2em;
    margin-left: .25em;
    transition:all .25s;
}

@media (min-width: 62em) {
    .footer-icons a {
        font-size: 1.3em;
    }
}


  
.footer-icons a:hover{
    transform:scale(1.1); 
    -webkit-transform:scale(1.1);
}

.footer-links:hover a {
    color: var(--gray3);
}

.footer-links a:hover{
    font-weight: bold;
    color: var(--primary);
}

.copy {
    color: var(--gray3);
    text-align: center;
    margin-top: .5em;
}