/* Reset css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    height: 180%;
    transition: all 0.25s ease;
    scroll-behavior: smooth;
}
main {
    height: 30%;
    border-bottom: #000000 1px solid;
}
.projects {
    margin-top: 94px;
}
/* root variables */
:root {
    --primary-color: #EC2040;
    --secondary-color: #273C8F;
    --tertiary-color: #0D222E;
    --quaternary-color: #05729B;
    --quinary-color: #3A2D79;
    --senary-color: #EF4323;
    --fd: #9D1E22;
    --dark-primary-color: #0D1438;
    --dark-secondary-color: #1e1b24a4;
    --white-color: #f8f8f8;
    --black-color: #000000;
    --font-light: 300;
    --font-normal: 400;
    --font-bold: 700;
    --xs-padding: 0.25rem;
    --main-padding: 20px;
    --border-bottom:#f5f6fa 1px solid;
}

@font-face {
    font-family: "hatton bold";
    src: url('hatton/PPHatton-Bold.otf');
}
@font-face {
    font-family: "hatton";
    src: url('hatton/PPHatton-Medium.otf');
}
@font-face {
    font-family: "hatton thin";
    src: url('hatton/PPHatton-Ultralight.otf');
}
.hatton-bold {
    font-family: "hatton bold";
    font-weight: 700;
    font-style: normal;
}
.hatton {
    font-family: "hatton";
    font-weight: 400;
    font-style: normal;
}
.hatton-thin {
    font-family: "hatton thin";
    font-weight: 300;
    font-style: normal;
}
.smaller-font{
    font-size: 2rem;
}

.night-mode-icons:hover {
    cursor: pointer;
}
.night-mode-icons img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
}
#sun {
    display: none;
}
#moon {
    display: block;
}

#copy {
    color: black;
}

/* ---------- HEADER ---------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-bottom: 1px solid var(--black-color);
    color: black;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--xs-padding);
    width: 30%
}
ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}
/* ---------- HEADER END ---------- */
/* ---------- MAIN STYLES --------- */

body {
    font-weight: var(--font-light);
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.dark {
    background-color: var(--black-color);
    color: var(--white-color);
}
.light {
    background-color: var(--white-color);
    color: var(--black-color);
}
section {
    padding: 30px 20px;
    border-bottom: var(--border-bottom);
}
.contact-icons img {
    height: 40px;width: 40px;
    transition: all 0.2s ease-in-out;
    margin: 0 10px;
}
.contact-icons img:hover {
    cursor: pointer;
    transform: scale(1.1);
}
.email a:hover {
    color: #D44638;
    cursor: pointer;
}
.contact-box {
    border: 1px solid rgb(13, 13, 13);
    border-radius: 50px;
    padding: 15px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 40%;
    margin-top: 50px;
}

form {
    padding: 30px 20px;
    margin: 0 auto;
}
.form-wrap h1 {
    margin: 0 auto;
}
.image-section {
    padding:  0px;
    height: 220px;
    background-image: url('img/mobile-bg.png');
    background-repeat: no-repeat;
    background-size: 460px;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blue {
    color: #00ADCC;
}

a {
    color: var(--black-color);
    text-decoration: none;
    
}

h1 {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    line-height: 50px;
}
h2 {
    font-size: 3rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    width: 150px;
    right: 30px;

    transition: all 0.2s ease-in-out;
}
button:hover {
    cursor: pointer;
    background-color: black;
    border: var(--border-bottom)

}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    height: 40px;
}
.red {
    color: var(--primary-color);
}

.futura-bold {
    font-family: "futura-pt-bold", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.futura-heavy {
    font-family: "futura-pt", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.futura {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.contact {
    padding: 30px 20px;
    padding-bottom: 0px;
    margin-top: 150px;
}

.portfolio h2 {
    text-align: center;
}

input, textarea {
    background-color: transparent;
    border: var(--border-bottom);
    border-radius: 12px;
    width: 100%;
    color: var(--white-color);
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    height: 40px;
    padding: 10px 10px;
    margin-top: 10px;
}
textarea{
    padding: 10px 10px;
    height: 120px;
}
.img {
    width: 100%;
    height: 230px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0px;
    transition: all 0.4s ease;
}
h3 {
    font-size: 1.2rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
    text-align: center;
    height: 30px;
}
.img:hover {
    background-size: 105%;
    cursor: pointer;
}
.img1{
    background-image: url('study-1/Thumb_1.png');
}
.img2 {
    background-image: url('study-2/Thumb_2.png');
}
.img3 {
    background-image: url('study-3/Thumb_3.png');
}
.img4 {
    background-image: url('study-4/Thumb_4.png');
}
.img5 {
    background-image: url('study-5/Thumb_5.png');
}
.img6 {
    background-image: url('study-6/Tumb_6.png');
}
#bottom-plant {
    display: none;
}

.portfolio {
    display: block;
    height: 1vh;
}

.submit {
    width: 30%;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}
.submit:hover {
    transition: all 0.2s ease-in-out;
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
}
.work {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 20px;
    margin-top: 50px;
    transition: all 0.4s ease;
}
.work div {
    background-color: rgb(235, 235, 235);
}
.work div:hover {
    cursor: pointer;
}
.flip-secrion {
    display: flex;
    flex-wrap: wrap;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    text-align: center;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    align-items: baseline;
    position: relative;
    margin-top: auto;
}

.mini-footer-nav {
    display: flex;
    gap: 1rem;
}


