html {
    box-sizing: border-box;
    color: #ace7ef;
    background-color: #071a52;
}

*,
:after,
:before {
    box-sizing: inherit;
}

th a {
    color: #cefff1;
}

body {
    line-height: 1.7;
    max-width: 50rem;
    margin: 6rem auto;
    padding: 0 10px;
    word-wrap: break-word;
    color: #c9d1d9;
    color: var(--text-main);
    background: var(--background-body);
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 3rem 0 1.38rem;
    line-height: 1.3;
    font-family: 'Bebas Neue', cursive;
}

h1 {
    font-size: 2.488rem;
}

h2 {
    font-size: 2.074rem;
}

h3 {
    font-size: 1.728rem;
}

h4 {
    font-size: 1.44rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

small {
    font-size: 0.833rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    color: #e3e9f0;
    color: var(--text-bright);
}

a {
    text-decoration: none;
    color: #e3bc5e;
    color: var(--links);
}

a:hover {
    text-decoration: underline;
    color: #6fe7dd;
}
table {
    border-collapse: collapse;
    margin-bottom: 10px;
    width: fit-content;
    table-layout: fixed;
    overflow-x: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #BDBDBD;
}

td,
th {
    text-align: center;
}

td,
th {
    padding: 6px;
    vertical-align: top;
    word-wrap: break-word;
}

hr
{
    border: 1px solid #6fe7dd;
    box-shadow: 0px 4px 10px 0 #6fe7dd;;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    background: rgba(240, 246, 252, 0.15);
    border: 1px solid #30363d;
    color: #e3e9f0;
    padding: 5px 16px;
    border-radius: 6px;
}

button:hover {
    border-color: #8b949e;
    filter: brightness(115%);
}

/* Styling for topmost section including pics etc starts here */
#picOfMe {
    width: 30%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.myImg {
    text-align: center;
}

.hasButtons button {
    width: 48.5%;
    vertical-align: middle;
    font-size: larger;
}

@media screen and (max-width: 400px) {
    .hasButtons button {
        width: 112%;
        margin-top: 0;
        display: inline-block;
    }

    #picOfMe {
        width: 100%;
    }
}

/* Going to style for the skill sets so that it seems as if the card rotates to show description of the skills */

.cppSkills {
    background-color: transparent;
    width: 300px;
    height: 350px;
    perspective: 1000px;
}

.entireCard {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.cppSkills:hover .entireCard {
    transform: rotateY(180deg);
    /* rotates the box by 180 degrees */
}

.frontSide,
.backSide {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.frontSide {
    background-color: 00f;
}

.backSide {
    background-color: #3d84a8;
    color: #cefff1;
    transform: rotateY(180deg);
    overflow: scroll;
}

/* To center-align the list for description of skills */
ul.ulCenter {
    display: inline-block;
    text-align: left;
}

/* Styling for contact me form begins here */

body .entireForm {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color: white;
    background-color: rgba(240, 246, 252, 0.15);
    padding: 10px;
}

* {
    box-sizing: border-box;
}

input[type=text],
select,
textarea,
input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(240, 246, 252, 0.15);
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit],
input[type=reset] {
    background-color: rgba(240, 246, 252, 0.15);
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover,
input[type=reset]:hover {
    background-color: rgba(240, 246, 252, 0.15);
}

.mapHere,
.formSection {
    float: left;
    width: 50%;
    margin-top: 6px;
    padding: 20px;
}

input[type=submit] {
    float: left;
    width: 47%;
    display: inline;
}

input[type=reset] {
    float: right;
    width: 47%;
    display: inline;
}

img {
    max-width: 100%;
}

.mapHere {
    align-items: center;
    justify-content: center;
}

/* 
.box{
    border:2px solid black; 
    Just to check if it works
} */

#map {
    max-width: 100%;
}

.box:after {
    content: "";
    display: table;
    clear: both;
}

form input::placeholder {
    color: gainsboro;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

.mapHere,
.formSection {
    display: inline-block;
    padding: 1rem 1rem;
    vertical-align: middle;
}

@media screen and (max-width: 400px) {

    .mapHere,
    .formSection,
    input[type=submit],
    input[type=reset] {
        width: 100%;
        margin-top: 2px;
        display: inline-block;
    }

    .mapHere,
    .formSection {
        width: 100%;
        display: inline-block;
        text-align: center;
        height: 100%;
        vertical-align: middle;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}

/* Styling for education history starts here */

#educationHistory {
    padding: 10px;
}

.edu:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.eduTitle {
    font-size: 40px;
    text-align: center;
    font-family: 'Bebas Neue', cursive;
}

.edu,
.cppSkills {
    box-shadow: 4px 4px 10px 0 #6fe7dd;
    width: 48%;
    margin-left: 12px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    height: 600px;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 20px 20px 20px 20px;
    border-radius: 21px;
}

.icons 
{
    width: 32.33%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}


.cppSkills {
    height: 500px;
}

.level {
    color: grey;
    font-size: 18px;
}

.eduPic {
    width: 100%;
}

.holdsImage {
    height: 50%;
}

.holdsInfo {
    height: 50%;
}


@media screen and (max-width: 400px) {

    .edu,
    .cppSkills{
        width: 100%;
        display: inline-block;
        text-align: center;
        height: 600px;
        vertical-align: middle;
        margin-top: 6px;
        margin-bottom: 6px;
        margin-left: 0;
        border: 1px solid white;
    }
    
    .icons 
    {
        
        width: 100%;
        display: inline-block;
        text-align: center;
        vertical-align: middle;
    }
}

.colorChange,.ulCenter
{
    color: #ffffff;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

.contactIconLinks a
{
    color: #ffffff;
    text-align: center;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    display: inline-flex;
}