/* General */

body {
    font-family: "Open Sans";
    background-color: initial;
    color: initial;
}

body.dark {
    background-color: #011020;
    color: #fff;
}

body.dark ul li span {
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'poppins', sans-serif;
    font-weight: bold;
}

li {
    padding-top: 10px;
}

.lightMainColor {
    background-color: #FFE1C6;
}


.darkMainColor {
    background-color: #02334d;
    color: #fff;
}


.whiteTextColor {
    color: #fff
}

.darkBgColor {
    color: #fff;
    background-color: #011020
}

.my-input {
    width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.my-input:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 5px #66afe9;
}

.my-select {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

.my-select:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 5px #66afe9;
}

.my-select option {
    padding: 10px;
}

.my-button {
    display: inline-block;
    height: px;
    padding: 10px 20px;
    margin-right: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    justify-content: left;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.my-button:hover {
    background-color: #86BBD8;
}

.my-button:active {
    background-color: #003d80;
}

/* Navbar */

nav {
    font-family: "poppins";
}

nav a {
    color: black;
}

.active {
    font-weight: 700;
}

nav a:hover {
    color: inherit;
    font-weight: 700;
}

.navBorder {
    border-bottom: 2px solid black
}

#iconContainer {
    display: flex;
    align-items: center;
}

.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -100%;
    padding: 0;
    margin: 0;
    background-color: #fff;
    list-style: none;
}

.dropdown .dropdown-menu li {
    padding: 10px;
    cursor: pointer;
    transition: 1s;
}

#dropdownMenu li a {
    text-decoration: none;
    color: inherit;
}

#dropdownMenu li a:hover {
    text-decoration: none;
    color: inherit;
}


.dropdown .dropdown-menu li:hover {
    background-color: #ccc;
}

li.disabled {
    color: gray;
    pointer-events: none;
}

#flag {
    background-color: transparent;
    border: none;
}

.active-link {
    font-weight: 800;
}

.navbar-toggler {
    background-color: white;
    border: 2px solid black;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s ease;
}

.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgb(255, 255, 255, 0.5);
}

/* Section 1 */

@keyframes fade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

#mission {
    animation: fade 3s infinite;
    animation-delay: 4.5s;
}

/* Section 2 */

@media (max-width: 768px) {
    #skills1 {
        text-align: center;
    }

    #skills2 {
        text-align: center;
    }
}

@media (min-width: 769px) {
    #skills1 {
        text-align: right;
    }

    #skills2 {
        text-align: left;
    }
}

.tab.titles {
    display: flex;
    margin: 30px 30px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #007bff;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 75%;
}

.tab-links:hover {
    font-weight: 600;
}

.tab-contents ul li {
    margin: auto;
    list-style: none;
}

.tab-contents ul li span {
    color: initial;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
    font-family: 'Raleway';
}

/* Section 3 */

.border2 {
    border: 2px solid #007bff;
    border-radius: 20px;
    padding: 10px;
    margin: 5px;
    height: 650px;
    min-width: 350px;
}

#mainSection3 h3 {
    padding: 15px 0px;
}

.border3 {
    border-top: 1px solid #007bff;
    border-radius: 4px;
    padding: 0 50px;
}

.layer {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #007bff);
    border-radius: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    transition: 0.5s;
}

.blocksOfOther:hover .layer {
    height: 0%;
}

/*contact */

#contactSection {
    padding-top: 50px;
    font-family: 'raleway';
}

#contactSection h5 {
    margin: 20px 0;
}

#contactSection a {
    padding: 10px;
}

label {
    display: flex;
    padding-top: 25px;
}

#contactSection button {
    margin: 20px 0;
}