@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Thai:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Noto Serif Thai', serif;
}

#page-1 {
    display: inline;
}

#page-2 {
    display: none;
}

#page-3 {
    display: none;
}

#page-4 {
    display: none;
}

#page-5 {
    display: none;
}

body {
    background-color: #353543;
}

img {
    width: 200%;
}

header {
    background-color: #2e2e42;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    margin: 0 auto;
}

.logo {
    width: 120px;
    margin-top: 2px;
}

nav .logo {
    display: none;
}

nav ul {
    display: flex;
}

nav ul li a {
    color: white;
    display: block;
    margin: 0 10px;
    padding: 8px 18px;
    transition: 0.2s;
    border-radius: 30px;
    font-size: 17px;
    font-weight: bold;
}

nav ul li a:hover {
    background: #675cff;
}

nav ul li a:focus {
    background: #675cff;
}

.hamburger {
    display: none;
    height: fit-content;
    cursor: pointer;

}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

@media only screen and (max-width: 1100px) {

    .dropdown a {
        color: white;
    }

    .dropdown {
        margin-left: 10px;
    }

    .fa-solid {
        color: black;
        margin-left: 5px;
    }

    header {
        width: 100%;
        padding: 0 20px;
    }

    nav {
        position: absolute;
        left: -300px;
        top: 0;
        z-index: 999;
        width: 280px;
        height: 100vh;
        background-color: white;
        transition: 0.2s;
        box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
    }

    #nav_check:checked~nav {
        left: 0;
    }

    nav .logo {
        display: block;
        height: 70px;
        display: flex;
        align-items: center;
        margin-left: 22px;
        padding-top: 50px;
    }

    nav ul {
        display: block;
        padding: 0 20px;
        margin-top: 50px;
        line-height: 20px;
    }

    nav ul li a {
        color: black;
        margin-bottom: 5px;
        padding: 15px;
        border-radius: 5px;
    }

    .hamburger {
        display: block;
    }

    .img {
        margin-left: 100px;
    }


    .dropdown {
        margin-top: -10px;
    }
}

.dropdown {
    position: absolute;
    display: block;
    background-color: #3e3e6f;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
}

.dropdown-link:hover .dropdown {
    color: white;
    opacity: 1;
    visibility: visible;
}

.fa-solid {
    margin-left: 5px;
}

/*----------------------------------------------------------------------------------------------------------------------*/

.home-1 {
    padding-top: 8px;
    margin-top: 20px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.home-1 img {
    width: 100%;
    height: 60%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    transition: 0.3s ease-in-out;
}

.home-1 img:hover {
    transform: scale(1.2);
}

.home-2 h1 {
    color: white;
    margin-top: 15px;
    text-align: center;
}

.home-2 span {
    color: rgb(245, 127, 24);
}

.home-2 {
    color: white;
    text-align: center;
}

.home-2 a {
    background: #212121;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    margin: 30px 0;
    border-radius: 5px;
}

.home-2 a:hover {
    color: red;
}

/*----------------------------------------------------------------Page2-------------------------------------------------------------------------*/

.content-page-2 {
    font-size: 21px;
}

.content2-page-2 {
    font-size: 21px;
    padding-bottom: 30px;
}

form b {
    color: rgb(245, 127, 24);
}

form {
    color: white;
    width: 50%;
    height: auto;
    margin: auto;
    margin-top: 2px;
    z-index: 10;
    position: relative;
}

form h1 {
    text-align: center;
    padding-top: 5px;
    text-decoration: underline;
}

/*------------------------------------------------------------Page3------------------------------------------------------------------------*/

.content-page-3 {
    padding-top: 20px;
    font-size: 20px;
}

.content-page-3 h3 {
    font-weight: bold;
    font-size: 24px;
    text-decoration: underline;
}

.content-page-4 {
    padding-top: 35px;
}

.content-page-5 {
    padding-top: 35px;
    padding-bottom: 30px;
}

.form-page-3 a {
    font-weight: bold;
    color: rgb(245, 127, 24);
}

/*---------------------------------------------------------------Page4-------------------------------------------------------------*/

.form-page-4 {
    padding-bottom: 100px;
    padding-top: 100px;
}

.content-page-6 {
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}

.content-page-6 span {
    color: rgb(245, 127, 24);
}

/*---------------------------------------------------------------Page5--------------------------------------------------------------*/

/*
    Auther: Abdelrhman Said
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus,
*:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.wrapper {
    margin-top: 247px !important;
    padding: 50px;
    text-align: center;
}

.wrapper .icon {
    position: relative;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    display: inline-block;
    align-items: center;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #333;
    text-decoration: none;
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    line-height: 1.5;
    font-size: 14px;
    background-color: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background-color: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
    background-color: #3b5999;
    color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
    background-color: #46c1f6;
    color: #ffffff;
}

.wrapper .line:hover,
.wrapper .line:hover .tooltip,
.wrapper .line:hover .tooltip::before {
    background-color: rgb(42, 214, 42);
    color: #ffffff;
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
    background-color: #333333;
    color: #ffffff;
}

.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
    background-color: #e31c0e;
    color: #ffffff;
}

.credit span:before {
    font-family: FontAwesome;
    color: #e41b17;
    content: "\f004";


}

.credit a {
    color: white;
    text-decoration: none;
}

.credit a:hover {
    color: #1DBF73;
}

.credit a:hover:after {
    font-family: FontAwesome;
    content: "\f08e";
    font-size: 9pt;
    position: absolute;
    margin: 3px;
}
.credit{
    background:#2e2e42;
    padding: 12px;
    font-size: 9pt;
    text-align: center;
    color: white;
    margin-top: 290px;
}
