@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #334155;
}

:root {
    --primary-color: #0ea5e9;
}

body {
    font-family: 'Lato', sans-serif;
    scroll-behavior: smooth;
}

nav {
    
    margin: auto;
    height: 70px;
    width: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.navigation {
    text-align: right;
}

.navigation li {
    display: inline;
    list-style: none;
    padding: 0 2rem;
}


.hero {
    padding: 2rem;
    padding-left: 10%;
    margin-top: 4%;
    height: 55vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.hero .hero-heading {
    font-size: 4.5em;
}

.hero p {
    font-size: 1.4rem;
}


.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 4rem 0rem;
    width: 80%;
    border-radius: 6px;
    margin: auto;
    margin-bottom: 5%;
    box-shadow: 4px 4px 20px rgba(16, 16, 16, 0.5);
}

.project-description{
    width: 60%;
    text-align: center;
    font-size: 18px;
    line-height: 1.5em;
}

.project-links{
    margin-top: 25px;
}

.project-links a{
   text-decoration: none;
   padding: 12px 14px;
   border-radius: 5px;
   font-weight: 800;
   margin: 5px;
   transition: all 0.5s ease-out;
}


.project-links a:first-child{
    background-color: var(--primary-color);
    color: #fff;
}

.project-links a:nth-child(2){
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(16, 16, 16, 0.5);
}

.project-links :first-child:hover{
    background: #33c2ff;
}

.project-links a:nth-child(2):hover{
    color: #33c2ff;
}

.btn{
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    padding: 12px 16px;
    cursor: pointer;
}


.btn a{
    text-decoration: none;
    color: white;
    font-weight: 700;
}


.section-heading {
    font-weight: 600;
    position: relative;
    margin: 4% auto 8%;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    transform: translate(50%, 50%);
    background-color: var(--primary-color);
    height: 5px;
    width: 50%;

}

.links-container {
    margin-top: 3%;
    margin-bottom: 5%;
    display: flex;
}

.links-container div:nth-child(-n+2):after {
    content: "||";
    margin: 30px;
}

.contact-section {
    height: 70vh;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}


/* Utility Classes */

.link {
    text-decoration: none;
    color: #1f2937;
    position: relative;
    font-size: 1.1rem;
}

.link::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    background-color: var(--primary-color);
    width: 0%;
    height: 5px;
    transition: all 0.5s ease-in-out;
}

.link:hover {
    color: #64748b;
}

.link:hover::after {
    width: 100%;
}

.link-primary {
    background-color: var(--primary-color);
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 10px auto;
    width: 130px;
    border-radius: 8px;
}

.link-secondary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 10px auto;
    width: 130px;
    border-radius: 8px;
}


.text-theme {
    color: var(--primary-color);
}

.text-gray {
    color: gray;
}

.offWhite {
    background-color: #f3f4f6;
}