@charset "utf-8";

@font-face {
	font-family: 'Cascadia Mono SemiBold'; src: url("CascadiaCode-Bold.otf");
}

@font-face{
	font-family: 'Univers LT Std 73 Black Ext'; src: url("UniversLTStd-BlackEx.otf");
}

@font-face{
		font-family:"Univers LT Std 55"; src: url("UniversLTStd.otf");
}

.navi{
	display: flex;
	justify-content: space-evenly;
}



.navi a:link{
	color: #A91E3B;
	font-family: "Univers LT Std 73 Black Ext";
	text-decoration: none;
}

.navi a:hover {
    text-decoration: underline;
}

html{
	max-width: 80%;
	margin: auto;
	background: #191919;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: "Univers LT Std 55";
}

h3 {
	font-family: "Univers LT Std 73 Black Ext";
	color: #A91E3B;
}

h1{
	font-family: "Cascadia Mono SemiBold";
	font-size: 97px;
}

.star{
	position: absolute;
	top: -5px;
}

.hllwrld{
	display: flex;
	position: absolute;
	bottom: 20px;
	left: 15px;
	padding-left: 17%;
	animation: slide-in 3s ease-out forwards;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.picture{
	display: flex;
	width: 60%;
	padding-left: 10%;	
	padding-right: 50px;
}

.container1{
	display: flex;
	background-color:#262626;
	max-height: 400px;
	color: #EAEAEA;
	justify-content: space-evenly;
	padding-bottom: 75px;
	padding-top: 100px;
	border-radius: 5px;

}

.personalinfo{
	padding-top: 50px;
	padding-right: 10%;

}

ul{
	list-style-type: none;
	margin-left: -40px;
}

.bottom{
	background-color: #EAEAEA;
	padding-bottom: 75px;
}

.container2{
	display: flex;
	margin: auto;
	padding-left: 100px;
	padding-top: 25px;
	padding-bottom: 50px;
}

.skills{
	line-height: 50px;
}

.star{
		position: absolute;
		top: 40px;
	}

.abilities{
	padding-right: 270px;
}


.container3{
	display: flex;
	margin: auto;
	align-content: center;
	padding-left: 100px;

}

.form{
	display: flex;
	padding-top: 70px;
		
}

.software{
	padding-right: 120px;
}

.contact-form {
    margin: 0 auto;
    background-color: #333;
    padding: 120px;
    border-radius: 10px;
	max-width: 80%;
    color: #f9f9f9;
}

.contact-form h3 {

    text-align: center;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #444;
    color: #f9f9f9;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #555;
    outline: none;
}

.contact-form .buttons {
    display: flex;
    justify-content: space-between;
}

.contact-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="reset"] {
    background-color: #777;
    color: #fff;
}

.contact-form button[type="reset"]:hover {
    background-color: #888;
}

.contact-form button[type="submit"] {
    background-color: #A91E3B;
    color: #fff;
}

.contact-form button[type="submit"]:hover {
    background-color: #d94343;
}

.star2{
    position: relative;
	padding-left: 5%;
	padding-top: 50px;
	
}

@media only screen and (max-width: 768px) {
    /* Navigation */
    .navi {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .navi li {
        margin-bottom: 10px;
    }

    /* Container adjustments */
    .container1, .container2, .container3, .container4 {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Personal info section */
    .personalinfo, .abilities, .software, .Education {
        padding: 0;
    }

    .picture {
        width: 100%;
        padding: 0;
    }

    .hllwrld {
        font-size: 50px;
        left: 0;
        padding-left: 0;
        bottom: 10px;
    }

    h1 {
        font-size: 64px;
    }

    h3 {
        font-size: 20px;
    }

    .skills, .contactinfo {
        margin-left: 0;
    }

    /* Contact form */
    .contact-form {
        padding: 60px 20px;
        max-width: 90%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    /* Softpic image */
    .softpic img {
        width: 100%;
        height: auto;
    }

    .star2 {
	display: none;
    }
	
	.star{
	display: none;
	}
}