* {
    padding: 0;
    border: 0;
    margin: 0;
    font-family: "Coral Pixels", serif;
  font-weight: 400;
  font-style: normal;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.hero {
background: white;
display: flex;
justify-content: center;
align-items: center;
}

main {
padding-top: 75px;
}

.portrait {
    width: 20vw;
    margin-top: 15px;
    -webkit-user-drag: none;  /* Chrome, Edge, Opera */
    user-select: none;    /* optional: also prevents text selection */
    pointer-events: none; /* optional: prevents clicking/dragging entirely */
}

.bern {
    height: 80vh;
    position: absolute;
    filter: opacity(0.04);
    -webkit-user-drag: none;  /* Chrome, Edge, Opera */
    user-select: none;    /* optional: also prevents text selection */
    pointer-events: none; /* optional: prevents clicking/dragging entirely */
}

.scale-in {
  transform: scale(0);
  animation: scaleUp 3s ease forwards;
}

@keyframes scaleUp {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.cc {
    width: 105vw;
    position: absolute;
    filter: opacity(1);
    margin-bottom: 80px;
    -webkit-user-drag: none;  /* Chrome, Edge, Opera */
    user-select: none;    /* optional: also prevents text selection */
    pointer-events: none; /* optional: prevents clicking/dragging entirely */
}

.fade-in {
  opacity: 0;
  animation: fadeIn 3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.welcome {
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.button {
    color: black;
    border: lightgrey 2px solid;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 25px;
}

.button:hover {
    border: black 2px solid;
}

.secondary {
    filter: opacity(0.5);
}

.projects {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

h1 {
    color: blacks;
    border-top: 0.5px rgba(0, 0, 0, 0.2) solid;
	width: 100%;
    padding-top: 15px;
    display: flex;
    justify-content: center;
	font-size: 30px;
}

.margin {
    margin: 0 5vw;
}

.projects-row {
    display: flex;
    flex-direction: row;
    margin-top: 5vw;
}

.project {
    display: flex;
    flex-direction: column;
    width: 25vw;
	box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.project {
    transition: 0.5s;
    cursor: pointer;
}

.project:hover{
    transform: scale(0.98);
}

a {
    text-decoration: none;
}

.project h2 {
    color: white;
    margin-top: 10px;
    font-size: 20px;
}

header {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: white;
    width: 100%;
    z-index: 200;
    border-bottom: 0.5px rgba(0, 0, 0, 0.2) solid;
}

.logo {
    height: 45px;
}

.contact {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.contact-buttons {
    width: 25vw;
}

@media (max-width: 768px) {
  
    .projects-row {
        flex-direction: column;
		margin: 0;
    }

    .margin {
        margin: 0;
    }
	
	 .project {
        width: 90vw;
        margin-bottom: 50px;
    }

    h1 {
        width: 100%;
        font-size:35px;
        padding-bottom: 10px;
		margin-bottom: 25px
    }

    .contact-buttons {
        width: 90vw;
    }

    .portrait {
        width: 90vw;
        height: auto;
		object-fit: cover;
    }

    .welcome {
        width: 90vw;
    }
    .bern {
        display: none;
    }

    .cc {
        display: none;
    }

    .header {
        width: 100%;
        height: 50px;
    }

    .logo {
        height: 45px;
    }
	
	main {
		padding-top: 55px;
	}
	
	.projects {
		    padding-bottom: 0;
	}
	
	.contact {
		    padding-top: 0;
	}

}