@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");

*{
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 800px) {
    nav > ul > li > a{
        font-size: 1vmax;
        padding: 1vmin 1vmin;
        box-shadow: inset 0 0 4px rgb(0, 0, 0);
    }
    .header > nav{
        top: 2px;
        right: 30px;
    }
    
    .header{
        height: 10vmax;
        width: 100%;
    }
    
    .grid-container1>article>figure>.border{
        width:0px;
        border: 0px;
    }
    figcaption{
        font-size: 2vmax;
    }
}
body{
    background-color: #eee9e9;
}

.grid-container1{
    width:80%;
    display:grid;
    justify-content: center;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: repeat(2, auto);
    padding: 10px;
    margin: 10px;
    gap: 5vw;
}

.grid-container2{
    position:absolute;
    left: 5%;
    display:grid;
    gap: 5vw;
    grid-template-columns: 40% 40%;
    grid-template-rows: repeat(1, auto);
    row-gap:0px;
}

.grid-container3{
    justify-content: center;
    display:grid;
    gap: 50px;
    grid-template-columns: 90%;
    grid-template-rows: repeat(3, auto);
}

.header {
    font-stretch: expanded;
    display:flex;
    color: white;
    background-image: linear-gradient(45deg, #b44b50 , #743336);
}

h1{
    font-weight: 200;
    position: relative;
    left: 2vw;
    text-shadow: 1px 1px black;
    font-size: 4vmax;
    font-stretch: extra-expanded;
}

h2{
    font-size: 3vmax;
    font-weight: 300;
    font-stretch: expanded;
    padding: 10px;
}

h3{
    font-weight: 600;
    font-size: 3vh;
}

p, li{
    font-weight: 500;
    font-size: 1.25vmax;
}

nav{
    display: inline-block;
    position:absolute;
    right: 1vw;
    align-self: flex-end;
}

nav > ul {
    display:flex;
    justify-content: center;
    gap: 1vw;
    list-style-type:none;
}

.border {
    width:20vmax;
    border: 4px solid #000000;
    border-radius: 100vh;
    animation: fadeInLeft 2s;
}

@keyframes slam
{
  0%
  {
    transform: scale(10, 10);
    opacity: 0;
  }
  
  40%
  {
    opacity: 0;
  }
  
  100%
  {
    transform: scale(1, 1);
    opacity: 1;
  }
}

.three-d{
    background-color: #eee9e9;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    border-radius: 2vh;
    width: 100%;
    margin: 4vh;
    padding: 1vw;
}

.slam{
    animation: slam 2s;
}

#carousel{
    display:block;
    position: relative;
    top: 4vh;
    --container-size: 1000px;
   --button-size: 2vmax;
   --button-color: #242222;
    border-radius: 2vh;
    animation: fadeInUp 4s;
}

@keyframes fadeInLeft{
    0%{
        opacity:0;
    }
    50%{
        transform: translateX(-5vw);
        opacity:0;
    }
    100%{
        opacity:1
    }
}

.right{
    animation: fadeInRight 2s;
}

@keyframes fadeInRight{
    0%{
        opacity:0;
    }
    50%{
        transform: translateX(5vw);
        opacity:0;
    }
    100%{
        opacity:1
    }
}

@keyframes fadeInUp{
    0%{
        opacity:0;
    }
    50%{
        transform: translateY(2vh);
        opacity: 0;
    }
    100%{
        opacity:1
    }
}

figure > img{
    width: 100%;
}

li > a{
	transition-duration:.5s;
	background-color: #eee9e9;
	color: black;
    padding: 1vmin 3vmin;
	text-decoration: none;
	text-align: center;
	display: inline-block;
    font-weight: 300;
	font-size: 1vw;
    box-shadow: inset 0 0 10px rgb(0, 0, 0);
    border-radius: 1vh;
  }

 li > a:hover{
    padding: 1vmin 3vmax;
  }

.projects{
    font-weight: 600;
    font-size: 2vmax;
}

input, textarea{
    width: 50vw; 
    height: 5vh;
}

.project_imgs{
    border-radius: 10px;
    position:relative;
}

span>a{
    position: relative;
    left: 30px;
    
}