*{
    padding: 0;
    margin: 0;
    font-family: sans-serif, 'Open Sans', 'Ubuntu';
    box-sizing: border-box;
}
body {
    background-color: black;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 20px;
    background-color: black;
    /*Sticky*/
    position: sticky;
    top: 0px;
    position: -webkit-sticky; /* Safari */
    z-index: 10;
    /*Opacity: */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}
nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 25px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}
.hero {
    height: 100vh;
    width: 100%;
    background-image: url(./img/I.jpg);
    background-size: cover;
    background-position: right;
}

.logo {
    color: white;
    font-size: 35;
    letter-spacing: 1px;
    cursor: default;
}
.red {
    color: #f9004d;
}

.content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}
h1 {
    color: white;
    margin: 20px 0px 20px;
    font-size: 100px;
}
h3 {
    color: white;
    font-size: 45px;
    margin-bottom: 50px;
}
h4 {
    color: white;
    letter-spacing: 2px;
    font-size: 20px;
}
.newsletter form {
    width: 380px;
    max-width: 100%;
    position: relative;
}
.newsletter form input:first-child {
    display: inline-block;
    width: 100%;
    padding: 14px 130px 14px 15px;
    border: 2px solid #f9004d;
    outline: none;
    border-radius: 30px;
}
.newsletter form input:last-child {
    position: absolute;
    display: inline-block;
    outline: none;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    background-color: #f9004d;
    color: white;
    box-shadow: 0px 0px 5px #000, 0px 0px 15px #858585;
    top: 6px;
    right: 6px;
}
.about {
    width: 100%;
    padding: 100px 0px;
    background-color: #202020;
}
.about img {
    height: auto;
    width: 430px;
}
.about-text {
    width: 550px; /*Dont know if this line has any effect*/
    margin-left: 30px;
}
.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.about-text h2 {
    color: white;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}
.about-text h5 {
    color: white;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
}
.about-text p {
    color: white;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
}
.button {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    /*transition: .4s;*/
}
.button:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
    /*transform: scale(1.2);*/
}

.title {padding: 20px;}
.title h2 {
    color: white;
    font-size: 75px;
    width: 1130;
    margin: auto;
    text-align: center;
}
#projects {
    width: 100%;
    padding-top: 40px;
}
/*This is for background image fade effect*/
#projects {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.7s ease-in-out, opacity 0.7s ease-in-out;
}
.box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
#additionalProjects {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.card .text {
    height: 270px;
}
.card {
    position: relative; /* Ensures the button is positioned relative to the card */
    height: 600px;
    width: 335px;
    padding: 20px 35px;
    background: #202020;
    border-radius: 20px;
    margin: 0px 15px 30px 15px;
    text-align: center;
    transition: .4s;
    cursor: pointer;
}
/*
.card .button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
*/


.card i{
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px;
    color: #f9004d;
}
.card img {
    width: 265px;
}
#projects .card {background: #202020;}
#degrees .card {background: black;}
h5 {
    color: white;
    font-size: 23px;
    margin-bottom: 15px;
}
.pra p{
    color: white;
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 25px;
}

#degrees-title {background: #202020;}
#degrees {
    padding: 40px 0px;
    background: #202020;
}


.contact {
    width: 100%;
    height: 290px;
    /*background: #202020;*/
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.contact p{
    color: white;
    font-size: 18px;
    padding: 25px;
}

footer{
    /*background-color: #202020;*/
    justify-content: center;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
footer p{
    color: white;
    font-size: 12px;
}
