*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
}
body{
    margin: 0;
    padding:0;
    font-family: 'Futura', 'Roboto', sans-serif;
    background-color: #300c55;
    background: linear-gradient(
        to bottom,
        #1b0336,
        #3b0b72,
        #5023a4,
        #3b0b72,
        #1b0336
    );
    color: #ffffff;
    /* line-height: 2; */
    text-align: center;
}

body > header {
    width: 100%;
    position: fixed;
    background-color: #3b0b72;
    height: 4.0rem;
    z-index: 10;
}

.header {
    /* width: 60.0rem; */
    width: 1600px;
    display: flex;
    justify-content: space-between;
    margin: 1.0rem auto 0 auto;
    text-align: center;
    color: white;
    font-size: 24px;
}

.menus { cursor: pointer; }
.name, .menus > span { transition: color 0.3s ease-in-out; }
.name:hover, .menus > span:hover { color: rgb(230, 166, 255); text-decoration: underline; }

main {
    /* padding-top: 5.0rem; */
    /* width: 60.0rem; */
    width: 70.0rem;
    margin: 0 auto;
    background-color: rgb(253, 253, 253);
    /* border: solid 2dvi #d2a2f2; */
    padding: 1px;
}


/* HOME SECTION */
.home-section {
    background: linear-gradient(
        to bottom,
        #5d13b2,
        #2f0858
    );
    width: 100%;
    height: 100%;
    border-top: solid 2px #e9e9e9;
    border-bottom: solid 2px #e9e9e9;
    /* display: grid; */
}

.image {
    margin-top: 20px;
    margin-left: 0px;
    padding-top: 120px;
    width: 300px;
    height: 300px;
    border: solid 2px black;
    background-color: white;
}

.home-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 50px 50px 50px;
    height: 400px;
}

.home-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* text styling */
.home-text > h2 {
    font-size: 32px;
    font-size: 36px;
    margin-top: 50px;
    margin-left: 200px;
    color: rgb(255, 255, 255);
}

.home-text > h2 > span {
    color: rgb(205, 153, 248);
}

.home-text > p {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    margin-left: 230px;
}


.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}


#pegasus {
    /* scale: 0.5; */
    height: 40px;
    width: auto;
    cursor: pointer;
}

#home-button {
    color: black;
    /* margin-left: 200px; */
    /* margin-top: 90px; */
    margin: 20px auto 0 auto;
    font-size: 18px;
    padding: 10px;
    color: black;
    border: solid 2px black;
    transition: background-color 0.3s ease-in-out;
}

#home-button:hover {
    cursor: pointer;
    background-color: rgb(55, 55, 55);
    color: white;
    border-color: white;
}


/* PORFOLIO / PROJECTS */

.projects-h1 {
    font-size: 36px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    padding: 20px 0 20px 0;
}

.portfolio-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    /* margin-left: 40px; */
    padding: 0 40px;
}

.project-card {
    width: 30.0%;
    background-color: #d9c3ff;
    min-height: 10.0rem;
    margin-bottom: 2.0rem;
    border: 3px solid rgb(42, 0, 66);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    color: rgb(46, 0, 67);
}

.project-card:hover {
    cursor: pointer;
    transform: scale(1.03);
    background-color: #a364d0;
}

.project-card img {
    width: 100%;
}

.project-1, .project-2, .project-3, .project-4, .project-5, .project-6, .project-7, .project-8, .project-9  {
    background-color: #d7c0f8;
    /* height: 60.0rem; */
}

.project-1 > h2, .project-2 > h2, .project-3 > h2, .project-4 > h2, .project-5 > h2, .project-6 > h2, .project-7 > h2, .project-8 > h2, .project-9 > h2 {
    padding-top: 25px;
    /* margin-top: 60px; */
    font-size: 24px;
    color: #300c55;
}

.hideAll, .response-container {
    display: none;
}

.project-images {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.project-images img {
    max-width: 400px;
    /* max-height: 500px; */
    width: 100%;
    height: auto;
    border: 2px solid #26003f;
}

.project-text {
    margin-top: 20px;
    color: #300c55;
    font-size: 18px;
}


.pointer {
    cursor: pointer;
}

#portfolio, #contactMe, #skills, #aboutMe {
    scroll-margin-top: 6.0rem;
}

#skills, #aboutMe {
    /* height: 20.0rem;
    padding-top: 50px; */
    padding: 60px;
}

#skills > h1, #aboutMe > h1, #contactMe {
    font-size: 32px;
    font-weight: 600;
    color: rgb(51, 3, 83);
    padding-bottom: 20px;
}

#skills li {
  margin: 20px 0;
}

/* CONTACT */
#contact-form {
    padding-top: 20px;
    max-width:500px;
	width:100%;
	margin:0 auto;
	/* position:relative; */
    padding-bottom: 20px;
    color: black;
}

.form-container {
    padding: 20px 0 20px 0;
    background-color: rgb(217, 195, 255);
    border: solid 2px #320058;
}

#send-button{
    background-color: rgb(65, 0, 103);
    color: white;
    font-size: 22px;
    border-color: white;
    padding: 10px;
    transition: background-color 0.3s ease-in-out;
}

#send-button:hover {
    background-color: #7300bb;
    color: white;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}

form > p > label {
    font-size: 18px;
    /* text-align: left; */
    margin-bottom: 10px;
}

form > p > input {
    width: 90%;
	border: 2px solid #490068;
	background:#FFF;
	/* margin:0 0 5px; */
    margin: 10px 0 10px 0;
	padding:15px;
}

form > p > textarea {
    width: 90%;
	border: 2px solid #686868;
	background:#FFF;
    margin-top: 10px;
	padding:10px;
    font-family: 'Arial', sans-serif;
}


/* SKILLS */

/* #skills {
    padding: 60px;
} */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: #370e60; 
    border: solid 2px white; 
    border-radius: 8px;
    padding: 50px;
    color: #fff;
    transition: 0.3s ease-in-out;
}

/* .skill-card:hover {
    cursor: pointer;
    background-color: #c44eff;
    transform: translateY(-5px);
    transform: scale(1.03);
} */

.skill-card h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.skill-card p {
    font-size: 16px;
    /* line-height: 1px;
    opacity: 0.8; */
}

.skills-icons {
    height: auto;
    width: 50px;
}

/* ABOUT ME */


#aboutMe {
    padding: 60px;
    /* margin-top: 20px; */
    color: rgb(51, 3, 83);
}

#aboutMe > p {
    line-height: 1.3;
}


footer {
  padding: 20px;
  background-color: #3b0b72;
  color: white;
  width: 100%;
  text-align: center;
  margin-top: 60px;
  height: 60px;
}



/* Responsive */

@media print, screen and (max-width: 40em) {
    /* mobile code */

    .header, main {
        width: 100%;
    }

    .portfolio-container {
        justify-content: center;
        
    }

    .project-card {
        width: 90.0%;
        background-color: #c4c4c4;
    }

    .image {
        display: none;
    }

    #home-button {
        margin: 0 auto 0 auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


}