* {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: "Beau Rivage", cursive;
}
body {
    display: block;
   justify-content: center;
   align-items: center;
   
    width: 100%;
    height: 100vh;
    background: #000;
    
}

.nav {
    margin: 5px;
    justify-content: center;
    align-items: center;

    background: #000;
}
.nav a {
    list-style: none;
    text-decoration: none;
    color: #fff;
}

button {
    position: relative;
    padding: 10px 20px ;
    border-radius: 7px;
    border: 1px solid rgb(45, 13, 13);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    
}
button:hover {

    box-shadow: 0 0 30PX 5PX rgba(237, 238, 239, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    cursor: pointer;
}
button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}
button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-30deg);
    -moz-transform: skewX(-30deg);
    -ms-transform: skewX(-30deg);
    -o-transform: skewX(-30deg);
    transform: skewX(-30deg);
}
@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: 0;
        left: 100%;
    }
}
button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}

.nav .icon {
    display: none;
}



@media screen and (max-width: 600px) {
    .nav button:not(:first-child) {display: none;}
    .nav button.icon {
        float: right;
        display: block;
    }  
    .nav a.icon {
        float: right;
      margin: 10px;
        display: block;
    }
   
}
 @media screen and (max-width: 600px) {
    .nav.responsive {position: relative;}
    .nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .nav.responsive button {
        float: none;
        display: block;
        text-align: left;
    }
 }

body .projects {
    margin: auto;
   margin-top: 20px;
   font-size: 30px;
    
    padding: 10px;
    display: block;
   height: 100%;
   width: 75%;
   text-align: center;
   border:black solid 2px;
   color: #fff;
   background: #000;
  
}

.cont {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    padding: 10px;  
    grid-gap: 5px;
  
}
.cont div {
   
    padding: 20px;
    font-size: 30px;
    text-align: center;
    border: 2px solid black;
}


.cont div:hover {
    box-shadow: 0 0 30PX 5PX rgba(237, 238, 239, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    cursor: pointer;
    border: 2px solid yellow;
}

.projects {
    box-shadow: 0 0 30PX 5PX rgba(237, 238, 239, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

@media screen and (max-width:1024px) {
    .cont {
        display: flex;
        flex-wrap: wrap;
        padding: 5px;
  
    }
}



